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.001381/0.001381, allocations: 93.06 kB / 19.65 MB, free: 276 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.001652/0.001652, 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 1.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03262/0.03262, allocations: 7.186 MB / 267.1 MB, free: 6.047 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.753e-06/1.753e-06, allocations: 0 / 338.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.895e-05, allocations: 6.312 kB / 338.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.008863/0.008882, allocations: 13.87 MB / 352.7 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007321/0.0162, allocations: 4.582 MB / 357.3 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.01754, allocations: 87.62 kB / 357.4 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.01953, allocations: 1.708 MB / 359.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.02348, allocations: 2.703 MB / 361.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008409/0.02432, allocations: 0.6276 MB / 362.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004619/0.02894, allocations: 5.632 MB / 368.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.03123, allocations: 3.064 MB / 371.1 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.03345, allocations: 2.755 MB / 373.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.03556, allocations: 2.665 MB / 376.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003568/0.03592, allocations: 388 kB / 376.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.03723, allocations: 1.182 MB / 378.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.03845, allocations: 2.411 MB / 380.5 MB, free: 360 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.03968, allocations: 1.503 MB / 382 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.04365, allocations: 5.719 MB / 387.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.04365, allocations: 4 kB / 387.8 MB, free: 9.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.04365, allocations: 0 / 387.8 MB, free: 9.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.034e-05/0.0437, allocations: 0 / 387.8 MB, free: 9.098 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.007507/0.05121, allocations: 7.132 MB / 394.9 MB, free: 1.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.05124, allocations: 8.625 kB / 394.9 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006839/0.05808, allocations: 4.186 MB / 399.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/0.06049, allocations: 2.608 MB / 401.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.06062, allocations: 271.1 kB / 402 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/0.06102, allocations: 363.7 kB / 402.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008294/0.06931, allocations: 7.797 MB / 410.1 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.009e-05/0.06939, allocations: 51.56 kB / 410.2 MB, free: 1.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003202/0.06971, allocations: 175.8 kB / 410.3 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1124/0.1821, allocations: 3.138 MB / 413.5 MB, free: 63.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.1942, allocations: 4.199 MB / 417.7 MB, free: 63.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03339/0.2276, allocations: 56.51 MB / 474.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005751/0.2333, allocations: 2.993 MB / 477.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007545/0.2341, allocations: 0.6438 MB / 477.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005077/0.2391, allocations: 5.072 MB / 482.9 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2392, allocations: 62.69 kB / 482.9 MB, free: 6.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=240): time 3.747e-06/0.2392, allocations: 0 / 482.9 MB, free: 6.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=268): time 0.0137/0.2529, allocations: 10.66 MB / 493.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.2529, allocations: 154.5 kB / 493.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/0.2567, allocations: 4.415 MB / 498.2 MB, free: 7.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.2568, allocations: 64.28 kB / 498.2 MB, free: 7.184 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/0.2587, allocations: 4.478 MB / 0.4909 GB, free: 2.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008098/0.2596, allocations: 1.102 MB / 0.492 GB, free: 1.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/0.261, allocations: 1.796 MB / 0.4938 GB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.2611, allocations: 484.7 kB / 0.4942 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.2624, allocations: 0.8398 MB / 0.495 GB, free: 14.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004536/0.2669, allocations: 8.05 MB / 0.5029 GB, free: 3.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007112/0.274, allocations: 9.817 MB / 0.5125 GB, free: 6.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.934e-05/0.2741, allocations: 48 kB / 0.5125 GB, free: 6.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.008296/0.2824, allocations: 6.952 MB / 0.5193 GB, free: 15.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.2825, allocations: 80 kB / 0.5194 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/0.2826, allocations: 172 kB / 0.5196 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007311/0.2833, allocations: 461.9 kB / 0.52 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/0.2865, allocations: 1.868 MB / 0.5218 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.2894, allocations: 5.038 MB / 0.5267 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.2918, allocations: 483.5 kB / 0.5272 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003838/0.2922, allocations: 499.3 kB / 0.5277 GB, free: 6.293 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.001203/0.2934, allocations: 0.812 MB / 0.5285 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006461/0.2941, allocations: 493.1 kB / 0.5289 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.2959, allocations: 1.561 MB / 0.5305 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.2959, allocations: 32 kB / 0.5305 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2959, allocations: 4 kB / 0.5305 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.2959, allocations: 11.95 kB / 0.5305 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007312/0.3032, allocations: 6.291 MB / 0.5367 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.3033, allocations: 8 kB / 0.5367 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.3041, allocations: 375.4 kB / 0.537 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/0.3045, allocations: 235.1 kB / 0.5373 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.252e-05/0.3046, allocations: 48 kB / 0.5373 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.3067, allocations: 4.213 MB / 0.5414 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.3067, allocations: 11.94 kB / 0.5414 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.3099, allocations: 2.969 MB / 0.5443 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/0.3103, allocations: 401 kB / 0.5447 GB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.3106, allocations: 47.98 kB / 0.5448 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007854/0.3114, allocations: 143.3 kB / 0.5449 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.3116, allocations: 160.9 kB / 0.545 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-05/0.3116, allocations: 72 kB / 0.5451 GB, free: 3.867 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001851/0.3135, allocations: 1.852 MB / 0.5469 GB, free: 2.012 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3135, allocations: 4 kB / 0.5469 GB, free: 2.008 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003219/0.3167, allocations: 1.292 MB / 0.5482 GB, free: 0.7188 MB / 410.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.0003138/0.317, allocations: 201 kB / 0.5484 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1045/0.4215, allocations: 4.092 MB / 0.5524 GB, free: 131.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.4215, allocations: 1.875 kB / 0.5524 GB, free: 131.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.4227, allocations: 1.163 MB / 0.5535 GB, free: 131.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.4246, allocations: 0.5201 MB / 0.554 GB, free: 131.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.4346, allocations: 10.15 MB / 0.5639 GB, free: 127.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.4357, allocations: 1.679 MB / 0.5656 GB, free: 126.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002568/0.4383, allocations: 2.274 MB / 0.5678 GB, free: 126.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/0.4387, allocations: 309.9 kB / 0.5681 GB, free: 126.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.764e-06/0.4387, allocations: 0 / 0.5681 GB, free: 126.7 MB / 410.7 MB Notification: Performance of Templates: time 0.04331/0.482, allocations: 34.49 MB / 0.6018 GB, free: 95.56 MB / 410.7 MB " [Timeout remaining time 660] 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.285851815249771]