Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001887/0.001887, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002271/0.002271, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 230.2 MB / 255.2 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2448/0.2448, allocations: 46.89 MB / 358.1 MB, free: 10.51 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 83.88 kB / 0.4924 GB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1445, allocations: 65.98 MB / 0.5568 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01324/0.1577, allocations: 9.566 MB / 0.5661 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006849/0.1646, allocations: 2.944 MB / 0.569 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.1661, allocations: 55.88 kB / 0.5691 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004539/0.1706, allocations: 2.009 MB / 0.571 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.1741, allocations: 1.133 MB / 0.5721 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.175, allocations: 287.5 kB / 0.5724 GB, free: 5.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004016/0.179, allocations: 2.329 MB / 0.5747 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003086/0.1821, allocations: 1.918 MB / 0.5766 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.1837, allocations: 0.88 MB / 0.5774 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.186, allocations: 1.262 MB / 0.5786 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006855/0.1867, allocations: 192 kB / 0.5788 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.1885, allocations: 0.7216 MB / 0.5795 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.1901, allocations: 1.137 MB / 0.5806 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00232/0.1924, allocations: 1.305 MB / 0.5819 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006259/0.1987, allocations: 4.338 MB / 0.5862 GB, free: 7.711 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1987, allocations: 0 / 0.5862 GB, free: 7.711 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1987, allocations: 3.938 kB / 0.5862 GB, free: 7.707 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000149/0.1988, allocations: 0 / 0.5862 GB, free: 7.707 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.006727/0.2056, allocations: 2.938 MB / 0.589 GB, free: 4.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2056, allocations: 8.031 kB / 0.589 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005698/0.2113, allocations: 1.582 MB / 0.5906 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.2141, allocations: 1.336 MB / 0.5919 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.2142, allocations: 148 kB / 0.592 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.2146, allocations: 187.8 kB / 0.5922 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2723/0.4869, allocations: 6.248 MB / 0.5983 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.467e-05/0.487, allocations: 13.69 kB / 0.5983 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.4872, allocations: 90.25 kB / 0.5984 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/0.4894, allocations: 1.342 MB / 0.5997 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.4998, allocations: 5.326 MB / 0.6049 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02522/0.525, allocations: 20.07 MB / 0.6245 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003654/0.5287, allocations: 1.939 MB / 0.6264 GB, free: 16.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007205/0.5294, allocations: 0.6452 MB / 0.627 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005167/0.5346, allocations: 3.615 MB / 0.6306 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5346, allocations: 40.56 kB / 0.6306 GB, free: 13.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.595e-06/0.5346, allocations: 2.469 kB / 0.6306 GB, free: 13.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004742/0.5393, allocations: 1.995 MB / 0.6326 GB, free: 11.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.5394, allocations: 59.84 kB / 0.6326 GB, free: 11.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.5413, allocations: 1.944 MB / 0.6345 GB, free: 9.879 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.5413, allocations: 33.7 kB / 0.6345 GB, free: 9.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006943/0.542, allocations: 1.915 MB / 0.6364 GB, free: 8.051 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.5422, allocations: 320.5 kB / 0.6367 GB, free: 7.742 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005391/0.5427, allocations: 0.622 MB / 0.6373 GB, free: 7.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.5428, allocations: 357.9 kB / 0.6377 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009114/0.5437, allocations: 0.8881 MB / 0.6385 GB, free: 5.867 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.5452, allocations: 2.755 MB / 0.6412 GB, free: 2.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003879/0.5491, allocations: 3.967 MB / 0.6451 GB, free: 13.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-05/0.5491, allocations: 23.62 kB / 0.6451 GB, free: 13.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006055/0.5552, allocations: 3.528 MB / 0.6486 GB, free: 9.734 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.5552, allocations: 36 kB / 0.6486 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.06e-05/0.5553, allocations: 64 kB / 0.6487 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.5554, allocations: 91.94 kB / 0.6488 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.5573, allocations: 0.655 MB / 0.6494 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001194/0.5575, allocations: 134.7 kB / 0.6495 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.5593, allocations: 436.9 kB / 0.6499 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.5596, allocations: 180 kB / 0.6501 GB, free: 8.16 MB / 462.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.002155/0.5617, allocations: 1.338 MB / 0.6514 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.562, allocations: 166.9 kB / 0.6516 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/0.5624, allocations: 196.9 kB / 0.6518 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.5624, allocations: 11.94 kB / 0.6518 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.5624, allocations: 8 kB / 0.6518 GB, free: 6.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.5624, allocations: 3.984 kB / 0.6518 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00667/0.5691, allocations: 4.02 MB / 0.6557 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.5691, allocations: 8 kB / 0.6557 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.5695, allocations: 103.8 kB / 0.6558 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.5696, allocations: 12.03 kB / 0.6558 GB, free: 2.137 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/0.5696, allocations: 20 kB / 0.6559 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/0.5696, allocations: 15.92 kB / 0.6559 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.5696, allocations: 11.94 kB / 0.6559 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.5714, allocations: 1.271 MB / 0.6571 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/0.5718, allocations: 259.7 kB / 0.6574 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.5719, allocations: 20 kB / 0.6574 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.5724, allocations: 31.92 kB / 0.6574 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5725, allocations: 55.83 kB / 0.6575 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.5726, allocations: 28 kB / 0.6575 GB, free: 312 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001933/0.5745, allocations: 1.271 MB / 0.6587 GB, free: 15.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5745, allocations: 4 kB / 0.6587 GB, free: 15.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002615/0.5771, allocations: 0.689 MB / 0.6594 GB, free: 14.35 MB / 478.1 MB 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.0003257/0.5775, allocations: 143 kB / 0.6596 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.5807, allocations: 1.96 MB / 0.6615 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.912e-06/0.5807, allocations: 0.8125 kB / 0.6615 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006173/0.5813, allocations: 436.9 kB / 0.6619 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.5826, allocations: 233.6 kB / 0.6621 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009246/0.5918, allocations: 5.432 MB / 0.6674 GB, free: 6.047 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/0.5946, allocations: 2.276 MB / 0.6696 GB, free: 3.738 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005405/0.5951, allocations: 143.4 kB / 0.6698 GB, free: 3.598 MB / 478.1 MB Notification: Performance of SimCode: time 1.713e-06/0.5951, allocations: 4 kB / 0.6698 GB, free: 3.594 MB / 478.1 MB Notification: Performance of Templates: time 0.05039/0.6455, allocations: 30.31 MB / 0.6994 GB, free: 5.352 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.803254892118275]