Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 205.2 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2287/0.2287, allocations: 46.96 MB / 361.6 MB, free: 4.121 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 71.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3003, allocations: 66.03 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01139/0.3117, allocations: 8.392 MB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005931/0.3176, allocations: 2.788 MB / 0.5727 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000897/0.3185, allocations: 55.81 kB / 0.5728 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003888/0.3224, allocations: 1.939 MB / 0.5747 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002639/0.3251, allocations: 1.14 MB / 0.5758 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006721/0.3257, allocations: 287.5 kB / 0.5761 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003002/0.3287, allocations: 2.329 MB / 0.5783 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.3307, allocations: 1.742 MB / 0.58 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.3317, allocations: 0.8878 MB / 0.5809 GB, free: 476 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.3333, allocations: 1.254 MB / 0.5821 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.3336, allocations: 196 kB / 0.5823 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.3347, allocations: 0.6162 MB / 0.5829 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.3357, allocations: 1.133 MB / 0.584 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009449/0.3367, allocations: 0.9509 MB / 0.585 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004427/0.3411, allocations: 4.345 MB / 0.5892 GB, free: 7.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3411, allocations: 0 / 0.5892 GB, free: 7.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3411, allocations: 0 / 0.5892 GB, free: 7.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.609e-05/0.3411, allocations: 7.938 kB / 0.5892 GB, free: 7.938 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.004504/0.3456, allocations: 2.862 MB / 0.592 GB, free: 5.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3457, allocations: 12.03 kB / 0.592 GB, free: 5.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005066/0.3508, allocations: 1.571 MB / 0.5936 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/0.3536, allocations: 1.29 MB / 0.5948 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.3537, allocations: 148 kB / 0.595 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003533/0.3541, allocations: 187.8 kB / 0.5951 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009343/0.3634, allocations: 6.25 MB / 0.6012 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.086e-05/0.3635, allocations: 11.88 kB / 0.6012 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.3637, allocations: 87.91 kB / 0.6013 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002081/0.3658, allocations: 1.34 MB / 0.6026 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009586/0.3754, allocations: 5.322 MB / 0.6078 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02559/0.401, allocations: 18.26 MB / 0.6257 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004132/0.4051, allocations: 1.553 MB / 0.6272 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000987/0.4061, allocations: 0.6328 MB / 0.6278 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006725/0.4128, allocations: 2.888 MB / 0.6306 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.4129, allocations: 35 kB / 0.6307 GB, free: 12.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 7.594e-06/0.4129, allocations: 3.984 kB / 0.6307 GB, free: 12.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005687/0.4186, allocations: 1.971 MB / 0.6326 GB, free: 10.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.4186, allocations: 63.83 kB / 0.6326 GB, free: 10.44 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.4214, allocations: 1.931 MB / 0.6345 GB, free: 8.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.4214, allocations: 37.62 kB / 0.6346 GB, free: 8.457 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.4229, allocations: 1.915 MB / 0.6364 GB, free: 6.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.4232, allocations: 337.5 kB / 0.6368 GB, free: 6.188 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007951/0.424, allocations: 0.6156 MB / 0.6374 GB, free: 5.562 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4241, allocations: 349.9 kB / 0.6377 GB, free: 5.215 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.4254, allocations: 0.8842 MB / 0.6386 GB, free: 4.328 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.4282, allocations: 2.747 MB / 0.6412 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004575/0.4328, allocations: 3.984 MB / 0.6451 GB, free: 11.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.264e-05/0.4328, allocations: 16 kB / 0.6451 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00547/0.4383, allocations: 3.52 MB / 0.6486 GB, free: 8.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.4383, allocations: 34.88 kB / 0.6486 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-05/0.4384, allocations: 72 kB / 0.6487 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.4385, allocations: 87.94 kB / 0.6488 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.4405, allocations: 0.6589 MB / 0.6494 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001085/0.4406, allocations: 127.5 kB / 0.6495 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.4425, allocations: 417 kB / 0.6499 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.4427, allocations: 184 kB / 0.6501 GB, free: 6.637 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.002078/0.4448, allocations: 1.35 MB / 0.6514 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.4451, allocations: 154.9 kB / 0.6516 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.4454, allocations: 184 kB / 0.6518 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.4454, allocations: 7.984 kB / 0.6518 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4454, allocations: 0 / 0.6518 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.4457, allocations: 142.8 kB / 0.6519 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.4459, allocations: 8 kB / 0.6519 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.4463, allocations: 23.95 kB / 0.6519 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/0.4464, allocations: 40.31 kB / 0.652 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001496/0.4479, allocations: 0.9487 MB / 0.6529 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001389/0.4493, allocations: 1.128 MB / 0.654 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005027/0.4498, allocations: 375.5 kB / 0.6543 GB, free: 2.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001605/0.4514, allocations: 1.11 MB / 0.6554 GB, free: 1.145 MB / 494.1 MB Notification: Performance of Backend: time 2.61e-07/0.4514, allocations: 0 / 0.6554 GB, free: 1.145 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003785/0.4552, allocations: 1.729 MB / 0.6571 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of SimCode: time 0.008347/0.4635, allocations: 5.339 MB / 0.6623 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.04003/0.5035, allocations: 21.17 MB / 0.683 GB, free: 5.035 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.482743174994539]