Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.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.0009931/0.0009931, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001547/0.001547, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.079/1.079, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.02924/0.02924, allocations: 7.188 MB / 267.4 MB, free: 5.91 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.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") translateModel(PlanarMechanics.Examples.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 339.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.699e-05/4.012e-05, allocations: 2.312 kB / 339.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.008923/0.008963, allocations: 8.427 MB / 347.7 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008005/0.01697, allocations: 2.671 MB / 350.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.01961, allocations: 43.81 kB / 350.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.02104, allocations: 393.2 kB / 350.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005724/0.02676, allocations: 1.536 MB / 352.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009283/0.02769, allocations: 175.7 kB / 352.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005033/0.03272, allocations: 2.683 MB / 355.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/0.03501, allocations: 0.8641 MB / 356.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.03865, allocations: 1.446 MB / 357.5 MB, free: 8.684 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/0.04201, allocations: 1.356 MB / 358.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.04308, allocations: 244 kB / 359.1 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.04534, allocations: 0.8425 MB / 360 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.04688, allocations: 1.285 MB / 361.2 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.04871, allocations: 0.8525 MB / 362.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005461/0.05417, allocations: 3.354 MB / 365.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.05418, allocations: 0 / 365.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.05418, allocations: 0 / 365.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001658/0.05435, allocations: 4 kB / 365.5 MB, free: 0.7266 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.007656/0.062, allocations: 4.221 MB / 369.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.655e-05/0.06208, allocations: 8.625 kB / 369.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.06546, allocations: 1.275 MB / 371 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.06771, allocations: 1.233 MB / 372.2 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.06782, allocations: 152.2 kB / 372.3 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.06812, allocations: 216.1 kB / 372.6 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006651/0.07477, allocations: 3.712 MB / 376.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.334e-05/0.07485, allocations: 35.67 kB / 376.3 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.07506, allocations: 91.88 kB / 376.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001836/0.0769, allocations: 1.653 MB / 378 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007957/0.08485, allocations: 1.906 MB / 380 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03249/0.1173, allocations: 24.87 MB / 404.8 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/0.1201, allocations: 1.007 MB / 405.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003861/0.1205, allocations: 272.3 kB / 406.1 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004295/0.1248, allocations: 2.467 MB / 408.6 MB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.1249, allocations: 42.39 kB / 408.6 MB, free: 4.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=131): time 7.244e-06/0.1249, allocations: 0 / 408.6 MB, free: 4.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.007703/0.1326, allocations: 3.609 MB / 412.2 MB, free: 0.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.1326, allocations: 64.72 kB / 412.3 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.1352, allocations: 2.011 MB / 414.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-05/0.1352, allocations: 45.7 kB / 414.3 MB, free: 14.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.1367, allocations: 2.346 MB / 416.7 MB, free: 12.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006056/0.1373, allocations: 0.6202 MB / 417.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009878/0.1383, allocations: 0.873 MB / 418.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1385, allocations: 0.5276 MB / 418.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.1391, allocations: 335.7 kB / 419 MB, free: 9.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.1415, allocations: 3.535 MB / 422.6 MB, free: 4.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0041/0.1456, allocations: 4.307 MB / 426.9 MB, free: 14.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.336e-05/0.1457, allocations: 20 kB / 426.9 MB, free: 14.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.005509/0.1512, allocations: 3.083 MB / 430 MB, free: 11.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/0.1513, allocations: 37.78 kB / 430 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/0.1514, allocations: 80 kB / 430.1 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006744/0.1521, allocations: 267.4 kB / 430.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.1539, allocations: 0.8617 MB / 431.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003103/0.1571, allocations: 2.946 MB / 434.1 MB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/0.1597, allocations: 160 kB / 434.3 MB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006452/0.1604, allocations: 204 kB / 434.5 MB, free: 7.219 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 16 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],PID.I.local_reset,body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (482): * Single equations (assignments): 477 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001478/0.1618, allocations: 474.2 kB / 435 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004403/0.1623, allocations: 242.6 kB / 435.2 MB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.1636, allocations: 0.9357 MB / 436.1 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.272e-05/0.1637, allocations: 27.98 kB / 436.2 MB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.1637, allocations: 4 kB / 436.2 MB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.1637, allocations: 3.984 kB / 436.2 MB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/0.17, allocations: 3.647 MB / 439.8 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.17, allocations: 4 kB / 439.8 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/0.1705, allocations: 184 kB / 440 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004428/0.1709, allocations: 162.7 kB / 440.2 MB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.537e-05/0.171, allocations: 31.98 kB / 440.2 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.221/0.392, allocations: 2.325 MB / 442.5 MB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.392, allocations: 4.281 kB / 442.5 MB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.3945, allocations: 1.383 MB / 443.9 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006897/0.3952, allocations: 288.2 kB / 444.2 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.3953, allocations: 31.17 kB / 444.2 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.3957, allocations: 28.03 kB / 444.2 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.3959, allocations: 83.86 kB / 444.3 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/0.396, allocations: 38.52 kB / 444.4 MB, free: 123.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001043/0.397, allocations: 0.8361 MB / 445.2 MB, free: 123.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.397, allocations: 0 / 445.2 MB, free: 123.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002725/0.3997, allocations: 0.6834 MB / 445.9 MB, free: 123.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (PID.I.y,PID.D.x,prismatic.s,prismatic.v,revolute.phi,revolute.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 (113): * Single equations (assignments): 108 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003713/0.4001, allocations: 159.8 kB / 446 MB, free: 123.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003032/0.4031, allocations: 1.886 MB / 447.9 MB, free: 122.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4031, allocations: 0 / 447.9 MB, free: 122.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007201/0.4039, allocations: 0.6148 MB / 448.5 MB, free: 122.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.4051, allocations: 308 kB / 448.8 MB, free: 122.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009732/0.4148, allocations: 5.478 MB / 454.3 MB, free: 120.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.4159, allocations: 0.9137 MB / 455.2 MB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001111/0.417, allocations: 302.7 kB / 455.5 MB, free: 120.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/0.4176, allocations: 405.4 kB / 455.9 MB, free: 120.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.725e-06/0.4176, allocations: 4 kB / 455.9 MB, free: 120.2 MB / 410.7 MB Notification: Performance of Templates: time 0.0465/0.4641, allocations: 22.88 MB / 478.8 MB, free: 117.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.265358872245997]