Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.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.000943/0.000943, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001478/0.001478, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.907/0.907, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.0288/0.0288, allocations: 7.184 MB / 267.4 MB, free: 5.945 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/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(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 286 MB, free: 3.359 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.203e-05, allocations: 10.25 kB / 286 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.1283/0.1283, allocations: 13.59 MB / 299.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008041/0.1363, allocations: 4.718 MB / 304.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.138, allocations: 89.34 kB / 304.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.1401, allocations: 1.714 MB / 306.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.1446, allocations: 2.715 MB / 308.9 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009588/0.1456, allocations: 0.6306 MB / 309.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004465/0.15, allocations: 5.618 MB / 315.1 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002392/0.1524, allocations: 3.152 MB / 318.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.1555, allocations: 2.747 MB / 321 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002638/0.1581, allocations: 2.536 MB / 323.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007052/0.1589, allocations: 384 kB / 323.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.1604, allocations: 1.17 MB / 325.1 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.1617, allocations: 2.411 MB / 327.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.1634, allocations: 1.499 MB / 329 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.1676, allocations: 5.719 MB / 334.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1676, allocations: 0 / 334.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1676, allocations: 0 / 334.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.676e-05/0.1677, allocations: 0 / 334.7 MB, free: 15.28 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2081 * Number of variables: 2081 Notification: Performance of Generate backend data structure: time 0.006319/0.174, allocations: 5.896 MB / 340.6 MB, free: 9.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.174, allocations: 16.56 kB / 340.6 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/0.1787, allocations: 1.803 MB / 342.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/0.1814, allocations: 2.121 MB / 344.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.1815, allocations: 271.3 kB / 344.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004699/0.182, allocations: 364.2 kB / 345.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006944/0.1889, allocations: 6.465 MB / 351.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.189, allocations: 48.19 kB / 351.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/0.1894, allocations: 179.8 kB / 351.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002421/0.1918, allocations: 2.789 MB / 354.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007341/0.1991, allocations: 3.483 MB / 358.1 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03519/0.2343, allocations: 40.08 MB / 398.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004482/0.2388, allocations: 2.823 MB / 401 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/0.2394, allocations: 477.1 kB / 401.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006449/0.2459, allocations: 4.462 MB / 406 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.2459, allocations: 59.81 kB / 406 MB, free: 5.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=240): time 5.2e-06/0.2459, allocations: 0 / 406 MB, free: 5.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=268): time 0.0124/0.2583, allocations: 6.383 MB / 412.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.2584, allocations: 154.5 kB / 412.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00327/0.2616, allocations: 3.931 MB / 416.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.2618, allocations: 61.7 kB / 416.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001885/0.2636, allocations: 4.092 MB / 420.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005967/0.2642, allocations: 1.046 MB / 421.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/0.2654, allocations: 1.565 MB / 423.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.2655, allocations: 301.1 kB / 423.6 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.267, allocations: 0.9964 MB / 424.6 MB, free: 2.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/0.2707, allocations: 5.671 MB / 430.2 MB, free: 10.78 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006271/0.277, allocations: 7.432 MB / 437.7 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-05/0.2771, allocations: 48 kB / 437.7 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.1359/0.4131, allocations: 5.514 MB / 443.2 MB, free: 115.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.4132, allocations: 78.47 kB / 443.3 MB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002716/0.4134, allocations: 171.7 kB / 443.5 MB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009883/0.4144, allocations: 420.9 kB / 443.9 MB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003583/0.418, allocations: 1.807 MB / 445.7 MB, free: 115 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.4205, allocations: 3.732 MB / 449.4 MB, free: 112.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00319/0.4237, allocations: 347.1 kB / 449.7 MB, free: 112.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004546/0.4241, allocations: 438.4 kB / 450.2 MB, free: 112.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 781 * Number of states: 0 () * Number of discrete variables: 36 (fixedRotation3D.color[3],fixedRotation3D.color[2],fixedRotation3D.color[1],body3D.sphereColor[3],body3D.sphereColor[2],body3D.sphereColor[1],prismatic3D.boxColor[3],prismatic3D.boxColor[2],prismatic3D.boxColor[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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1019): * Single equations (assignments): 1009 * Array equations: 8 * 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,17,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001492/0.4256, allocations: 0.7704 MB / 450.9 MB, free: 112 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000436/0.426, allocations: 284.4 kB / 451.2 MB, free: 112 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.4274, allocations: 1.224 MB / 452.4 MB, free: 111.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.4274, allocations: 35.42 kB / 452.5 MB, free: 111.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4274, allocations: 3.875 kB / 452.5 MB, free: 111.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4274, allocations: 15.19 kB / 452.5 MB, free: 111.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005645/0.4331, allocations: 5.087 MB / 457.6 MB, free: 111 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.4331, allocations: 10.8 kB / 457.6 MB, free: 111 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.4338, allocations: 323.7 kB / 457.9 MB, free: 111 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005807/0.4343, allocations: 415.3 kB / 458.3 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.823e-05/0.4344, allocations: 45.73 kB / 458.4 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.4358, allocations: 2.961 MB / 461.3 MB, free: 108.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4358, allocations: 10.17 kB / 461.3 MB, free: 108.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.4378, allocations: 2.29 MB / 463.6 MB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005162/0.4383, allocations: 378.7 kB / 464 MB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003789/0.4387, allocations: 51.86 kB / 464 MB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009321/0.4396, allocations: 46.38 kB / 464.1 MB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.4398, allocations: 158.7 kB / 464.2 MB, free: 107.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.44, allocations: 54.03 kB / 464.3 MB, free: 107.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001462/0.4414, allocations: 1.425 MB / 465.7 MB, free: 107.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4414, allocations: 0 / 465.7 MB, free: 107.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004702/0.4461, allocations: 1.286 MB / 467 MB, free: 106.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel,prismatic3D.s,prismatic3D.v) * 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 (203): * Single equations (assignments): 195 * Array equations: 6 * 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,15,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003458/0.4465, allocations: 189.8 kB / 467.2 MB, free: 106.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003961/0.4504, allocations: 3.464 MB / 470.7 MB, free: 103.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002006/0.4506, allocations: 114 kB / 470.8 MB, free: 103.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008702/0.4515, allocations: 0.8899 MB / 471.7 MB, free: 102.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.4534, allocations: 0.5199 MB / 472.2 MB, free: 102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.4656, allocations: 10.22 MB / 482.4 MB, free: 92.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.4671, allocations: 1.657 MB / 484.1 MB, free: 90.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001946/0.4691, allocations: 0.6554 MB / 484.7 MB, free: 90.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.4701, allocations: 0.6925 MB / 485.4 MB, free: 89.6 MB / 394.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4701, allocations: 0 / 485.4 MB, free: 89.6 MB / 394.7 MB Notification: Performance of Templates: time 0.05369/0.5238, allocations: 37.02 MB / 0.5102 GB, free: 53.26 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0029754200950265]