Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001523/0.001523, allocations: 79.34 kB / 20.52 MB, free: 1.281 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.00173/0.00173, allocations: 159.9 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.208/0.208, allocations: 32.37 MB / 270.1 MB, free: 2.695 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 75.89 kB / 407.7 MB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1329, allocations: 61.04 MB / 468.8 MB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2384/0.3713, allocations: 9.682 MB / 478.5 MB, free: 43.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005099/0.3764, allocations: 2.917 MB / 481.4 MB, free: 43.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007966/0.3772, allocations: 63.12 kB / 481.4 MB, free: 43.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.3801, allocations: 1.972 MB / 483.4 MB, free: 43.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.3824, allocations: 1.249 MB / 484.7 MB, free: 43.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005852/0.383, allocations: 293.1 kB / 485 MB, free: 43.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.3853, allocations: 2.486 MB / 487.4 MB, free: 42.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.3871, allocations: 1.847 MB / 489.3 MB, free: 41.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.3882, allocations: 0.9795 MB / 490.3 MB, free: 41.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.3895, allocations: 1.316 MB / 491.6 MB, free: 40.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003165/0.3899, allocations: 219 kB / 491.8 MB, free: 40.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009464/0.3908, allocations: 0.6264 MB / 492.4 MB, free: 40.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000777/0.3916, allocations: 1.267 MB / 493.7 MB, free: 40.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008596/0.3924, allocations: 1.075 MB / 494.8 MB, free: 39.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004047/0.3965, allocations: 4.867 MB / 499.6 MB, free: 37.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3965, allocations: 0 / 499.6 MB, free: 37.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3965, allocations: 0 / 499.6 MB, free: 37.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.217e-05/0.3966, allocations: 1.031 kB / 499.6 MB, free: 37.54 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.004672/0.4012, allocations: 3.164 MB / 0.491 GB, free: 35.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4013, allocations: 10.5 kB / 0.491 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005571/0.4068, allocations: 1.655 MB / 0.4926 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.4099, allocations: 1.382 MB / 0.494 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-05/0.41, allocations: 158.7 kB / 0.4941 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005549/0.4105, allocations: 208.3 kB / 0.4943 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.4217, allocations: 6.978 MB / 0.5012 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.208e-05/0.4218, allocations: 17.59 kB / 0.5012 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/0.422, allocations: 101.6 kB / 0.5013 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002386/0.4244, allocations: 1.524 MB / 0.5028 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.4362, allocations: 5.939 MB / 0.5086 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/0.4619, allocations: 20.2 MB / 0.5283 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004451/0.4663, allocations: 1.755 MB / 0.53 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009263/0.4673, allocations: 0.736 MB / 0.5307 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005709/0.473, allocations: 3.424 MB / 0.5341 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.473, allocations: 39.22 kB / 0.5341 GB, free: 9.992 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.556e-06/0.473, allocations: 4 kB / 0.5341 GB, free: 9.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.00519/0.4782, allocations: 2.378 MB / 0.5364 GB, free: 7.609 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.4782, allocations: 60.06 kB / 0.5365 GB, free: 7.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.4802, allocations: 2.049 MB / 0.5385 GB, free: 5.484 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.4803, allocations: 37.7 kB / 0.5385 GB, free: 5.441 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006895/0.481, allocations: 2.098 MB / 0.5406 GB, free: 3.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.4812, allocations: 397 kB / 0.5409 GB, free: 2.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006213/0.4818, allocations: 0.679 MB / 0.5416 GB, free: 2.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.4819, allocations: 345.9 kB / 0.5419 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.483, allocations: 1.002 MB / 0.5429 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/0.4859, allocations: 2.998 MB / 0.5458 GB, free: 12.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005504/0.4914, allocations: 4.348 MB / 0.5501 GB, free: 7.566 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-05/0.4914, allocations: 27.92 kB / 0.5501 GB, free: 7.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006943/0.4984, allocations: 3.879 MB / 0.5539 GB, free: 3.648 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.166e-05/0.4984, allocations: 36 kB / 0.5539 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.835e-05/0.4985, allocations: 72 kB / 0.554 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000108/0.4986, allocations: 92.78 kB / 0.5541 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.5009, allocations: 0.733 MB / 0.5548 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001278/0.5011, allocations: 143.4 kB / 0.5549 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.5035, allocations: 444.7 kB / 0.5554 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/0.5038, allocations: 207.9 kB / 0.5556 GB, free: 1.938 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.002433/0.5062, allocations: 1.467 MB / 0.557 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.5065, allocations: 170.8 kB / 0.5572 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.5088, allocations: 1.232 MB / 0.5584 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/0.5088, allocations: 15.98 kB / 0.5584 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5088, allocations: 0 / 0.5584 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.5089, allocations: 3.984 kB / 0.5584 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007755/0.5166, allocations: 3.978 MB / 0.5623 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.5166, allocations: 11.98 kB / 0.5623 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/0.5172, allocations: 151.7 kB / 0.5624 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.5172, allocations: 13.38 kB / 0.5624 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.688e-05/0.5173, allocations: 28 kB / 0.5625 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-05/0.5173, allocations: 23.92 kB / 0.5625 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.5173, allocations: 11.94 kB / 0.5625 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.5197, allocations: 1.57 MB / 0.564 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/0.5201, allocations: 182.6 kB / 0.5642 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.5203, allocations: 27.98 kB / 0.5642 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/0.5209, allocations: 31.97 kB / 0.5643 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.521, allocations: 87.64 kB / 0.5644 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/0.5211, allocations: 36 kB / 0.5644 GB, free: 8.574 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001829/0.5229, allocations: 1.171 MB / 0.5655 GB, free: 7.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5229, allocations: 0 / 0.5655 GB, free: 7.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003034/0.526, allocations: 0.8057 MB / 0.5663 GB, free: 6.602 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0003183/0.5263, allocations: 154.8 kB / 0.5665 GB, free: 6.441 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003853/0.5301, allocations: 2.221 MB / 0.5686 GB, free: 4.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.5301, allocations: 4 kB / 0.5686 GB, free: 4.227 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000837/0.531, allocations: 0.5297 MB / 0.5692 GB, free: 3.699 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.5323, allocations: 200.7 kB / 0.5693 GB, free: 3.508 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.5429, allocations: 5.804 MB / 0.575 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003156/0.5461, allocations: 1.893 MB / 0.5769 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002563/0.5486, allocations: 1.022 MB / 0.5779 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/0.549, allocations: 124.5 kB / 0.578 GB, free: 10.46 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.549, allocations: 0 / 0.578 GB, free: 10.46 MB / 494.1 MB Notification: Performance of Templates: time 0.03094/0.5799, allocations: 12.86 MB / 0.5905 GB, free: 13.7 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.768396017956547]