Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001821/0.001821, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002269/0.002269, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2394/0.2394, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 67.91 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3234, allocations: 66.04 MB / 0.5611 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01145/0.3349, allocations: 8.407 MB / 0.5693 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006214/0.3411, allocations: 2.787 MB / 0.572 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000995/0.3421, allocations: 55.81 kB / 0.5721 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003839/0.3459, allocations: 1.939 MB / 0.574 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.3485, allocations: 1.137 MB / 0.5751 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.3492, allocations: 287.4 kB / 0.5753 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002974/0.3521, allocations: 2.325 MB / 0.5776 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.3543, allocations: 1.742 MB / 0.5793 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.3553, allocations: 0.884 MB / 0.5802 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.3569, allocations: 1.18 MB / 0.5813 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003306/0.3573, allocations: 192 kB / 0.5815 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.3584, allocations: 0.6046 MB / 0.5821 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.3595, allocations: 1.137 MB / 0.5832 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.3606, allocations: 0.9471 MB / 0.5841 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005365/0.3659, allocations: 4.342 MB / 0.5884 GB, free: 8.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3659, allocations: 0 / 0.5884 GB, free: 8.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3659, allocations: 3.938 kB / 0.5884 GB, free: 8.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.803e-05/0.366, allocations: 0 / 0.5884 GB, free: 8.199 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.005254/0.3713, allocations: 2.866 MB / 0.5912 GB, free: 5.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3713, allocations: 12.02 kB / 0.5912 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/0.3764, allocations: 1.582 MB / 0.5927 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/0.3794, allocations: 1.275 MB / 0.594 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.3796, allocations: 144 kB / 0.5941 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/0.38, allocations: 191.8 kB / 0.5943 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.3906, allocations: 6.25 MB / 0.6004 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.364e-05/0.3906, allocations: 15.88 kB / 0.6004 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.3909, allocations: 83.91 kB / 0.6005 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002181/0.393, allocations: 1.344 MB / 0.6018 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.404, allocations: 5.326 MB / 0.607 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02673/0.4307, allocations: 18.29 MB / 0.6249 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.4347, allocations: 1.481 MB / 0.6263 GB, free: 416 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.4357, allocations: 0.643 MB / 0.6269 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006231/0.442, allocations: 3.013 MB / 0.6299 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.442, allocations: 39 kB / 0.6299 GB, free: 12.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.605e-06/0.442, allocations: 0 / 0.6299 GB, free: 12.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005449/0.4474, allocations: 1.986 MB / 0.6319 GB, free: 10.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.4475, allocations: 55.84 kB / 0.6319 GB, free: 10.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.4501, allocations: 1.935 MB / 0.6338 GB, free: 8.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.4502, allocations: 33.7 kB / 0.6338 GB, free: 8.621 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.4516, allocations: 1.919 MB / 0.6357 GB, free: 6.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.4519, allocations: 329.5 kB / 0.636 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007793/0.4527, allocations: 0.6234 MB / 0.6366 GB, free: 5.723 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4529, allocations: 349.9 kB / 0.637 GB, free: 5.375 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.4542, allocations: 0.8842 MB / 0.6378 GB, free: 4.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/0.4573, allocations: 2.755 MB / 0.6405 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005076/0.4624, allocations: 3.966 MB / 0.6444 GB, free: 11.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.21e-05/0.4624, allocations: 20 kB / 0.6444 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005981/0.4684, allocations: 3.52 MB / 0.6479 GB, free: 8.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.4684, allocations: 36 kB / 0.6479 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.276e-05/0.4685, allocations: 64 kB / 0.6479 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.272e-05/0.4686, allocations: 88 kB / 0.648 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.4705, allocations: 0.655 MB / 0.6487 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001139/0.4706, allocations: 131.5 kB / 0.6488 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.4726, allocations: 425.4 kB / 0.6492 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/0.4728, allocations: 184 kB / 0.6494 GB, free: 6.797 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.002089/0.4749, allocations: 1.346 MB / 0.6507 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.4751, allocations: 158.9 kB / 0.6508 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.4755, allocations: 188 kB / 0.651 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.4755, allocations: 8 kB / 0.651 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4755, allocations: 7.938 kB / 0.651 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.4755, allocations: 3.984 kB / 0.651 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005846/0.4814, allocations: 3.062 MB / 0.654 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.4814, allocations: 4 kB / 0.654 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.4818, allocations: 107.8 kB / 0.6541 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/0.4818, allocations: 11.94 kB / 0.6542 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.4819, allocations: 27.97 kB / 0.6542 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.4819, allocations: 12.5 kB / 0.6542 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/0.4819, allocations: 11.94 kB / 0.6542 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.4834, allocations: 1.245 MB / 0.6554 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.4837, allocations: 158.7 kB / 0.6556 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.4839, allocations: 19.94 kB / 0.6556 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.4843, allocations: 27.97 kB / 0.6556 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/0.4844, allocations: 51.81 kB / 0.6557 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.4844, allocations: 35.98 kB / 0.6557 GB, free: 84 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001518/0.486, allocations: 1.114 MB / 0.6568 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.486, allocations: 0 / 0.6568 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002395/0.4884, allocations: 0.7044 MB / 0.6575 GB, free: 14.27 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.0002889/0.4886, allocations: 146.9 kB / 0.6576 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002865/0.4915, allocations: 1.951 MB / 0.6595 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.4915, allocations: 5 kB / 0.6595 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.4921, allocations: 440.1 kB / 0.6599 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009715/0.4931, allocations: 194.8 kB / 0.6601 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00813/0.5012, allocations: 5.091 MB / 0.6651 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/0.5039, allocations: 1.708 MB / 0.6668 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002128/0.506, allocations: 0.9467 MB / 0.6677 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.5063, allocations: 115.4 kB / 0.6678 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.5063, allocations: 3.938 kB / 0.6678 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.03005/0.5363, allocations: 14.1 MB / 0.6816 GB, free: 5.602 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.90841168910265]