Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 110.1 kB / 16.64 MB, free: 6.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001706, allocations: 193.9 kB / 17.56 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2135/0.2135, allocations: 43.51 MB / 314.3 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 72.62 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 57.79 MB / 440.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003515/0.1057, allocations: 3.005 MB / 443.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1071, allocations: 0.7721 MB / 444.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.1074, allocations: 4 kB / 444.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.1077, allocations: 39.62 kB / 444.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.108, allocations: 91.31 kB / 444.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.1084, allocations: 99.89 kB / 444.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004629/0.1088, allocations: 470.6 kB / 445.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.1091, allocations: 155.9 kB / 445.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.1094, allocations: 183.3 kB / 445.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.1096, allocations: 215 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.1097, allocations: 40 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.31e-05/0.1098, allocations: 36 kB / 445.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.1098, allocations: 87.73 kB / 445.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.11, allocations: 206.9 kB / 446 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1103, allocations: 355 kB / 446.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1103, allocations: 0 / 446.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1103, allocations: 0 / 446.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.1103, allocations: 4 kB / 446.4 MB, free: 1.602 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001267/0.1116, allocations: 0.6981 MB / 447.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1116, allocations: 15.89 kB / 447.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.698e-05/0.1117, allocations: 44.38 kB / 447.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.112, allocations: 287.1 kB / 447.4 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.112, allocations: 29.38 kB / 447.5 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.1121, allocations: 36.38 kB / 447.5 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.1126, allocations: 350.8 kB / 447.8 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1127, allocations: 7.922 kB / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.1127, allocations: 19.94 kB / 447.9 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1127, allocations: 8 kB / 447.9 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006402/0.1134, allocations: 299.9 kB / 448.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.1156, allocations: 1.333 MB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.1161, allocations: 284.8 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.1164, allocations: 157.4 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.1164, allocations: 8.266 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1164, allocations: 38.84 kB / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.1164, allocations: 0 / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008044/0.1173, allocations: 382.3 kB / 450.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1173, allocations: 55.41 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.1176, allocations: 274.5 kB / 450.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.1176, allocations: 29.7 kB / 450.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1178, allocations: 200 kB / 450.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.197e-05/0.1179, allocations: 114.3 kB / 451 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.118, allocations: 74.03 kB / 451.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1181, allocations: 342.8 kB / 451.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.1184, allocations: 104.8 kB / 451.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.1187, allocations: 175.5 kB / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.1192, allocations: 296.6 kB / 452 MB, free: 11.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1192, allocations: 4 kB / 452 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006655/0.1199, allocations: 373.8 kB / 452.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1199, allocations: 4.625 kB / 452.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1199, allocations: 4 kB / 452.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.12, allocations: 8.219 kB / 452.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.1205, allocations: 99.86 kB / 452.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1205, allocations: 4 kB / 452.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.1208, allocations: 39.58 kB / 452.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.1208, allocations: 16 kB / 452.5 MB, free: 11.16 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.121, allocations: 153.7 kB / 452.7 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.1211, allocations: 27.7 kB / 452.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006536/0.1217, allocations: 328.4 kB / 453 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1217, allocations: 0 / 453 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1218, allocations: 4 kB / 453 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1218, allocations: 0 / 453 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.1223, allocations: 409 kB / 453.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1223, allocations: 0 / 453.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.1227, allocations: 83.88 kB / 453.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1227, allocations: 4 kB / 453.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.1227, allocations: 8 kB / 453.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1228, allocations: 0 / 453.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1228, allocations: 4 kB / 453.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.1236, allocations: 0.5183 MB / 454 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.1238, allocations: 128.7 kB / 454.2 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.1238, allocations: 8.062 kB / 454.2 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.124, allocations: 15.98 kB / 454.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.1241, allocations: 19.97 kB / 454.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.1242, allocations: 11.98 kB / 454.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.1244, allocations: 194 kB / 454.4 MB, free: 9.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1244, allocations: 0 / 454.4 MB, free: 9.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.1247, allocations: 87.84 kB / 454.5 MB, free: 9.082 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001352/0.1249, allocations: 103.2 kB / 454.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006956/0.1256, allocations: 295.5 kB / 454.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1256, allocations: 0 / 454.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.1259, allocations: 131.8 kB / 455 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.1263, allocations: 40.34 kB / 455 MB, free: 8.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.128, allocations: 0.9297 MB / 456 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1284, allocations: 0.7835 MB / 456.8 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.1285, allocations: 31.42 kB / 456.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1285, allocations: 0 / 456.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of Templates: time 0.006786/0.1353, allocations: 3.875 MB / 460.7 MB, free: 2.848 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches