Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.0008553/0.0008553, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008614/0.0008614, allocations: 156.4 kB / 25.44 MB, free: 8.855 MB / 18.57 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 0.9103/0.9103, allocations: 158.6 MB / 187.2 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 299.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.916e-05, allocations: 2.281 kB / 299.7 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.1559/0.1559, allocations: 10.94 MB / 310.7 MB, free: 9.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006637/0.1625, allocations: 4.009 MB / 314.7 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009218/0.1634, allocations: 81.28 kB / 314.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003562/0.167, allocations: 3.317 MB / 318.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003555/0.1706, allocations: 2.212 MB / 320.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.1718, allocations: 0.8985 MB / 321.2 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004264/0.1761, allocations: 4.927 MB / 326.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/0.1789, allocations: 3.487 MB / 329.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.1813, allocations: 2.659 MB / 332.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.1833, allocations: 2.469 MB / 334.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003555/0.1837, allocations: 392 kB / 335.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.1851, allocations: 1.24 MB / 336.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.1864, allocations: 2.38 MB / 338.7 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009484/0.1874, allocations: 1.464 MB / 340.2 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005385/0.1928, allocations: 8.341 MB / 348.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1928, allocations: 0 / 348.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1928, allocations: 0 / 348.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.68e-05/0.1929, allocations: 0 / 348.5 MB, free: 13.45 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.006285/0.1991, allocations: 5.588 MB / 354.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1992, allocations: 11.98 kB / 354.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.2038, allocations: 2.31 MB / 356.4 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003719/0.2075, allocations: 2.923 MB / 359.4 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.2077, allocations: 268.9 kB / 359.6 MB, free: 2.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004037/0.2081, allocations: 359.7 kB / 360 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.2194, allocations: 11.69 MB / 371.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.35e-05/0.2195, allocations: 43.64 kB / 371.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.2198, allocations: 171.8 kB / 371.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002392/0.2222, allocations: 2.331 MB / 374.2 MB, free: 2.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.2362, allocations: 9.971 MB / 384.2 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04534/0.2816, allocations: 41.66 MB / 425.8 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007582/0.2892, allocations: 4.81 MB / 430.6 MB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/0.2917, allocations: 2.582 MB / 433.2 MB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007654/0.2993, allocations: 7.04 MB / 440.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.2994, allocations: 55.88 kB / 440.3 MB, free: 15.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 4.809e-06/0.2994, allocations: 0 / 440.3 MB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.03201/0.3314, allocations: 21.33 MB / 461.6 MB, free: 10.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.3315, allocations: 184.2 kB / 461.8 MB, free: 9.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/0.3354, allocations: 4.193 MB / 466 MB, free: 5.805 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.3355, allocations: 61.7 kB / 466.1 MB, free: 5.738 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.3372, allocations: 3.52 MB / 469.6 MB, free: 2.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000636/0.3378, allocations: 0.9186 MB / 470.5 MB, free: 1.262 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1647/0.5026, allocations: 1.37 MB / 471.9 MB, free: 136.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.5026, allocations: 305.4 kB / 472.2 MB, free: 136.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003645/0.5062, allocations: 2.703 MB / 474.9 MB, free: 136.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004487/0.5107, allocations: 6.643 MB / 481.5 MB, free: 130 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008054/0.5188, allocations: 10.07 MB / 491.6 MB, free: 122.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.808e-05/0.5189, allocations: 38.62 kB / 491.6 MB, free: 122.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01142/0.5303, allocations: 10.13 MB / 0.49 GB, free: 118.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.5303, allocations: 62.38 kB / 0.4901 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.766e-05/0.5304, allocations: 136.4 kB / 0.4902 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.532, allocations: 1.198 MB / 0.4914 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.5345, allocations: 1.601 MB / 0.4929 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.5396, allocations: 7.098 MB / 0.4999 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/0.5422, allocations: 419 kB / 0.5003 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/0.5426, allocations: 410 kB / 0.5007 GB, free: 113.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002445/0.545, allocations: 2.379 MB / 0.503 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.5454, allocations: 366.8 kB / 0.5033 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/0.5497, allocations: 4.7 MB / 0.5079 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.5497, allocations: 27.75 kB / 0.5079 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5497, allocations: 4 kB / 0.508 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.5497, allocations: 14.31 kB / 0.508 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009148/0.5588, allocations: 9.568 MB / 0.5173 GB, free: 97.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.5589, allocations: 8.656 kB / 0.5173 GB, free: 97.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009438/0.5598, allocations: 427.3 kB / 0.5177 GB, free: 97.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.5611, allocations: 1.027 MB / 0.5187 GB, free: 96.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.5612, allocations: 46.8 kB / 0.5188 GB, free: 96.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004596/0.5658, allocations: 6.722 MB / 0.5253 GB, free: 89.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5658, allocations: 7.938 kB / 0.5253 GB, free: 89.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006362/0.5722, allocations: 8.089 MB / 0.5332 GB, free: 81.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.5733, allocations: 0.7153 MB / 0.5339 GB, free: 81.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/0.5735, allocations: 46.52 kB / 0.534 GB, free: 81.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009399/0.5745, allocations: 183.7 kB / 0.5342 GB, free: 80.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.5747, allocations: 153.6 kB / 0.5343 GB, free: 80.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.5748, allocations: 76.16 kB / 0.5344 GB, free: 80.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002155/0.577, allocations: 2.45 MB / 0.5368 GB, free: 78.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.577, allocations: 0 / 0.5368 GB, free: 78.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003825/0.5808, allocations: 1.266 MB / 0.538 GB, free: 76.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * 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 (198): * Single equations (assignments): 194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003913/0.5812, allocations: 209.1 kB / 0.5382 GB, free: 76.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005696/0.5869, allocations: 6.242 MB / 0.5443 GB, free: 70.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5869, allocations: 0 / 0.5443 GB, free: 70.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.5887, allocations: 2.241 MB / 0.5465 GB, free: 68.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.5902, allocations: 416.3 kB / 0.5469 GB, free: 67.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.6012, allocations: 11.79 MB / 0.5584 GB, free: 56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002061/0.6033, allocations: 3.141 MB / 0.5615 GB, free: 52.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008528/0.6041, allocations: 312.4 kB / 0.5618 GB, free: 52.53 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6041, allocations: 0 / 0.5618 GB, free: 52.53 MB / 426.7 MB Notification: Performance of Templates: time 0.21/0.8141, allocations: 89.17 MB / 0.6488 GB, free: 132.4 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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: 8.572517286986113]