Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001784/0.001784, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002407/0.002407, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.651/1.651, allocations: 230.2 MB / 257.8 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2451/0.2451, allocations: 46.88 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 84.11 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3294, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01262/0.342, allocations: 9.598 MB / 0.5706 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00696/0.349, allocations: 2.954 MB / 0.5734 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.3507, allocations: 51.88 kB / 0.5735 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004248/0.355, allocations: 2.033 MB / 0.5755 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.358, allocations: 1.125 MB / 0.5766 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.3588, allocations: 287.4 kB / 0.5769 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003459/0.3623, allocations: 2.33 MB / 0.5791 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.3648, allocations: 1.625 MB / 0.5807 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.3667, allocations: 0.8761 MB / 0.5816 GB, free: 56 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.3688, allocations: 1.254 MB / 0.5828 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005611/0.3694, allocations: 196 kB / 0.583 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.3709, allocations: 0.7216 MB / 0.5837 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.3724, allocations: 1.145 MB / 0.5848 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.3743, allocations: 1.301 MB / 0.5861 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005452/0.3798, allocations: 4.33 MB / 0.5903 GB, free: 7.078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3798, allocations: 4 kB / 0.5903 GB, free: 7.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3798, allocations: 3.938 kB / 0.5903 GB, free: 7.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001471/0.3799, allocations: 4 kB / 0.5903 GB, free: 7.066 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.006334/0.3863, allocations: 2.93 MB / 0.5932 GB, free: 4.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3863, allocations: 12.03 kB / 0.5932 GB, free: 4.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005289/0.3916, allocations: 1.586 MB / 0.5947 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/0.3947, allocations: 1.336 MB / 0.596 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.3949, allocations: 144 kB / 0.5962 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003531/0.3952, allocations: 191.8 kB / 0.5964 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009926/0.4051, allocations: 6.246 MB / 0.6025 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.4052, allocations: 11.88 kB / 0.6025 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.4054, allocations: 91.89 kB / 0.6026 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/0.4076, allocations: 1.34 MB / 0.6039 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.418, allocations: 5.334 MB / 0.6091 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02945/0.4475, allocations: 20.04 MB / 0.6286 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.4519, allocations: 2.009 MB / 0.6306 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009624/0.4528, allocations: 0.6432 MB / 0.6312 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006797/0.4596, allocations: 3.496 MB / 0.6346 GB, free: 8.402 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.4597, allocations: 35 kB / 0.6347 GB, free: 8.359 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.837e-06/0.4597, allocations: 0 / 0.6347 GB, free: 8.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005525/0.4652, allocations: 1.99 MB / 0.6366 GB, free: 6.359 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.4653, allocations: 55.84 kB / 0.6367 GB, free: 6.293 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.4682, allocations: 1.942 MB / 0.6386 GB, free: 4.348 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.4683, allocations: 33.7 kB / 0.6386 GB, free: 4.309 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.4697, allocations: 1.907 MB / 0.6405 GB, free: 2.379 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.47, allocations: 333.5 kB / 0.6408 GB, free: 2.051 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007951/0.4708, allocations: 0.6234 MB / 0.6414 GB, free: 1.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.471, allocations: 357.9 kB / 0.6417 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.4724, allocations: 0.8842 MB / 0.6426 GB, free: 180 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002932/0.4753, allocations: 2.755 MB / 0.6453 GB, free: 12.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004691/0.48, allocations: 3.977 MB / 0.6492 GB, free: 7.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.093e-05/0.48, allocations: 16 kB / 0.6492 GB, free: 7.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00547/0.4855, allocations: 3.524 MB / 0.6526 GB, free: 4.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.4855, allocations: 32 kB / 0.6527 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.678e-05/0.4856, allocations: 72.12 kB / 0.6527 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.472e-05/0.4857, allocations: 84 kB / 0.6528 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.4876, allocations: 0.6628 MB / 0.6535 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001152/0.4877, allocations: 127.5 kB / 0.6536 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.4894, allocations: 424.8 kB / 0.654 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/0.4897, allocations: 195.9 kB / 0.6542 GB, free: 2.461 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (362): * Single equations (assignments): 357 * Array equations: 5 * 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.001865/0.4915, allocations: 1.35 MB / 0.6555 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.4917, allocations: 166.9 kB / 0.6556 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.4921, allocations: 196.9 kB / 0.6558 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.4921, allocations: 8 kB / 0.6558 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4921, allocations: 0 / 0.6558 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4921, allocations: 7.969 kB / 0.6559 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00676/0.4989, allocations: 4.065 MB / 0.6598 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.4989, allocations: 7.984 kB / 0.6598 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.4993, allocations: 99.83 kB / 0.6599 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.4993, allocations: 8 kB / 0.6599 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/0.4994, allocations: 31.83 kB / 0.66 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.4994, allocations: 11.94 kB / 0.66 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.4994, allocations: 4 kB / 0.66 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.5009, allocations: 1.243 MB / 0.6612 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.5013, allocations: 255.7 kB / 0.6614 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.5015, allocations: 19.94 kB / 0.6615 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.5019, allocations: 31.97 kB / 0.6615 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.502, allocations: 43.83 kB / 0.6615 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.5021, allocations: 28 kB / 0.6616 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001714/0.5038, allocations: 1.279 MB / 0.6628 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5038, allocations: 0 / 0.6628 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002304/0.5061, allocations: 0.6968 MB / 0.6635 GB, free: 8.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (54): * Single equations (assignments): 51 * Array equations: 3 * 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.0002766/0.5064, allocations: 139 kB / 0.6636 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002911/0.5093, allocations: 1.948 MB / 0.6655 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5093, allocations: 4 kB / 0.6655 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000572/0.5099, allocations: 436 kB / 0.6659 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.511, allocations: 230.8 kB / 0.6662 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007826/0.5188, allocations: 5.095 MB / 0.6711 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/0.5213, allocations: 2.263 MB / 0.6733 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002098/0.5234, allocations: 0.9635 MB / 0.6743 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.5236, allocations: 119.4 kB / 0.6744 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.5236, allocations: 0 / 0.6744 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.03375/0.5574, allocations: 15.87 MB / 0.6899 GB, free: 13.51 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.798944468144327]