Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007813/0.0007812, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009362/0.0009362, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 63.55 MB / 483.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02886/0.1527, allocations: 28.59 MB / 0.4997 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.1692, allocations: 6.633 MB / 0.5061 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005013/0.1742, allocations: 119.8 kB / 0.5063 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.1754, allocations: 438.1 kB / 0.5067 GB, free: 276 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2503/0.4257, allocations: 1.62 MB / 0.5083 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.4272, allocations: 384.9 kB / 0.5086 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008573/0.4358, allocations: 5.016 MB / 0.5135 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004939/0.4407, allocations: 2.419 MB / 0.5159 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.4433, allocations: 0.9565 MB / 0.5168 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.4469, allocations: 1.723 MB / 0.5185 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007006/0.4476, allocations: 133.7 kB / 0.5186 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.4498, allocations: 0.7457 MB / 0.5194 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001578/0.4514, allocations: 1.481 MB / 0.5208 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.4533, allocations: 1.776 MB / 0.5225 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00641/0.4598, allocations: 5.593 MB / 0.528 GB, free: 6.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4598, allocations: 0 / 0.528 GB, free: 6.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4598, allocations: 0 / 0.528 GB, free: 6.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001772/0.46, allocations: 0 / 0.528 GB, free: 6.543 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.008132/0.4681, allocations: 3.283 MB / 0.5312 GB, free: 4.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.4682, allocations: 10.47 kB / 0.5312 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.4789, allocations: 3.167 MB / 0.5343 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/0.4839, allocations: 1.884 MB / 0.5362 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.4842, allocations: 193 kB / 0.5363 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009088/0.4851, allocations: 242.1 kB / 0.5366 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.5048, allocations: 10.2 MB / 0.5465 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-05/0.5049, allocations: 29.22 kB / 0.5465 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003867/0.5053, allocations: 115.3 kB / 0.5467 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00433/0.5096, allocations: 2.465 MB / 0.5491 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/0.5308, allocations: 9.355 MB / 0.5582 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05508/0.586, allocations: 31.7 MB / 0.5892 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006687/0.5927, allocations: 3.345 MB / 0.5924 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.5946, allocations: 1.077 MB / 0.5935 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.5959, allocations: 1.301 MB / 0.5948 GB, free: 7.992 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.596, allocations: 43.88 kB / 0.5948 GB, free: 7.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 5.26e-06/0.596, allocations: 0 / 0.5948 GB, free: 7.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.0227/0.6187, allocations: 9.119 MB / 0.6037 GB, free: 14.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.6188, allocations: 64.72 kB / 0.6038 GB, free: 14.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004266/0.6231, allocations: 2.606 MB / 0.6063 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.6232, allocations: 45.7 kB / 0.6063 GB, free: 11.99 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00179/0.625, allocations: 2.665 MB / 0.6089 GB, free: 9.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007383/0.6258, allocations: 0.7021 MB / 0.6096 GB, free: 8.625 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005358/0.6263, allocations: 432.8 kB / 0.61 GB, free: 8.195 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6264, allocations: 305.1 kB / 0.6103 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/0.6288, allocations: 1.555 MB / 0.6119 GB, free: 6.332 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/0.6333, allocations: 4.386 MB / 0.6161 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0085/0.6419, allocations: 6.568 MB / 0.6226 GB, free: 8.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.555e-05/0.642, allocations: 28 kB / 0.6226 GB, free: 8.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01067/0.6527, allocations: 5.851 MB / 0.6283 GB, free: 2.953 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/0.6528, allocations: 58.66 kB / 0.6284 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/0.6529, allocations: 100 kB / 0.6284 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/0.6532, allocations: 172.8 kB / 0.6286 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/0.6565, allocations: 1.072 MB / 0.6297 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.6581, allocations: 1.683 MB / 0.6313 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/0.6614, allocations: 211.9 kB / 0.6315 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000469/0.6619, allocations: 294.8 kB / 0.6318 GB, free: 15.25 MB / 494.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.004167/0.666, allocations: 1.996 MB / 0.6337 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/0.6665, allocations: 240.8 kB / 0.634 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.6707, allocations: 2.524 MB / 0.6364 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/0.6707, allocations: 27.52 kB / 0.6365 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.6708, allocations: 7.938 kB / 0.6365 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.6708, allocations: 7.969 kB / 0.6365 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.6852, allocations: 7.963 MB / 0.6442 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.6852, allocations: 15.98 kB / 0.6443 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/0.6862, allocations: 243.6 kB / 0.6445 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/0.6864, allocations: 56.83 kB / 0.6445 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.455e-05/0.6865, allocations: 36 kB / 0.6446 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.6878, allocations: 1.511 MB / 0.6461 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.6879, allocations: 11.94 kB / 0.6461 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005313/0.6932, allocations: 4.019 MB / 0.65 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007566/0.694, allocations: 309.7 kB / 0.6503 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.6942, allocations: 32 kB / 0.6503 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007884/0.695, allocations: 64.02 kB / 0.6504 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.6952, allocations: 112.6 kB / 0.6505 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.6954, allocations: 70.88 kB / 0.6506 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00253/0.6979, allocations: 1.599 MB / 0.6521 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6979, allocations: 0 / 0.6521 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004634/0.7025, allocations: 0.7756 MB / 0.6529 GB, free: 9.148 MB / 0.4981 GB 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.0004915/0.7031, allocations: 186.4 kB / 0.6531 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006417/0.7095, allocations: 3.838 MB / 0.6568 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.7095, allocations: 8.062 kB / 0.6568 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.7113, allocations: 1.233 MB / 0.658 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005347/0.7166, allocations: 335.1 kB / 0.6583 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02244/0.7391, allocations: 10.58 MB / 0.6687 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004964/0.7441, allocations: 3.13 MB / 0.6717 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00413/0.7483, allocations: 1.714 MB / 0.6734 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/0.7488, allocations: 187.4 kB / 0.6736 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of SimCode: time 7.92e-07/0.7488, allocations: 4 kB / 0.6736 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of Templates: time 0.05037/0.7992, allocations: 22.03 MB / 0.6951 GB, free: 13.87 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches