Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 104 kB / 17.32 MB, free: 5.988 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.001809/0.001809, allocations: 193.3 kB / 18.25 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 241.9 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2494/0.2494, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 58.78 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1315, allocations: 60.84 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02816/0.1597, allocations: 29.7 MB / 498.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.177, allocations: 6.652 MB / 0.4932 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005694/0.1827, allocations: 123.7 kB / 0.4934 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.1857, allocations: 1.231 MB / 0.4946 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003851/0.1896, allocations: 1.651 MB / 0.4962 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.1906, allocations: 403.4 kB / 0.4966 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00411/0.1947, allocations: 3.579 MB / 0.5 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.197, allocations: 2.103 MB / 0.5021 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2323/0.4293, allocations: 1.205 MB / 0.5033 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005681/0.4351, allocations: 1.908 MB / 0.5051 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.4365, allocations: 239.3 kB / 0.5054 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.4392, allocations: 0.8478 MB / 0.5062 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002309/0.4416, allocations: 1.614 MB / 0.5078 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003725/0.4453, allocations: 1.905 MB / 0.5096 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.4558, allocations: 5.884 MB / 0.5154 GB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.4558, allocations: 3.797 kB / 0.5154 GB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.349e-06/0.4558, allocations: 0 / 0.5154 GB, free: 11.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002671/0.4561, allocations: 3.938 kB / 0.5154 GB, free: 11.06 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01287/0.469, allocations: 4.062 MB / 0.5194 GB, free: 9.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.4691, allocations: 12.91 kB / 0.5194 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.4803, allocations: 3.07 MB / 0.5224 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005272/0.4856, allocations: 1.912 MB / 0.5242 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.4858, allocations: 189.4 kB / 0.5244 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009265/0.4867, allocations: 247.5 kB / 0.5247 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.5034, allocations: 10.18 MB / 0.5346 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.622e-05/0.5035, allocations: 22.16 kB / 0.5346 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003932/0.504, allocations: 118.1 kB / 0.5347 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00362/0.5076, allocations: 2.468 MB / 0.5371 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01949/0.5271, allocations: 9.358 MB / 0.5463 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05029/0.5774, allocations: 31.66 MB / 0.5772 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006261/0.5837, allocations: 3.351 MB / 0.5805 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.5854, allocations: 1.072 MB / 0.5815 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.5867, allocations: 1.307 MB / 0.5828 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.5868, allocations: 47.88 kB / 0.5828 GB, free: 4.105 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 5.4e-06/0.5868, allocations: 0 / 0.5828 GB, free: 4.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.02094/0.6077, allocations: 9.105 MB / 0.5917 GB, free: 10.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.6078, allocations: 68.72 kB / 0.5918 GB, free: 10.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004174/0.612, allocations: 2.607 MB / 0.5943 GB, free: 8.223 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.6122, allocations: 51.89 kB / 0.5944 GB, free: 8.168 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001942/0.6142, allocations: 2.671 MB / 0.597 GB, free: 5.492 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008585/0.6151, allocations: 0.7 MB / 0.5977 GB, free: 4.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.6165, allocations: 0.9673 MB / 0.5986 GB, free: 3.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6166, allocations: 305.1 kB / 0.5989 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/0.6192, allocations: 1.552 MB / 0.6004 GB, free: 1.961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005107/0.6243, allocations: 4.381 MB / 0.6047 GB, free: 12.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008369/0.6327, allocations: 6.566 MB / 0.6111 GB, free: 4.668 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.787e-05/0.6328, allocations: 32 kB / 0.6112 GB, free: 4.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01135/0.6442, allocations: 5.852 MB / 0.6169 GB, free: 15.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/0.6443, allocations: 54.44 kB / 0.6169 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/0.6444, allocations: 100.2 kB / 0.617 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/0.6448, allocations: 184.9 kB / 0.6172 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/0.6479, allocations: 1.062 MB / 0.6182 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.6496, allocations: 1.804 MB / 0.62 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/0.653, allocations: 210.6 kB / 0.6202 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004694/0.6534, allocations: 296 kB / 0.6205 GB, free: 11.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 589 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004253/0.6577, allocations: 1.99 MB / 0.6224 GB, free: 9.789 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005082/0.6582, allocations: 240.8 kB / 0.6226 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.662, allocations: 2.543 MB / 0.6251 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/0.6621, allocations: 20 kB / 0.6251 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6621, allocations: 7.375 kB / 0.6252 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.6621, allocations: 7.969 kB / 0.6252 GB, free: 6.957 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.6757, allocations: 7.96 MB / 0.6329 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/0.6758, allocations: 12 kB / 0.6329 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009926/0.6768, allocations: 246.6 kB / 0.6332 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001727/0.6769, allocations: 57.36 kB / 0.6332 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.6771, allocations: 43.94 kB / 0.6333 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.6784, allocations: 1.625 MB / 0.6349 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.6785, allocations: 15.94 kB / 0.6349 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/0.6836, allocations: 4.015 MB / 0.6388 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008529/0.6845, allocations: 301.8 kB / 0.6391 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.6848, allocations: 39.98 kB / 0.6391 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007631/0.6856, allocations: 59 kB / 0.6392 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.6858, allocations: 120.7 kB / 0.6393 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.6859, allocations: 67.91 kB / 0.6394 GB, free: 8.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002571/0.6885, allocations: 1.607 MB / 0.6409 GB, free: 6.414 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6885, allocations: 4 kB / 0.6409 GB, free: 6.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00452/0.693, allocations: 0.8031 MB / 0.6417 GB, free: 5.609 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.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 (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004694/0.6935, allocations: 176.3 kB / 0.6419 GB, free: 5.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009006/0.7025, allocations: 5.494 MB / 0.6473 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.7026, allocations: 0 / 0.6473 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/0.7044, allocations: 1.245 MB / 0.6485 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.7068, allocations: 344.2 kB / 0.6488 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/0.724, allocations: 10.52 MB / 0.6591 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003382/0.7274, allocations: 3.13 MB / 0.6621 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003916/0.7314, allocations: 1.702 MB / 0.6638 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/0.7319, allocations: 187.4 kB / 0.664 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of SimCode: time 3.126e-06/0.7319, allocations: 0 / 0.664 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.05152/0.7834, allocations: 23.09 MB / 0.6865 GB, free: 7.73 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches