Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.2 MB / 250.8 MB, free: 8.773 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2224/0.2224, allocations: 46.89 MB / 351.8 MB, free: 7.293 MB / 286.1 MB 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.002422/0.002422, allocations: 75.88 kB / 496.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.334, allocations: 65.97 MB / 0.5493 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01154/0.3456, allocations: 9.582 MB / 0.5586 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006287/0.3519, allocations: 2.94 MB / 0.5615 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.3534, allocations: 51.88 kB / 0.5615 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004391/0.3578, allocations: 2.021 MB / 0.5635 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.3609, allocations: 1.125 MB / 0.5646 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008065/0.3617, allocations: 283.4 kB / 0.5649 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003465/0.3652, allocations: 2.329 MB / 0.5672 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002701/0.3679, allocations: 1.914 MB / 0.569 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.3694, allocations: 0.8762 MB / 0.5699 GB, free: 256 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.3715, allocations: 1.25 MB / 0.5711 GB, free: 15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005734/0.3721, allocations: 192 kB / 0.5713 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.3736, allocations: 0.7332 MB / 0.572 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.3751, allocations: 1.133 MB / 0.5731 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002616/0.3777, allocations: 1.308 MB / 0.5744 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005644/0.3834, allocations: 4.331 MB / 0.5786 GB, free: 7.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.3834, allocations: 0 / 0.5786 GB, free: 7.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3834, allocations: 0 / 0.5786 GB, free: 7.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.058e-05/0.3834, allocations: 0 / 0.5786 GB, free: 7.273 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.004457/0.3879, allocations: 2.945 MB / 0.5815 GB, free: 4.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3879, allocations: 8.031 kB / 0.5815 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004777/0.3927, allocations: 1.582 MB / 0.5831 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.395, allocations: 1.332 MB / 0.5844 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.3952, allocations: 144 kB / 0.5845 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003724/0.3955, allocations: 203.8 kB / 0.5847 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009362/0.4049, allocations: 6.242 MB / 0.5908 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/0.4049, allocations: 19.81 kB / 0.5908 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.4052, allocations: 87.91 kB / 0.5909 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002008/0.4072, allocations: 1.34 MB / 0.5922 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.4174, allocations: 5.334 MB / 0.5974 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03097/0.4484, allocations: 20.08 MB / 0.617 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/0.4528, allocations: 1.944 MB / 0.6189 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.4539, allocations: 0.6368 MB / 0.6195 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006815/0.4607, allocations: 3.617 MB / 0.6231 GB, free: 8.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.4607, allocations: 42.92 kB / 0.6231 GB, free: 8.465 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.597e-06/0.4607, allocations: 0 / 0.6231 GB, free: 8.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005606/0.4663, allocations: 1.99 MB / 0.625 GB, free: 6.465 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.4664, allocations: 59.78 kB / 0.6251 GB, free: 6.395 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/0.4695, allocations: 1.942 MB / 0.627 GB, free: 4.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.4696, allocations: 33.7 kB / 0.627 GB, free: 4.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.4711, allocations: 1.907 MB / 0.6289 GB, free: 2.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/0.4715, allocations: 333.5 kB / 0.6292 GB, free: 2.152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008943/0.4724, allocations: 0.6195 MB / 0.6298 GB, free: 1.523 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.4726, allocations: 353.9 kB / 0.6302 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.4739, allocations: 0.8881 MB / 0.631 GB, free: 288 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/0.4768, allocations: 2.759 MB / 0.6337 GB, free: 12.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004749/0.4815, allocations: 3.962 MB / 0.6376 GB, free: 7.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.097e-05/0.4816, allocations: 16 kB / 0.6376 GB, free: 7.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005899/0.4875, allocations: 3.542 MB / 0.6411 GB, free: 4.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.4876, allocations: 32 kB / 0.6411 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/0.4877, allocations: 64.91 kB / 0.6412 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.4878, allocations: 88 kB / 0.6412 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.4897, allocations: 0.6627 MB / 0.6419 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001294/0.4899, allocations: 131.5 kB / 0.642 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.4918, allocations: 424.8 kB / 0.6424 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.492, allocations: 188 kB / 0.6426 GB, free: 2.566 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.002102/0.4941, allocations: 1.354 MB / 0.6439 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.4944, allocations: 162.9 kB / 0.6441 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.4948, allocations: 200.9 kB / 0.6443 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.4948, allocations: 11.94 kB / 0.6443 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.4948, allocations: 0 / 0.6443 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4948, allocations: 3.984 kB / 0.6443 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007224/0.502, allocations: 4.025 MB / 0.6482 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.502, allocations: 4 kB / 0.6482 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.5024, allocations: 103.8 kB / 0.6483 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.379e-05/0.5025, allocations: 12 kB / 0.6483 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.5025, allocations: 20 kB / 0.6483 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.5025, allocations: 8 kB / 0.6483 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.5025, allocations: 11.94 kB / 0.6484 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.5043, allocations: 1.283 MB / 0.6496 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.5048, allocations: 259.7 kB / 0.6499 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/0.5051, allocations: 12 kB / 0.6499 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005777/0.5057, allocations: 35.92 kB / 0.6499 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.5058, allocations: 55.83 kB / 0.65 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/0.5058, allocations: 28 kB / 0.65 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002287/0.5081, allocations: 1.263 MB / 0.6512 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5081, allocations: 0 / 0.6512 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002817/0.5109, allocations: 0.6891 MB / 0.6519 GB, free: 8.758 MB / 0.4981 GB 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.0003713/0.5113, allocations: 150.8 kB / 0.652 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003679/0.515, allocations: 1.959 MB / 0.6539 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.515, allocations: 0 / 0.6539 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006623/0.5157, allocations: 441.4 kB / 0.6544 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.5174, allocations: 247.7 kB / 0.6546 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.5284, allocations: 5.125 MB / 0.6596 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003242/0.5317, allocations: 2.271 MB / 0.6618 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002327/0.534, allocations: 0.9597 MB / 0.6628 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/0.5344, allocations: 119.4 kB / 0.6629 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of SimCode: time 1.432e-06/0.5344, allocations: 3.938 kB / 0.6629 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.03477/0.5691, allocations: 15.38 MB / 0.6779 GB, free: 14 MB / 0.5294 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches