Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 107.1 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 194.2 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 251.6 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 44.92 MB / 351.6 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 75.86 kB / 495.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4061, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01479/0.4209, allocations: 9.814 MB / 0.556 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008321/0.4292, allocations: 2.957 MB / 0.5589 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/0.4317, allocations: 55.88 kB / 0.5589 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004267/0.4359, allocations: 2.017 MB / 0.5609 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.4395, allocations: 1.164 MB / 0.562 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008503/0.4403, allocations: 287.4 kB / 0.5623 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003677/0.444, allocations: 2.318 MB / 0.5646 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.4462, allocations: 1.652 MB / 0.5662 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.4475, allocations: 0.8956 MB / 0.567 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.4491, allocations: 1.273 MB / 0.5683 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003348/0.4495, allocations: 196 kB / 0.5685 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.4507, allocations: 0.7294 MB / 0.5692 GB, free: 8.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.4518, allocations: 1.192 MB / 0.5703 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.4532, allocations: 1.343 MB / 0.5717 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005412/0.4586, allocations: 4.474 MB / 0.576 GB, free: 1.328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4586, allocations: 0 / 0.576 GB, free: 1.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4586, allocations: 0 / 0.576 GB, free: 1.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001103/0.4587, allocations: 3.938 kB / 0.576 GB, free: 1.324 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005137/0.4639, allocations: 3.024 MB / 0.579 GB, free: 14.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4639, allocations: 8.031 kB / 0.579 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005067/0.469, allocations: 1.598 MB / 0.5806 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/0.4719, allocations: 1.36 MB / 0.5819 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.472, allocations: 148.1 kB / 0.582 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003991/0.4724, allocations: 199.8 kB / 0.5822 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009967/0.4824, allocations: 6.428 MB / 0.5885 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/0.4824, allocations: 15.88 kB / 0.5885 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/0.4827, allocations: 91.89 kB / 0.5886 GB, free: 4.078 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00217/0.4848, allocations: 1.403 MB / 0.59 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.4951, allocations: 5.488 MB / 0.5953 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0291/0.5242, allocations: 20.51 MB / 0.6153 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004469/0.5287, allocations: 1.935 MB / 0.6172 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009666/0.5297, allocations: 0.6367 MB / 0.6179 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006932/0.5366, allocations: 3.656 MB / 0.6214 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.5366, allocations: 39 kB / 0.6215 GB, free: 1.531 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.376e-06/0.5366, allocations: 0 / 0.6215 GB, free: 1.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005769/0.5424, allocations: 1.982 MB / 0.6234 GB, free: 15.54 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.5425, allocations: 59.84 kB / 0.6235 GB, free: 15.47 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/0.5458, allocations: 1.967 MB / 0.6254 GB, free: 13.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.5459, allocations: 29.7 kB / 0.6254 GB, free: 13.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001536/0.5474, allocations: 1.958 MB / 0.6273 GB, free: 11.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004279/0.5478, allocations: 333.5 kB / 0.6276 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009739/0.5488, allocations: 0.6313 MB / 0.6283 GB, free: 10.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.549, allocations: 357.9 kB / 0.6286 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.5504, allocations: 0.892 MB / 0.6295 GB, free: 9.266 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/0.5534, allocations: 2.766 MB / 0.6322 GB, free: 5.559 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004873/0.5582, allocations: 4.007 MB / 0.6361 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.298e-05/0.5583, allocations: 20 kB / 0.6361 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005717/0.564, allocations: 3.562 MB / 0.6396 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.573e-05/0.564, allocations: 36 kB / 0.6396 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.682e-05/0.5641, allocations: 67.98 kB / 0.6397 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/0.5642, allocations: 91.83 kB / 0.6398 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.5662, allocations: 0.6667 MB / 0.6404 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001077/0.5663, allocations: 127.5 kB / 0.6405 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.5682, allocations: 429.2 kB / 0.6409 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/0.5685, allocations: 192 kB / 0.6411 GB, free: 11.44 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.002151/0.5706, allocations: 1.373 MB / 0.6425 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.5709, allocations: 170.8 kB / 0.6426 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.5712, allocations: 197.2 kB / 0.6428 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.5712, allocations: 8 kB / 0.6428 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.5712, allocations: 4 kB / 0.6428 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.5712, allocations: 0 / 0.6428 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006531/0.5777, allocations: 4.1 MB / 0.6468 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5778, allocations: 8.844 kB / 0.6468 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.5782, allocations: 103.8 kB / 0.6469 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.5782, allocations: 12 kB / 0.647 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.5782, allocations: 20 kB / 0.647 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.695e-05/0.5782, allocations: 15.94 kB / 0.647 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5782, allocations: 4 kB / 0.647 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.5799, allocations: 1.271 MB / 0.6482 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.5803, allocations: 259.7 kB / 0.6485 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.5805, allocations: 12 kB / 0.6485 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/0.5809, allocations: 35.92 kB / 0.6485 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.581, allocations: 63.77 kB / 0.6486 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/0.5811, allocations: 31.94 kB / 0.6486 GB, free: 3.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001813/0.5829, allocations: 1.279 MB / 0.6499 GB, free: 2.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5829, allocations: 3.938 kB / 0.6499 GB, free: 2.207 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002838/0.5857, allocations: 0.7242 MB / 0.6506 GB, free: 1.48 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003421/0.5861, allocations: 135 kB / 0.6507 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003361/0.5895, allocations: 1.964 MB / 0.6526 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.5895, allocations: 7.938 kB / 0.6526 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.59, allocations: 433 kB / 0.653 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5913, allocations: 259.1 kB / 0.6533 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.602, allocations: 5.252 MB / 0.6584 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002758/0.6048, allocations: 2.319 MB / 0.6607 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002223/0.607, allocations: 0.9639 MB / 0.6616 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.6073, allocations: 123.4 kB / 0.6617 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of SimCode: time 1.773e-06/0.6073, allocations: 0 / 0.6617 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.03826/0.6456, allocations: 16.18 MB / 0.6775 GB, free: 5.762 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.81399733107537]