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.001942/0.001942, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002386/0.002386, allocations: 201 kB / 23.73 MB, free: 4.379 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2577/0.2577, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.002124/0.002124, allocations: 71.89 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3221, allocations: 66.05 MB / 0.5611 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0113/0.3334, allocations: 8.4 MB / 0.5693 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006477/0.3399, allocations: 2.791 MB / 0.572 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.3411, allocations: 55.81 kB / 0.5721 GB, free: 9.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.3453, allocations: 1.932 MB / 0.574 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.3483, allocations: 1.14 MB / 0.5751 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.3491, allocations: 295.4 kB / 0.5753 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003406/0.3525, allocations: 2.325 MB / 0.5776 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.3548, allocations: 1.746 MB / 0.5793 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.356, allocations: 0.884 MB / 0.5802 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.3578, allocations: 1.258 MB / 0.5814 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.3581, allocations: 192 kB / 0.5816 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.3592, allocations: 0.6202 MB / 0.5822 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.3604, allocations: 1.137 MB / 0.5833 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.3616, allocations: 0.9432 MB / 0.5842 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.3664, allocations: 4.342 MB / 0.5885 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3664, allocations: 0 / 0.5885 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3664, allocations: 0 / 0.5885 GB, free: 8.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.168e-05/0.3665, allocations: 0 / 0.5885 GB, free: 8.121 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.004934/0.3714, allocations: 2.87 MB / 0.5913 GB, free: 5.207 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3714, allocations: 8.031 kB / 0.5913 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005181/0.3766, allocations: 1.571 MB / 0.5928 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003529/0.3802, allocations: 1.286 MB / 0.5941 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.3803, allocations: 144 kB / 0.5942 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004344/0.3807, allocations: 187.8 kB / 0.5944 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.3908, allocations: 6.25 MB / 0.6005 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/0.3909, allocations: 15.88 kB / 0.6005 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/0.3911, allocations: 91.91 kB / 0.6006 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002187/0.3933, allocations: 1.344 MB / 0.6019 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.4037, allocations: 5.322 MB / 0.6071 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02953/0.4333, allocations: 18.29 MB / 0.625 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/0.4375, allocations: 1.484 MB / 0.6264 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.4385, allocations: 0.6406 MB / 0.627 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007111/0.4456, allocations: 3.009 MB / 0.63 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4457, allocations: 35 kB / 0.63 GB, free: 12.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.256e-06/0.4457, allocations: 4 kB / 0.63 GB, free: 12.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005655/0.4513, allocations: 1.986 MB / 0.632 GB, free: 10.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.4514, allocations: 55.84 kB / 0.632 GB, free: 10.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/0.4541, allocations: 1.935 MB / 0.6339 GB, free: 8.578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.4542, allocations: 37.69 kB / 0.6339 GB, free: 8.535 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.4557, allocations: 1.923 MB / 0.6358 GB, free: 6.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.456, allocations: 325.5 kB / 0.6361 GB, free: 6.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000822/0.4568, allocations: 0.6195 MB / 0.6367 GB, free: 5.641 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.457, allocations: 345.9 kB / 0.6371 GB, free: 5.297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.4583, allocations: 0.8881 MB / 0.6379 GB, free: 4.406 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/0.4613, allocations: 2.755 MB / 0.6406 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004942/0.4662, allocations: 3.969 MB / 0.6445 GB, free: 11.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.245e-05/0.4663, allocations: 16 kB / 0.6445 GB, free: 11.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005728/0.472, allocations: 3.528 MB / 0.648 GB, free: 8.277 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/0.4721, allocations: 32 kB / 0.648 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.331e-05/0.4722, allocations: 68 kB / 0.6481 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-05/0.4722, allocations: 84 kB / 0.6481 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/0.4742, allocations: 0.6589 MB / 0.6488 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001171/0.4743, allocations: 131.4 kB / 0.6489 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.4764, allocations: 417.2 kB / 0.6493 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003792/0.4768, allocations: 188 kB / 0.6495 GB, free: 6.715 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.002663/0.4795, allocations: 1.342 MB / 0.6508 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.4798, allocations: 162.9 kB / 0.6509 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.4802, allocations: 184 kB / 0.6511 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.4802, allocations: 12 kB / 0.6511 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.4802, allocations: 11.88 kB / 0.6511 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4802, allocations: 0 / 0.6511 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/0.4862, allocations: 3.07 MB / 0.6541 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.4862, allocations: 8 kB / 0.6541 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.4866, allocations: 103.8 kB / 0.6542 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/0.4866, allocations: 11.94 kB / 0.6543 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.4867, allocations: 16 kB / 0.6543 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-05/0.4867, allocations: 15.92 kB / 0.6543 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/0.4867, allocations: 11.94 kB / 0.6543 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.4883, allocations: 1.242 MB / 0.6555 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.4887, allocations: 158.7 kB / 0.6557 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.4889, allocations: 27.92 kB / 0.6557 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.4893, allocations: 27.97 kB / 0.6557 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.4895, allocations: 55.8 kB / 0.6558 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-05/0.4896, allocations: 28 kB / 0.6558 GB, free: 0 / 494.1 MB Notification: Performance of sorting global known variables: time 0.001767/0.4913, allocations: 1.114 MB / 0.6569 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4913, allocations: 0 / 0.6569 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002902/0.4942, allocations: 0.7123 MB / 0.6576 GB, free: 14.18 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.0004108/0.4946, allocations: 142.9 kB / 0.6577 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00341/0.4981, allocations: 1.956 MB / 0.6596 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4981, allocations: 0 / 0.6596 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.4986, allocations: 437.1 kB / 0.66 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.4998, allocations: 188.2 kB / 0.6602 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008998/0.5088, allocations: 5.096 MB / 0.6652 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/0.5112, allocations: 1.704 MB / 0.6669 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002311/0.5136, allocations: 0.939 MB / 0.6678 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.5138, allocations: 111.4 kB / 0.6679 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.5138, allocations: 3.938 kB / 0.6679 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of Templates: time 0.03333/0.5472, allocations: 15.44 MB / 0.683 GB, free: 4.199 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.779844629112631]