Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001285/0.001285, allocations: 110.5 kB / 21.18 MB, free: 0.7617 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.001458/0.001458, allocations: 215.8 kB / 24.48 MB, free: 4.051 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.41/1.41, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2241/0.2241, allocations: 46.9 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3") [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.00235/0.00235, allocations: 79.88 kB / 0.4968 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3004, allocations: 65.98 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01158/0.312, allocations: 9.597 MB / 0.5706 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005366/0.3173, allocations: 2.954 MB / 0.5735 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005405/0.3179, allocations: 47.94 kB / 0.5735 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003746/0.3216, allocations: 2.033 MB / 0.5755 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.3238, allocations: 1.125 MB / 0.5766 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.3245, allocations: 287.4 kB / 0.5769 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.3273, allocations: 2.333 MB / 0.5791 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.3293, allocations: 1.618 MB / 0.5807 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009349/0.3302, allocations: 0.8799 MB / 0.5816 GB, free: 64 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.3317, allocations: 1.258 MB / 0.5828 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.332, allocations: 192 kB / 0.583 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.3331, allocations: 0.7175 MB / 0.5837 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.3342, allocations: 1.137 MB / 0.5848 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.3354, allocations: 1.312 MB / 0.5861 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004468/0.3398, allocations: 4.334 MB / 0.5903 GB, free: 7.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3398, allocations: 0 / 0.5903 GB, free: 7.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3398, allocations: 4 kB / 0.5903 GB, free: 7.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.799e-05/0.3399, allocations: 0 / 0.5903 GB, free: 7.078 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.004649/0.3445, allocations: 2.942 MB / 0.5932 GB, free: 4.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.3446, allocations: 8.031 kB / 0.5932 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005363/0.3499, allocations: 1.574 MB / 0.5947 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.3529, allocations: 1.34 MB / 0.596 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.3531, allocations: 144 kB / 0.5962 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003304/0.3534, allocations: 191.8 kB / 0.5964 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.3634, allocations: 6.246 MB / 0.6025 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.074e-05/0.3635, allocations: 11.88 kB / 0.6025 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/0.3638, allocations: 91.91 kB / 0.6026 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002235/0.366, allocations: 1.344 MB / 0.6039 GB, free: 8.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009923/0.3759, allocations: 5.338 MB / 0.6091 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02568/0.4016, allocations: 20.07 MB / 0.6287 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/0.4057, allocations: 1.944 MB / 0.6306 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009206/0.4066, allocations: 0.6506 MB / 0.6312 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006648/0.4133, allocations: 3.613 MB / 0.6348 GB, free: 8.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.4133, allocations: 43 kB / 0.6348 GB, free: 8.266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.144e-06/0.4133, allocations: 0 / 0.6348 GB, free: 8.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005362/0.4187, allocations: 1.986 MB / 0.6367 GB, free: 6.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.4187, allocations: 63.78 kB / 0.6368 GB, free: 6.195 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.4212, allocations: 1.942 MB / 0.6387 GB, free: 4.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.4213, allocations: 37.7 kB / 0.6387 GB, free: 4.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.4226, allocations: 1.907 MB / 0.6406 GB, free: 2.277 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.4229, allocations: 325.6 kB / 0.6409 GB, free: 1.957 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007701/0.4237, allocations: 0.6234 MB / 0.6415 GB, free: 1.324 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4239, allocations: 353.9 kB / 0.6418 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.4252, allocations: 0.8842 MB / 0.6427 GB, free: 88 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002867/0.428, allocations: 2.751 MB / 0.6454 GB, free: 12.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004505/0.4325, allocations: 3.97 MB / 0.6493 GB, free: 7.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.734e-05/0.4326, allocations: 23.94 kB / 0.6493 GB, free: 7.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005177/0.4377, allocations: 3.534 MB / 0.6527 GB, free: 3.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.4378, allocations: 36 kB / 0.6528 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.109e-05/0.4378, allocations: 64 kB / 0.6528 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-05/0.4379, allocations: 88 kB / 0.6529 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.4397, allocations: 0.6511 MB / 0.6536 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001099/0.4398, allocations: 135.4 kB / 0.6537 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.4414, allocations: 441.1 kB / 0.6541 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.4416, allocations: 180 kB / 0.6543 GB, free: 2.371 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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.001775/0.4434, allocations: 1.342 MB / 0.6556 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.4436, allocations: 166.9 kB / 0.6558 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.4439, allocations: 192.9 kB / 0.6559 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.4439, allocations: 3.984 kB / 0.6559 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.4439, allocations: 7.938 kB / 0.6559 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.4442, allocations: 235.8 kB / 0.6562 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.4443, allocations: 8 kB / 0.6562 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.4447, allocations: 19.98 kB / 0.6562 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.4448, allocations: 32.39 kB / 0.6562 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001391/0.4462, allocations: 0.9371 MB / 0.6571 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001362/0.4475, allocations: 1.151 MB / 0.6583 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004811/0.448, allocations: 379.5 kB / 0.6586 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00154/0.4496, allocations: 1.191 MB / 0.6598 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of Backend: time 3.51e-07/0.4496, allocations: 4 kB / 0.6598 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00299/0.4525, allocations: 1.714 MB / 0.6615 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of SimCode: time 0.007647/0.4602, allocations: 5.416 MB / 0.6668 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of Templates: time 0.03754/0.4977, allocations: 20.71 MB / 0.687 GB, free: 0.8008 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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.4320084736682475]