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.001351/0.001351, allocations: 92.7 kB / 19.44 MB, free: 324 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.001524/0.001524, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.454/1.454, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.05086/0.05086, allocations: 7.182 MB / 266.7 MB, free: 6.086 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 2.274e-06/2.274e-06, allocations: 7.938 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.2e-05, allocations: 4.844 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.006927/0.006959, allocations: 7.833 MB / 346 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004502/0.01146, allocations: 2.614 MB / 348.6 MB, free: 72 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.01264, allocations: 47.81 kB / 348.6 MB, free: 24 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.014, allocations: 393.2 kB / 349 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.01816, allocations: 1.528 MB / 350.5 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.01867, allocations: 179.6 kB / 350.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003664/0.02234, allocations: 2.68 MB / 353.4 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.02373, allocations: 0.868 MB / 354.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.02575, allocations: 1.438 MB / 355.7 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/0.02778, allocations: 1.34 MB / 357 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003914/0.02817, allocations: 244 kB / 357.3 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.02972, allocations: 0.8385 MB / 358.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.03109, allocations: 1.285 MB / 359.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.03226, allocations: 0.8564 MB / 360.3 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006501/0.03876, allocations: 5.073 MB / 365.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.03876, allocations: 0 / 365.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.03876, allocations: 0 / 365.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.634e-05/0.03884, allocations: 0 / 365.3 MB, free: 15.24 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.009911/0.04875, allocations: 3.987 MB / 369.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.0488, allocations: 12.62 kB / 369.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007931/0.05673, allocations: 2.292 MB / 371.6 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.05984, allocations: 1.357 MB / 373 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.06001, allocations: 160.2 kB / 373.1 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.06048, allocations: 208.2 kB / 373.3 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/0.07469, allocations: 8.003 MB / 381.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.849e-05/0.07477, allocations: 23.81 kB / 381.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/0.07509, allocations: 95.86 kB / 381.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003707/0.07879, allocations: 1.856 MB / 383.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.09392, allocations: 7.145 MB / 390.5 MB, free: 5.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1496/0.2435, allocations: 22.26 MB / 412.7 MB, free: 70.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004805/0.2483, allocations: 1.986 MB / 414.7 MB, free: 70.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.2494, allocations: 0.7755 MB / 415.5 MB, free: 70.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006135/0.2556, allocations: 3.137 MB / 418.6 MB, free: 69.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2556, allocations: 46.22 kB / 418.7 MB, free: 69.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 3.036e-06/0.2556, allocations: 0 / 418.7 MB, free: 69.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.01151/0.2671, allocations: 6.847 MB / 425.5 MB, free: 67.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.2671, allocations: 63.72 kB / 425.6 MB, free: 67.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.2694, allocations: 2.308 MB / 427.9 MB, free: 66.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/0.2695, allocations: 48.58 kB / 427.9 MB, free: 66.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006924/0.2702, allocations: 2.23 MB / 430.2 MB, free: 64.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.2704, allocations: 0.5931 MB / 430.8 MB, free: 64.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000799/0.2712, allocations: 0.7993 MB / 431.6 MB, free: 63.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.2713, allocations: 352.5 kB / 431.9 MB, free: 63.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.2729, allocations: 1.3 MB / 433.2 MB, free: 63.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.2751, allocations: 3.447 MB / 436.6 MB, free: 59.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.279, allocations: 5.078 MB / 441.7 MB, free: 53.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.633e-05/0.279, allocations: 24 kB / 441.7 MB, free: 53.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=524) (initialization): time 0.0062/0.2852, allocations: 5.116 MB / 446.9 MB, free: 47.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.2853, allocations: 36 kB / 446.9 MB, free: 47.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.185e-05/0.2853, allocations: 76 kB / 447 MB, free: 47.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008873/0.2862, allocations: 383.3 kB / 447.3 MB, free: 47.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.2884, allocations: 0.8734 MB / 448.2 MB, free: 46.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.2918, allocations: 3.512 MB / 451.7 MB, free: 42.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.294, allocations: 199.9 kB / 451.9 MB, free: 42.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/0.2942, allocations: 236 kB / 452.2 MB, free: 42.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (480): * Single equations (assignments): 475 * 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.001606/0.2958, allocations: 1.573 MB / 453.7 MB, free: 40.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.2961, allocations: 245.8 kB / 454 MB, free: 40.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/0.2988, allocations: 1.96 MB / 455.9 MB, free: 38.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.424e-05/0.2989, allocations: 35.86 kB / 456 MB, free: 38.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2989, allocations: 4 kB / 456 MB, free: 38.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.2989, allocations: 11.97 kB / 456 MB, free: 38.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/0.3055, allocations: 4.606 MB / 460.6 MB, free: 34.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.3055, allocations: 4 kB / 460.6 MB, free: 34.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007711/0.3063, allocations: 203.7 kB / 460.8 MB, free: 33.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007542/0.307, allocations: 280.8 kB / 461.1 MB, free: 33.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.402e-05/0.3071, allocations: 29.48 kB / 461.1 MB, free: 33.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.3096, allocations: 2.819 MB / 463.9 MB, free: 30.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3096, allocations: 11.48 kB / 463.9 MB, free: 30.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.3132, allocations: 3.081 MB / 467 MB, free: 27.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/0.3138, allocations: 338.6 kB / 467.3 MB, free: 27.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.314, allocations: 27.94 kB / 467.4 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/0.3148, allocations: 68.55 kB / 467.4 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.3149, allocations: 95 kB / 467.5 MB, free: 26.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/0.315, allocations: 43.98 kB / 467.6 MB, free: 26.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00149/0.3165, allocations: 1.35 MB / 468.9 MB, free: 25.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3165, allocations: 0 / 468.9 MB, free: 25.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002463/0.319, allocations: 0.6757 MB / 469.6 MB, free: 24.87 MB / 330.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.000273/0.3192, allocations: 161.3 kB / 469.7 MB, free: 24.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003786/0.323, allocations: 3.069 MB / 472.8 MB, free: 21.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.323, allocations: 1.625 kB / 472.8 MB, free: 21.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.3241, allocations: 0.9652 MB / 473.8 MB, free: 20.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.3254, allocations: 299.6 kB / 474.1 MB, free: 20.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007919/0.3333, allocations: 6.611 MB / 480.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/0.3353, allocations: 2.041 MB / 482.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002134/0.3374, allocations: 1.135 MB / 483.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/0.3377, allocations: 152.5 kB / 484 MB, free: 10.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3377, allocations: 4 kB / 484 MB, free: 10.33 MB / 330.7 MB Notification: Performance of Templates: time 0.03728/0.375, allocations: 21.31 MB / 0.4935 GB, free: 5.352 MB / 346.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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.277971161995083]