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.001704/0.001704, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.002621/0.002621, allocations: 213.1 kB / 24.48 MB, free: 3.93 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.531/1.531, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2303/0.2303, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.002061/0.002061, allocations: 59.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3615, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01195/0.3734, allocations: 8.408 MB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006635/0.38, allocations: 2.788 MB / 0.5727 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.3813, allocations: 55.81 kB / 0.5728 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004237/0.3855, allocations: 1.939 MB / 0.5747 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.3886, allocations: 1.137 MB / 0.5758 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008038/0.3894, allocations: 291.4 kB / 0.5761 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003874/0.3933, allocations: 2.325 MB / 0.5783 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.3957, allocations: 1.734 MB / 0.58 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.3969, allocations: 0.8801 MB / 0.5809 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.3986, allocations: 1.172 MB / 0.582 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003569/0.399, allocations: 199.9 kB / 0.5822 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.4002, allocations: 0.6046 MB / 0.5828 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.4014, allocations: 1.141 MB / 0.5839 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.4025, allocations: 0.9471 MB / 0.5849 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004893/0.4074, allocations: 4.341 MB / 0.5891 GB, free: 8.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4074, allocations: 0 / 0.5891 GB, free: 8.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4074, allocations: 4 kB / 0.5891 GB, free: 8.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.085e-05/0.4075, allocations: 4 kB / 0.5891 GB, free: 8.074 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.005594/0.4131, allocations: 2.862 MB / 0.5919 GB, free: 5.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.4131, allocations: 8.031 kB / 0.5919 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005245/0.4183, allocations: 1.59 MB / 0.5935 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003304/0.4216, allocations: 1.279 MB / 0.5947 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.4218, allocations: 148 kB / 0.5949 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004795/0.4223, allocations: 187.8 kB / 0.595 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.4329, allocations: 6.246 MB / 0.6011 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-05/0.4329, allocations: 11.88 kB / 0.6011 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.4332, allocations: 87.91 kB / 0.6012 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002203/0.4354, allocations: 1.344 MB / 0.6025 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.4461, allocations: 5.334 MB / 0.6077 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0293/0.4754, allocations: 18.29 MB / 0.6256 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004449/0.4798, allocations: 1.484 MB / 0.6271 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.481, allocations: 0.6328 MB / 0.6277 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006708/0.4877, allocations: 3.021 MB / 0.6306 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.4878, allocations: 39 kB / 0.6307 GB, free: 12.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.827e-06/0.4878, allocations: 4 kB / 0.6307 GB, free: 12.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005789/0.4936, allocations: 1.978 MB / 0.6326 GB, free: 10.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.4936, allocations: 59.84 kB / 0.6327 GB, free: 10.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003579/0.4972, allocations: 1.931 MB / 0.6345 GB, free: 8.535 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/0.4973, allocations: 33.7 kB / 0.6346 GB, free: 8.496 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001825/0.4991, allocations: 1.927 MB / 0.6365 GB, free: 6.547 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/0.4996, allocations: 325.5 kB / 0.6368 GB, free: 6.227 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/0.5007, allocations: 0.6273 MB / 0.6374 GB, free: 5.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002371/0.501, allocations: 341.9 kB / 0.6377 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.5025, allocations: 0.8842 MB / 0.6386 GB, free: 4.363 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003373/0.5059, allocations: 2.751 MB / 0.6413 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00535/0.5112, allocations: 3.973 MB / 0.6451 GB, free: 11.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.207e-05/0.5113, allocations: 20 kB / 0.6452 GB, free: 11.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006393/0.5177, allocations: 3.527 MB / 0.6486 GB, free: 8.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.216e-05/0.5178, allocations: 36 kB / 0.6486 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/0.5179, allocations: 64.88 kB / 0.6487 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/0.518, allocations: 88 kB / 0.6488 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/0.5202, allocations: 0.655 MB / 0.6494 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001525/0.5203, allocations: 135.4 kB / 0.6495 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.5227, allocations: 416.9 kB / 0.6499 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/0.523, allocations: 184 kB / 0.6501 GB, free: 6.668 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.002581/0.5256, allocations: 1.346 MB / 0.6514 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003572/0.526, allocations: 162.9 kB / 0.6516 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.5264, allocations: 188 kB / 0.6518 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.5264, allocations: 8 kB / 0.6518 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.5264, allocations: 3.938 kB / 0.6518 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.5264, allocations: 3.984 kB / 0.6518 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007161/0.5336, allocations: 3.054 MB / 0.6548 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.5336, allocations: 8.844 kB / 0.6548 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.534, allocations: 103.8 kB / 0.6549 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.516e-05/0.5341, allocations: 19.94 kB / 0.6549 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.5341, allocations: 19.98 kB / 0.6549 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.734e-05/0.5341, allocations: 19.92 kB / 0.6549 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.5342, allocations: 11.94 kB / 0.6549 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.5359, allocations: 1.237 MB / 0.6561 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/0.5364, allocations: 158.8 kB / 0.6563 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.5367, allocations: 15.94 kB / 0.6563 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005586/0.5372, allocations: 31.98 kB / 0.6563 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.5374, allocations: 59.8 kB / 0.6564 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/0.5374, allocations: 35.92 kB / 0.6564 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002092/0.5395, allocations: 1.114 MB / 0.6575 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5395, allocations: 0 / 0.6575 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003087/0.5426, allocations: 0.7084 MB / 0.6582 GB, free: 14.13 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.0003986/0.543, allocations: 146.9 kB / 0.6584 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003568/0.5466, allocations: 1.952 MB / 0.6603 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.5466, allocations: 0 / 0.6603 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006381/0.5472, allocations: 437.5 kB / 0.6607 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.5486, allocations: 191.3 kB / 0.6609 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.5602, allocations: 5.413 MB / 0.6661 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003024/0.5633, allocations: 1.708 MB / 0.6678 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.5637, allocations: 135.4 kB / 0.6679 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/0.5637, allocations: 4 kB / 0.6679 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of Templates: time 0.0539/0.6176, allocations: 30.07 MB / 0.6973 GB, free: 5.984 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/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: 10.381523828022182]