Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 194.4 kB / 16.09 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.5 MB / 243.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008286/0.0008286, allocations: 101.1 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3153/0.3153, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002987, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3161, allocations: 62.96 MB / 0.5159 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01826/0.3344, allocations: 26.82 MB / 0.5421 GB, free: 17.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.346, allocations: 6.35 MB / 0.5483 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003962/0.35, allocations: 117.7 kB / 0.5484 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.3531, allocations: 1.283 MB / 0.5496 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009653/0.3627, allocations: 3.998 MB / 0.5535 GB, free: 11.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.3645, allocations: 386 kB / 0.5539 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006395/0.3709, allocations: 3.969 MB / 0.5578 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005396/0.3764, allocations: 2.365 MB / 0.5601 GB, free: 9.109 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/0.3803, allocations: 1.024 MB / 0.5611 GB, free: 8.602 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.384, allocations: 1.694 MB / 0.5627 GB, free: 7.758 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.3852, allocations: 134.2 kB / 0.5629 GB, free: 7.758 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.3879, allocations: 0.743 MB / 0.5636 GB, free: 7.418 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002413/0.3903, allocations: 1.461 MB / 0.565 GB, free: 6.637 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003326/0.3937, allocations: 1.692 MB / 0.5667 GB, free: 5.266 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005486/0.3992, allocations: 4.631 MB / 0.5712 GB, free: 0.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3993, allocations: 0 / 0.5712 GB, free: 0.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.3993, allocations: 0 / 0.5712 GB, free: 0.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002166/0.3995, allocations: 0 / 0.5712 GB, free: 0.625 MB / 378.7 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.006595/0.4061, allocations: 3.324 MB / 0.5744 GB, free: 13.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.4062, allocations: 8.031 kB / 0.5745 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.4164, allocations: 3.162 MB / 0.5775 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/0.4204, allocations: 1.897 MB / 0.5794 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.4206, allocations: 185 kB / 0.5796 GB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008422/0.4214, allocations: 251.8 kB / 0.5798 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.4371, allocations: 10.17 MB / 0.5897 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.679e-05/0.4373, allocations: 31.66 kB / 0.5898 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003831/0.4377, allocations: 119.8 kB / 0.5899 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003653/0.4413, allocations: 2.46 MB / 0.5923 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/0.4595, allocations: 9.314 MB / 0.6014 GB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04286/0.5024, allocations: 31.7 MB / 0.6323 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005413/0.5078, allocations: 3.337 MB / 0.6356 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.5093, allocations: 1.07 MB / 0.6366 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.5103, allocations: 1.299 MB / 0.6379 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.5104, allocations: 51.88 kB / 0.638 GB, free: 10.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 5.871e-06/0.5104, allocations: 4 kB / 0.638 GB, free: 10.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.0181/0.5285, allocations: 9.076 MB / 0.6468 GB, free: 1.227 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.5286, allocations: 68.72 kB / 0.6469 GB, free: 1.145 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.5318, allocations: 2.591 MB / 0.6494 GB, free: 14.53 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.5319, allocations: 45.7 kB / 0.6495 GB, free: 14.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001546/0.5335, allocations: 2.678 MB / 0.6521 GB, free: 11.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006182/0.5341, allocations: 0.6939 MB / 0.6528 GB, free: 11.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.5343, allocations: 96 kB / 0.6529 GB, free: 10.96 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002983/0.5346, allocations: 0.5166 MB / 0.6534 GB, free: 10.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.5369, allocations: 1.532 MB / 0.6549 GB, free: 8.902 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/0.5406, allocations: 4.364 MB / 0.6591 GB, free: 3.133 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0069/0.5475, allocations: 6.544 MB / 0.6655 GB, free: 11.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.141e-05/0.5476, allocations: 28 kB / 0.6655 GB, free: 11.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01098/0.5586, allocations: 5.819 MB / 0.6712 GB, free: 5.328 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.861e-05/0.5587, allocations: 48 kB / 0.6713 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/0.5589, allocations: 104 kB / 0.6714 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003907/0.5593, allocations: 169.5 kB / 0.6715 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/0.5627, allocations: 1.072 MB / 0.6726 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.5642, allocations: 1.671 MB / 0.6742 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.5673, allocations: 227.8 kB / 0.6744 GB, free: 1.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006407/0.5679, allocations: 288.2 kB / 0.6747 GB, free: 1.629 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2477/0.8156, allocations: 1.997 MB / 0.6766 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/0.8163, allocations: 242.6 kB / 0.6769 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004616/0.8209, allocations: 2.523 MB / 0.6793 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-05/0.821, allocations: 21.16 kB / 0.6794 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.821, allocations: 5.188 kB / 0.6794 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.821, allocations: 6.422 kB / 0.6794 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.832, allocations: 7.953 MB / 0.6871 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.8321, allocations: 8.594 kB / 0.6871 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/0.8329, allocations: 248.8 kB / 0.6874 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.8331, allocations: 56.55 kB / 0.6874 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/0.8332, allocations: 42.53 kB / 0.6875 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000957/0.8341, allocations: 1.508 MB / 0.689 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/0.8342, allocations: 15.56 kB / 0.689 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/0.8384, allocations: 3.996 MB / 0.6929 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/0.839, allocations: 298.2 kB / 0.6932 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.8392, allocations: 46.86 kB / 0.6932 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.8399, allocations: 53.7 kB / 0.6932 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.8401, allocations: 117.9 kB / 0.6934 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.8402, allocations: 72.08 kB / 0.6934 GB, free: 118.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002191/0.8424, allocations: 1.579 MB / 0.695 GB, free: 118.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8424, allocations: 0 / 0.695 GB, free: 118.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003719/0.8461, allocations: 0.7957 MB / 0.6958 GB, free: 118.1 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004248/0.8466, allocations: 176.2 kB / 0.6959 GB, free: 118 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006336/0.8529, allocations: 3.824 MB / 0.6997 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.853, allocations: 1.375 kB / 0.6997 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.8548, allocations: 1.237 MB / 0.7009 GB, free: 116.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004757/0.8596, allocations: 331.2 kB / 0.7012 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.8773, allocations: 10.63 MB / 0.7116 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00368/0.881, allocations: 3.133 MB / 0.7146 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007843/0.8818, allocations: 228.6 kB / 0.7148 GB, free: 109.2 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.8818, allocations: 0 / 0.7148 GB, free: 109.2 MB / 490.7 MB Notification: Performance of Templates: time 0.06851/0.9503, allocations: 64.22 MB / 0.7776 GB, free: 53.28 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches