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.001247/0.001247, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001367/0.001367, allocations: 169 kB / 23.02 MB, free: 1.547 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.9726/0.9726, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.02908/0.02908, allocations: 7.173 MB / 267.1 MB, free: 6.039 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.122e-06/1.122e-06, allocations: 0 / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.841e-05, allocations: 4.844 kB / 338.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.009147/0.009165, allocations: 13.88 MB / 352.7 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007887/0.01705, allocations: 4.578 MB / 357.3 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.01848, allocations: 87.62 kB / 357.4 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.02065, allocations: 1.7 MB / 359.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003948/0.0246, allocations: 2.703 MB / 361.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008719/0.02547, allocations: 0.6276 MB / 362.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004782/0.03025, allocations: 5.634 MB / 368.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002596/0.03285, allocations: 3.064 MB / 371.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.03523, allocations: 2.72 MB / 373.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002275/0.03751, allocations: 2.712 MB / 376.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009152/0.03842, allocations: 388 kB / 376.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.04007, allocations: 1.174 MB / 378.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.04163, allocations: 2.423 MB / 380.5 MB, free: 352 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.04348, allocations: 1.504 MB / 382 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00535/0.04883, allocations: 5.743 MB / 387.8 MB, free: 9.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.04883, allocations: 4 kB / 387.8 MB, free: 9.066 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.04883, allocations: 3.938 kB / 387.8 MB, free: 9.062 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001261/0.04896, allocations: 0 / 387.8 MB, free: 9.062 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: 2081 * Number of variables: 2081 Notification: Performance of Generate backend data structure: time 0.00874/0.0577, allocations: 7.155 MB / 394.9 MB, free: 1.836 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.05774, allocations: 8.625 kB / 395 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007253/0.06499, allocations: 4.19 MB / 399.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/0.06826, allocations: 2.534 MB / 401.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.0684, allocations: 275.1 kB / 401.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005074/0.0689, allocations: 359.7 kB / 402.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008855/0.07776, allocations: 7.793 MB / 410.1 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.212e-05/0.07785, allocations: 55.56 kB / 410.1 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003517/0.0782, allocations: 175.8 kB / 410.3 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1312/0.2094, allocations: 3.136 MB / 413.5 MB, free: 63.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.2204, allocations: 4.205 MB / 417.7 MB, free: 63.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03755/0.2579, allocations: 56.47 MB / 474.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00635/0.2643, allocations: 3.01 MB / 477.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.2654, allocations: 0.6458 MB / 477.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007715/0.2731, allocations: 5.086 MB / 482.9 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2731, allocations: 58.7 kB / 482.9 MB, free: 6.199 MB / 330.7 MB Notification: Performance of pre-optimization done (n=242): time 4.939e-06/0.2731, allocations: 0 / 482.9 MB, free: 6.199 MB / 330.7 MB Notification: Performance of matching and sorting (n=272): time 0.02544/0.2986, allocations: 10.75 MB / 493.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.2987, allocations: 162.5 kB / 493.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006806/0.3055, allocations: 4.387 MB / 498.2 MB, free: 7.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.3056, allocations: 66.2 kB / 498.3 MB, free: 7.156 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002102/0.3077, allocations: 4.457 MB / 0.491 GB, free: 2.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008422/0.3085, allocations: 1.117 MB / 0.4921 GB, free: 1.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001651/0.3102, allocations: 1.787 MB / 0.4938 GB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3103, allocations: 476.8 kB / 0.4943 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.3119, allocations: 0.8398 MB / 0.4951 GB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004489/0.3164, allocations: 7.97 MB / 0.5029 GB, free: 3.301 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006612/0.323, allocations: 9.727 MB / 0.5124 GB, free: 6.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.039e-05/0.3231, allocations: 52 kB / 0.5124 GB, free: 6.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.00822/0.3313, allocations: 6.915 MB / 0.5192 GB, free: 15.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.93e-05/0.3313, allocations: 76 kB / 0.5192 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/0.3315, allocations: 172 kB / 0.5194 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007262/0.3322, allocations: 461.5 kB / 0.5198 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00306/0.3353, allocations: 1.856 MB / 0.5216 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.3384, allocations: 5.032 MB / 0.5266 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/0.3412, allocations: 483.4 kB / 0.527 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004154/0.3417, allocations: 499.6 kB / 0.5275 GB, free: 6.609 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 772 * 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 (1014): * Single equations (assignments): 1004 * 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.001434/0.3431, allocations: 0.801 MB / 0.5283 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004763/0.3436, allocations: 0.4928 MB / 0.5288 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.3455, allocations: 1.569 MB / 0.5303 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.3456, allocations: 28 kB / 0.5303 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3456, allocations: 4 kB / 0.5303 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.3456, allocations: 19.23 kB / 0.5303 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008318/0.3539, allocations: 6.377 MB / 0.5366 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.3539, allocations: 8 kB / 0.5366 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008673/0.3548, allocations: 379.5 kB / 0.5369 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004865/0.3553, allocations: 231.2 kB / 0.5372 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.3554, allocations: 48 kB / 0.5372 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.3577, allocations: 4.223 MB / 0.5413 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3577, allocations: 11.94 kB / 0.5413 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.3608, allocations: 3.005 MB / 0.5443 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.3612, allocations: 405 kB / 0.5447 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.3615, allocations: 44 kB / 0.5447 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007827/0.3623, allocations: 143.8 kB / 0.5448 GB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.3625, allocations: 169.5 kB / 0.545 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.366e-05/0.3626, allocations: 75.36 kB / 0.5451 GB, free: 4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001898/0.3644, allocations: 1.84 MB / 0.5469 GB, free: 2.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3644, allocations: 4 kB / 0.5469 GB, free: 2.152 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003555/0.368, allocations: 1.281 MB / 0.5481 GB, free: 0.8711 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (207): * Single equations (assignments): 199 * 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.0003415/0.3683, allocations: 213.2 kB / 0.5483 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1099/0.4782, allocations: 4.082 MB / 0.5523 GB, free: 131.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.4782, allocations: 1.688 kB / 0.5523 GB, free: 131.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.4795, allocations: 1.175 MB / 0.5535 GB, free: 131.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.4815, allocations: 0.5215 MB / 0.554 GB, free: 131 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.4915, allocations: 10.18 MB / 0.5639 GB, free: 126.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.4927, allocations: 1.674 MB / 0.5656 GB, free: 126.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002692/0.4954, allocations: 2.278 MB / 0.5678 GB, free: 126.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/0.4959, allocations: 305.9 kB / 0.5681 GB, free: 126.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.4959, allocations: 0 / 0.5681 GB, free: 126.4 MB / 410.7 MB Notification: Performance of Templates: time 0.04424/0.5401, allocations: 33.16 MB / 0.6004 GB, free: 96.85 MB / 410.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.415801166091114]