Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.001283/0.001283, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001003/0.001003, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9437/0.9437, allocations: 177 MB / 204.8 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2507/0.2507, allocations: 34.86 MB / 296.3 MB, free: 0.4922 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.295e-05, allocations: 4.281 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01348/0.01351, allocations: 15 MB / 393.8 MB, free: 3.008 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008621/0.02213, allocations: 4.863 MB / 398.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/0.02428, allocations: 123.4 kB / 398.8 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005727/0.03001, allocations: 5.37 MB / 404.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.0353, allocations: 2.64 MB / 406.8 MB, free: 5.969 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.03754, allocations: 1.232 MB / 408 MB, free: 4.734 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00826/0.0458, allocations: 7.656 MB / 415.7 MB, free: 13.06 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005626/0.05143, allocations: 5.15 MB / 420.8 MB, free: 7.828 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005723/0.05715, allocations: 3.664 MB / 424.5 MB, free: 4.156 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005083/0.06223, allocations: 3.542 MB / 428 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.06367, allocations: 0.5156 MB / 428.5 MB, free: 92 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.06638, allocations: 1.358 MB / 429.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002463/0.06884, allocations: 3.226 MB / 433.1 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002857/0.0717, allocations: 1.978 MB / 435.1 MB, free: 9.512 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008156/0.07985, allocations: 6.714 MB / 441.8 MB, free: 2.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.07986, allocations: 0 / 441.8 MB, free: 2.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.07986, allocations: 0 / 441.8 MB, free: 2.773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003566/0.08022, allocations: 4 kB / 441.8 MB, free: 2.77 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.1714/0.2516, allocations: 8.03 MB / 449.8 MB, free: 93.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.2516, allocations: 8.281 kB / 449.9 MB, free: 93.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006944/0.2586, allocations: 3.385 MB / 453.2 MB, free: 93.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005552/0.2641, allocations: 3.786 MB / 457 MB, free: 92.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.2643, allocations: 352.5 kB / 457.4 MB, free: 92.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006244/0.2649, allocations: 480.5 kB / 457.8 MB, free: 92.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/0.2774, allocations: 9.156 MB / 467 MB, free: 87.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001787/0.2776, allocations: 62.78 kB / 467.1 MB, free: 87.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003976/0.278, allocations: 231.7 kB / 467.3 MB, free: 86.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002652/0.2806, allocations: 2.743 MB / 470 MB, free: 86.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.2931, allocations: 5.199 MB / 475.2 MB, free: 85.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04735/0.3405, allocations: 61.97 MB / 0.5246 GB, free: 32.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008222/0.3487, allocations: 3.997 MB / 0.5285 GB, free: 28.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.3503, allocations: 1.173 MB / 0.5297 GB, free: 27.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007139/0.3575, allocations: 5.746 MB / 0.5353 GB, free: 21.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.3575, allocations: 67.33 kB / 0.5353 GB, free: 21.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 4.889e-06/0.3575, allocations: 4 kB / 0.5353 GB, free: 21.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=288): time 0.04277/0.4003, allocations: 24.12 MB / 0.5589 GB, free: 13.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.4004, allocations: 239.6 kB / 0.5591 GB, free: 12.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006483/0.4069, allocations: 5.038 MB / 0.564 GB, free: 7.879 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005413/0.4074, allocations: 65.7 kB / 0.5641 GB, free: 7.809 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002649/0.41, allocations: 4.777 MB / 0.5688 GB, free: 3.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001609/0.4117, allocations: 1.188 MB / 0.5699 GB, free: 1.898 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00214/0.4138, allocations: 1.908 MB / 0.5718 GB, free: 15.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4139, allocations: 476.8 kB / 0.5722 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.416, allocations: 1.141 MB / 0.5734 GB, free: 14.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006126/0.4221, allocations: 8.588 MB / 0.5817 GB, free: 2.402 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.4327, allocations: 10.7 MB / 0.5922 GB, free: 4.383 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001994/0.4329, allocations: 48 kB / 0.5922 GB, free: 4.336 MB / 458.7 MB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.01699/0.4499, allocations: 8.864 MB / 0.6009 GB, free: 11.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.45, allocations: 80 kB / 0.601 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/0.4502, allocations: 176 kB / 0.6011 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/0.4537, allocations: 1.474 MB / 0.6026 GB, free: 9.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/0.4582, allocations: 2.016 MB / 0.6045 GB, free: 7.711 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.202/0.6603, allocations: 7.59 MB / 0.612 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005772/0.666, allocations: 0.5546 MB / 0.6125 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/0.6671, allocations: 0.5086 MB / 0.613 GB, free: 127.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1051 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002151/0.6692, allocations: 0.8613 MB / 0.6138 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009235/0.6702, allocations: 0.5687 MB / 0.6144 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005462/0.6756, allocations: 3.637 MB / 0.6179 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/0.6757, allocations: 33.91 kB / 0.618 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-05/0.6757, allocations: 11.38 kB / 0.618 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.6757, allocations: 16.36 kB / 0.618 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.6893, allocations: 9.314 MB / 0.6271 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.6893, allocations: 6.156 kB / 0.6271 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.6905, allocations: 493.7 kB / 0.6276 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/0.6933, allocations: 1.239 MB / 0.6288 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/0.6934, allocations: 55.48 kB / 0.6288 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006681/0.7001, allocations: 7.154 MB / 0.6358 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.7001, allocations: 9.938 kB / 0.6358 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00716/0.7073, allocations: 5.149 MB / 0.6409 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009029/0.7082, allocations: 491.2 kB / 0.6413 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/0.7086, allocations: 56.78 kB / 0.6414 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.7099, allocations: 255.4 kB / 0.6416 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/0.7103, allocations: 192.5 kB / 0.6418 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.7104, allocations: 76.94 kB / 0.6419 GB, free: 121.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002907/0.7133, allocations: 2.181 MB / 0.644 GB, free: 120.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7133, allocations: 0 / 0.644 GB, free: 120.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005696/0.719, allocations: 1.745 MB / 0.6457 GB, free: 120.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004959/0.7195, allocations: 207.7 kB / 0.6459 GB, free: 120.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007843/0.7273, allocations: 5.004 MB / 0.6508 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.7274, allocations: 0 / 0.6508 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002837/0.7302, allocations: 1.976 MB / 0.6527 GB, free: 118.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.7329, allocations: 0.6246 MB / 0.6533 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.7483, allocations: 11.83 MB / 0.6649 GB, free: 112.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/0.7504, allocations: 1.858 MB / 0.6667 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003685/0.7541, allocations: 2.24 MB / 0.6689 GB, free: 111.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009323/0.7551, allocations: 344.8 kB / 0.6692 GB, free: 110.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.502e-06/0.7551, allocations: 0 / 0.6692 GB, free: 110.9 MB / 474.7 MB Notification: Performance of Templates: time 0.0686/0.8237, allocations: 57.69 MB / 0.7256 GB, free: 56.32 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","",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.290959909092635]