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.001694/0.001694, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001889/0.001888, allocations: 187 kB / 19.34 MB, free: 3.641 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.348/1.348, allocations: 222.9 MB / 243 MB, free: 15.14 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.2551/0.2551, allocations: 44.17 MB / 337.4 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.06 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.122, allocations: 60.82 MB / 470.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01237/0.1344, allocations: 12.3 MB / 483 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00716/0.1416, allocations: 3.855 MB / 486.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.1428, allocations: 63.88 kB / 486.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.1451, allocations: 1.312 MB / 488.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.1482, allocations: 1.758 MB / 490 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/0.1491, allocations: 427.2 kB / 490.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003749/0.1529, allocations: 3.578 MB / 494 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.1549, allocations: 2.009 MB / 496 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.1563, allocations: 1.203 MB / 497.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.1583, allocations: 1.748 MB / 499 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004498/0.1587, allocations: 236 kB / 499.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.1603, allocations: 0.8424 MB / 0.4883 GB, free: 232 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.1616, allocations: 1.582 MB / 0.4898 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.1633, allocations: 1.894 MB / 0.4917 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005563/0.1688, allocations: 6.141 MB / 0.4977 GB, free: 6.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1689, allocations: 0 / 0.4977 GB, free: 6.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1689, allocations: 0 / 0.4977 GB, free: 6.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001026/0.169, allocations: 0 / 0.4977 GB, free: 6.57 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.006691/0.1757, allocations: 4.058 MB / 0.5017 GB, free: 2.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1757, allocations: 12.03 kB / 0.5017 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2621/0.4378, allocations: 3.068 MB / 0.5047 GB, free: 46.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005516/0.4434, allocations: 1.927 MB / 0.5065 GB, free: 45.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.4435, allocations: 187.8 kB / 0.5067 GB, free: 45.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006299/0.4442, allocations: 252.7 kB / 0.507 GB, free: 45.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/0.4604, allocations: 10.18 MB / 0.5169 GB, free: 41.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.152e-05/0.4605, allocations: 22.97 kB / 0.5169 GB, free: 41.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003326/0.4608, allocations: 125.1 kB / 0.5171 GB, free: 41.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003591/0.4644, allocations: 2.469 MB / 0.5195 GB, free: 41.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/0.4798, allocations: 9.349 MB / 0.5286 GB, free: 34.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03727/0.5171, allocations: 31.45 MB / 0.5593 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004827/0.522, allocations: 3.346 MB / 0.5626 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.5234, allocations: 1.072 MB / 0.5636 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.5248, allocations: 1.309 MB / 0.5649 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.5248, allocations: 43.88 kB / 0.5649 GB, free: 12.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 4.559e-06/0.5248, allocations: 0 / 0.5649 GB, free: 12.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=191): time 0.019/0.5438, allocations: 9.103 MB / 0.5738 GB, free: 3.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.5439, allocations: 64.72 kB / 0.5739 GB, free: 3.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003345/0.5472, allocations: 2.611 MB / 0.5764 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-05/0.5473, allocations: 45.7 kB / 0.5765 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.5491, allocations: 2.666 MB / 0.5791 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005721/0.5496, allocations: 0.7093 MB / 0.5798 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/0.5508, allocations: 0.9646 MB / 0.5807 GB, free: 12.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.5509, allocations: 301.1 kB / 0.581 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/0.5532, allocations: 1.555 MB / 0.5825 GB, free: 10.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00449/0.5577, allocations: 4.383 MB / 0.5868 GB, free: 4.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007306/0.565, allocations: 6.571 MB / 0.5932 GB, free: 12.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.495e-05/0.5651, allocations: 28 kB / 0.5933 GB, free: 12.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.008875/0.574, allocations: 5.855 MB / 0.599 GB, free: 6.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.574, allocations: 48 kB / 0.599 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/0.5742, allocations: 100 kB / 0.5991 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003066/0.5745, allocations: 172.8 kB / 0.5993 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/0.5775, allocations: 1.077 MB / 0.6003 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.5792, allocations: 1.803 MB / 0.6021 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.5818, allocations: 211.9 kB / 0.6023 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/0.5821, allocations: 292 kB / 0.6026 GB, free: 2.797 MB / 430.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.003142/0.5853, allocations: 1.985 MB / 0.6045 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/0.5856, allocations: 248.7 kB / 0.6048 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/0.5893, allocations: 2.53 MB / 0.6072 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/0.5893, allocations: 23.94 kB / 0.6072 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.5893, allocations: 0 / 0.6072 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.5893, allocations: 11.97 kB / 0.6073 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.6009, allocations: 7.929 MB / 0.615 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.6009, allocations: 8 kB / 0.615 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009769/0.6019, allocations: 263.9 kB / 0.6153 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.6021, allocations: 60.83 kB / 0.6153 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-05/0.6022, allocations: 39.98 kB / 0.6154 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.6036, allocations: 1.625 MB / 0.6169 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.701e-05/0.6036, allocations: 15.94 kB / 0.617 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005381/0.609, allocations: 4.011 MB / 0.6209 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007674/0.6098, allocations: 301.8 kB / 0.6212 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/0.6101, allocations: 36 kB / 0.6212 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/0.6108, allocations: 55.86 kB / 0.6212 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.611, allocations: 120.7 kB / 0.6214 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.6111, allocations: 68.17 kB / 0.6214 GB, free: 14.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002232/0.6134, allocations: 1.607 MB / 0.623 GB, free: 13.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6134, allocations: 0 / 0.623 GB, free: 13.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003624/0.617, allocations: 0.7952 MB / 0.6238 GB, free: 12.54 MB / 462.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.0003908/0.6174, allocations: 184.1 kB / 0.624 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005408/0.6228, allocations: 3.883 MB / 0.6277 GB, free: 8.488 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6228, allocations: 0 / 0.6277 GB, free: 8.488 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.6244, allocations: 1.244 MB / 0.629 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.626, allocations: 346.6 kB / 0.6293 GB, free: 6.902 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.6389, allocations: 8.41 MB / 0.6375 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/0.6424, allocations: 3.137 MB / 0.6406 GB, free: 11.17 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003272/0.6456, allocations: 1.703 MB / 0.6422 GB, free: 9.465 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/0.6461, allocations: 187.4 kB / 0.6424 GB, free: 9.281 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6461, allocations: 0 / 0.6424 GB, free: 9.281 MB / 478.1 MB Notification: Performance of Templates: time 0.04254/0.6887, allocations: 19.34 MB / 0.6613 GB, free: 6.027 MB / 494.1 MB 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/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