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.001139/0.001139, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001099/0.001099, allocations: 173 kB / 23.49 MB, free: 1.055 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.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.03417/0.03417, allocations: 7.183 MB / 267.5 MB, free: 6.133 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.252e-06/1.252e-06, allocations: 0 / 338.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.337e-05, allocations: 2.312 kB / 338.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.009048/0.009062, allocations: 13.84 MB / 352.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007005/0.01607, allocations: 4.567 MB / 357.3 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01712, allocations: 87.62 kB / 357.4 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.01909, allocations: 1.704 MB / 359.1 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003282/0.02237, allocations: 2.687 MB / 361.8 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007839/0.02315, allocations: 0.6315 MB / 362.4 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003934/0.02709, allocations: 5.633 MB / 368 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.02914, allocations: 3.068 MB / 371.1 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.03116, allocations: 2.708 MB / 373.8 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.03317, allocations: 2.712 MB / 376.5 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.03353, allocations: 388 kB / 376.9 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.0348, allocations: 1.178 MB / 378.1 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.03614, allocations: 2.419 MB / 380.5 MB, free: 0.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.03719, allocations: 1.503 MB / 382 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.04144, allocations: 5.747 MB / 387.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.04144, allocations: 0 / 387.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.04144, allocations: 0 / 387.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.801e-05/0.04149, allocations: 0 / 387.7 MB, free: 9.473 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.007671/0.04916, allocations: 7.159 MB / 394.9 MB, free: 2.242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.0492, allocations: 8.625 kB / 394.9 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007327/0.05652, allocations: 4.19 MB / 399.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.05918, allocations: 2.534 MB / 401.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.05933, allocations: 279.1 kB / 401.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004337/0.05976, allocations: 359.7 kB / 402.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008081/0.06784, allocations: 7.785 MB / 410 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.419e-05/0.06793, allocations: 55.56 kB / 410.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003406/0.06827, allocations: 183.8 kB / 410.3 MB, free: 1.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1273/0.1956, allocations: 3.13 MB / 413.4 MB, free: 71.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.2072, allocations: 4.206 MB / 417.6 MB, free: 70.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03202/0.2392, allocations: 56.48 MB / 474.1 MB, free: 18.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/0.2441, allocations: 3.003 MB / 477.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008414/0.245, allocations: 0.6578 MB / 477.7 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005726/0.2507, allocations: 5.079 MB / 482.8 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.2507, allocations: 74.56 kB / 482.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=242): time 3.858e-06/0.2507, allocations: 0 / 482.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of matching and sorting (n=272): time 0.01506/0.2658, allocations: 10.75 MB / 493.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.2659, allocations: 150.5 kB / 493.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/0.27, allocations: 4.393 MB / 498.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.856e-05/0.2701, allocations: 61.7 kB / 498.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.2723, allocations: 4.456 MB / 0.4909 GB, free: 6.094 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008359/0.2732, allocations: 1.122 MB / 0.492 GB, free: 4.984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/0.2748, allocations: 1.783 MB / 0.4937 GB, free: 3.191 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2749, allocations: 476.8 kB / 0.4942 GB, free: 2.723 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.2763, allocations: 0.8436 MB / 0.495 GB, free: 1.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00455/0.2809, allocations: 7.967 MB / 0.5028 GB, free: 6.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00738/0.2882, allocations: 9.73 MB / 0.5123 GB, free: 9.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.469e-05/0.2883, allocations: 48 kB / 0.5124 GB, free: 9.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.008389/0.2967, allocations: 6.924 MB / 0.5191 GB, free: 2.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.2968, allocations: 76 kB / 0.5192 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001797/0.297, allocations: 168 kB / 0.5193 GB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008399/0.2978, allocations: 453 kB / 0.5198 GB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/0.301, allocations: 1.852 MB / 0.5216 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003568/0.3045, allocations: 5.044 MB / 0.5265 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/0.3076, allocations: 479.2 kB / 0.527 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004522/0.308, allocations: 496 kB / 0.5274 GB, free: 9.887 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.001496/0.3095, allocations: 0.8166 MB / 0.5282 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/0.31, allocations: 497.1 kB / 0.5287 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.3122, allocations: 1.569 MB / 0.5303 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.3122, allocations: 35.52 kB / 0.5303 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3122, allocations: 4 kB / 0.5303 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.3123, allocations: 15.89 kB / 0.5303 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008697/0.3209, allocations: 6.363 MB / 0.5365 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.321, allocations: 8 kB / 0.5365 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008979/0.3219, allocations: 380.3 kB / 0.5369 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005077/0.3224, allocations: 239 kB / 0.5371 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.3225, allocations: 48 kB / 0.5372 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/0.3251, allocations: 4.209 MB / 0.5413 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3251, allocations: 11.97 kB / 0.5413 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/0.3283, allocations: 3.005 MB / 0.5442 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004811/0.3288, allocations: 405 kB / 0.5446 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.3291, allocations: 51.98 kB / 0.5447 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000816/0.3299, allocations: 137.1 kB / 0.5448 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.3301, allocations: 165.6 kB / 0.5449 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.3302, allocations: 73.42 kB / 0.545 GB, free: 7.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002283/0.3325, allocations: 1.844 MB / 0.5468 GB, free: 5.441 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3325, allocations: 0 / 0.5468 GB, free: 5.441 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003905/0.3364, allocations: 1.289 MB / 0.5481 GB, free: 4.156 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.0003769/0.3368, allocations: 213.2 kB / 0.5483 GB, free: 3.945 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1187/0.4555, allocations: 4.077 MB / 0.5523 GB, free: 137.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.4555, allocations: 1.125 kB / 0.5523 GB, free: 137.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.4572, allocations: 1.181 MB / 0.5534 GB, free: 137.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.4593, allocations: 0.5195 MB / 0.5539 GB, free: 137.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.4711, allocations: 10.17 MB / 0.5638 GB, free: 133.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.4724, allocations: 1.68 MB / 0.5655 GB, free: 133.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002797/0.4752, allocations: 2.273 MB / 0.5677 GB, free: 133 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005353/0.4757, allocations: 310.4 kB / 0.568 GB, free: 133 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4757, allocations: 3.5 kB / 0.568 GB, free: 133 MB / 410.7 MB Notification: Performance of Templates: time 0.04445/0.5201, allocations: 33.16 MB / 0.6004 GB, free: 103.6 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.277681127889082]