Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001675/0.001675, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002185/0.002185, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.589/1.589, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2428/0.2428, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.CutTorque2,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.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,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.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4204, allocations: 66.04 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01202/0.4325, allocations: 8.402 MB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007193/0.4397, allocations: 2.784 MB / 0.5727 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.4414, allocations: 55.81 kB / 0.5728 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.4456, allocations: 1.943 MB / 0.5747 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.4493, allocations: 1.14 MB / 0.5758 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009432/0.4502, allocations: 287.4 kB / 0.5761 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003897/0.4541, allocations: 2.329 MB / 0.5783 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/0.4567, allocations: 1.742 MB / 0.58 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.4582, allocations: 0.8878 MB / 0.5809 GB, free: 476 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.4602, allocations: 1.254 MB / 0.5821 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.4606, allocations: 192 kB / 0.5823 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.4619, allocations: 0.6124 MB / 0.5829 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.4632, allocations: 1.145 MB / 0.584 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.4644, allocations: 0.9432 MB / 0.585 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005833/0.4702, allocations: 4.345 MB / 0.5892 GB, free: 7.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.4702, allocations: 0 / 0.5892 GB, free: 7.949 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.4702, allocations: 0 / 0.5892 GB, free: 7.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001283/0.4703, allocations: 0 / 0.5892 GB, free: 7.949 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.006436/0.4768, allocations: 2.87 MB / 0.592 GB, free: 5.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.4768, allocations: 8.031 kB / 0.592 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005022/0.4819, allocations: 1.574 MB / 0.5935 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/0.4855, allocations: 1.286 MB / 0.5948 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.4857, allocations: 148 kB / 0.5949 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004269/0.4861, allocations: 187.8 kB / 0.5951 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.4975, allocations: 6.246 MB / 0.6012 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.162e-05/0.4975, allocations: 19.88 kB / 0.6012 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002689/0.4978, allocations: 91.89 kB / 0.6013 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002264/0.5001, allocations: 1.336 MB / 0.6026 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.5114, allocations: 5.326 MB / 0.6078 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03115/0.5426, allocations: 18.29 MB / 0.6257 GB, free: 1.641 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.547, allocations: 1.484 MB / 0.6272 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.548, allocations: 0.6328 MB / 0.6278 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007505/0.5555, allocations: 3.017 MB / 0.6307 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.5555, allocations: 35 kB / 0.6307 GB, free: 12.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.717e-06/0.5555, allocations: 4 kB / 0.6308 GB, free: 12.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005856/0.5614, allocations: 1.982 MB / 0.6327 GB, free: 10.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.5614, allocations: 55.84 kB / 0.6327 GB, free: 10.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.5645, allocations: 1.939 MB / 0.6346 GB, free: 8.398 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-05/0.5646, allocations: 33.7 kB / 0.6347 GB, free: 8.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001692/0.5663, allocations: 1.923 MB / 0.6365 GB, free: 6.414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004501/0.5667, allocations: 321.6 kB / 0.6369 GB, free: 6.098 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008979/0.5676, allocations: 0.6234 MB / 0.6375 GB, free: 5.465 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.5678, allocations: 345.9 kB / 0.6378 GB, free: 5.121 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.5694, allocations: 0.8881 MB / 0.6387 GB, free: 4.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/0.5725, allocations: 2.747 MB / 0.6413 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005125/0.5777, allocations: 3.98 MB / 0.6452 GB, free: 11.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-05/0.5777, allocations: 16 kB / 0.6452 GB, free: 11.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006215/0.5839, allocations: 3.524 MB / 0.6487 GB, free: 8.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.584, allocations: 32 kB / 0.6487 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.771e-05/0.5841, allocations: 71.94 kB / 0.6488 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.5842, allocations: 84 kB / 0.6489 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.5862, allocations: 0.6589 MB / 0.6495 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001193/0.5863, allocations: 127.5 kB / 0.6496 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.5884, allocations: 424.9 kB / 0.65 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/0.5887, allocations: 192.1 kB / 0.6502 GB, free: 6.527 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.002356/0.5911, allocations: 1.342 MB / 0.6515 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.5914, allocations: 158.9 kB / 0.6517 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.5917, allocations: 184 kB / 0.6519 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.753e-05/0.5917, allocations: 12 kB / 0.6519 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.5917, allocations: 0 / 0.6519 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-05/0.5918, allocations: 7.922 kB / 0.6519 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006492/0.5983, allocations: 3.07 MB / 0.6549 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/0.5983, allocations: 8 kB / 0.6549 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/0.5987, allocations: 95.83 kB / 0.655 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/0.5987, allocations: 8 kB / 0.655 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.5988, allocations: 27.92 kB / 0.655 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-05/0.5988, allocations: 11.94 kB / 0.655 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/0.5988, allocations: 11.94 kB / 0.655 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.6006, allocations: 1.245 MB / 0.6562 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004244/0.601, allocations: 155.1 kB / 0.6564 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.6012, allocations: 27.88 kB / 0.6564 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.6016, allocations: 23.97 kB / 0.6564 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.6017, allocations: 55.81 kB / 0.6565 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.6018, allocations: 35.92 kB / 0.6565 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00177/0.6036, allocations: 1.118 MB / 0.6576 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6036, allocations: 0 / 0.6576 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002797/0.6064, allocations: 0.7007 MB / 0.6583 GB, free: 14 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.0003841/0.6068, allocations: 146.9 kB / 0.6584 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003437/0.6102, allocations: 1.955 MB / 0.6604 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.6102, allocations: 1.938 kB / 0.6604 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006269/0.6108, allocations: 433.2 kB / 0.6608 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.6121, allocations: 195 kB / 0.661 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.6221, allocations: 5.409 MB / 0.6662 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/0.6246, allocations: 1.716 MB / 0.6679 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/0.6252, allocations: 135.4 kB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/0.6252, allocations: 0 / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.05266/0.6778, allocations: 30.06 MB / 0.6974 GB, free: 5.852 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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: 10.303982626006473]