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.001809/0.001809, allocations: 81.5 kB / 19.44 MB, free: 344 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.001983/0.001983, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.645/1.645, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.05437/0.05437, allocations: 7.168 MB / 266.7 MB, free: 6.098 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 1.223e-06/1.223e-06, allocations: 0 / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.356e-05, allocations: 2.312 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.007241/0.007265, allocations: 8.525 MB / 346.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004853/0.01212, allocations: 2.676 MB / 349.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008106/0.01293, allocations: 43.88 kB / 349.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009333/0.01386, allocations: 393.2 kB / 349.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.01756, allocations: 1.528 MB / 351.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.01805, allocations: 179.6 kB / 351.5 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003608/0.02165, allocations: 2.678 MB / 354.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.02327, allocations: 0.8641 MB / 355 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.02557, allocations: 1.446 MB / 356.4 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/0.02812, allocations: 1.352 MB / 357.8 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006534/0.02878, allocations: 240 kB / 358 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.0306, allocations: 0.8385 MB / 358.9 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.03207, allocations: 1.293 MB / 360.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.03361, allocations: 0.8526 MB / 361 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007758/0.04137, allocations: 5.085 MB / 366.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.04138, allocations: 0 / 366.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.04138, allocations: 0 / 366.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001281/0.04151, allocations: 0 / 366.1 MB, free: 14.45 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.01265/0.05416, allocations: 4.702 MB / 370.8 MB, free: 9.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.05421, allocations: 12.62 kB / 370.8 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008592/0.0628, allocations: 2.222 MB / 373 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.06646, allocations: 1.289 MB / 374.3 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.06663, allocations: 156.2 kB / 374.5 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004984/0.06713, allocations: 204.2 kB / 374.7 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.07806, allocations: 4.61 MB / 379.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.07817, allocations: 23.81 kB / 379.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003408/0.07851, allocations: 95.88 kB / 379.4 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003587/0.0821, allocations: 1.852 MB / 381.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.09241, allocations: 2.901 MB / 384.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1999/0.2923, allocations: 37.09 MB / 421.3 MB, free: 54.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/0.2968, allocations: 1.228 MB / 422.5 MB, free: 54.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008886/0.2977, allocations: 406.6 kB / 422.9 MB, free: 54.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006952/0.3046, allocations: 2.814 MB / 425.7 MB, free: 53.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3047, allocations: 46.23 kB / 425.7 MB, free: 53.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 4.258e-06/0.3047, allocations: 3.469 kB / 425.7 MB, free: 53.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.01012/0.3148, allocations: 4.564 MB / 430.3 MB, free: 52.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.3148, allocations: 69.09 kB / 430.4 MB, free: 52.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003338/0.3182, allocations: 2.823 MB / 433.2 MB, free: 51.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.631e-05/0.3183, allocations: 50.72 kB / 433.2 MB, free: 51.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.3194, allocations: 2.471 MB / 435.7 MB, free: 49.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/0.3198, allocations: 0.6543 MB / 436.4 MB, free: 49.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/0.321, allocations: 1.034 MB / 437.4 MB, free: 48.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3211, allocations: 0.5518 MB / 438 MB, free: 48.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.3222, allocations: 0.5412 MB / 438.5 MB, free: 48.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.3244, allocations: 3.871 MB / 442.4 MB, free: 43.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.328, allocations: 4.782 MB / 447.1 MB, free: 38.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.307e-05/0.3281, allocations: 20 kB / 447.2 MB, free: 38.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=524) (initialization): time 0.005687/0.3338, allocations: 3.591 MB / 450.8 MB, free: 34.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.3338, allocations: 36 kB / 450.8 MB, free: 34.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-05/0.3339, allocations: 76 kB / 450.9 MB, free: 34.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008823/0.3348, allocations: 305.9 kB / 451.2 MB, free: 34.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/0.3371, allocations: 0.8695 MB / 452 MB, free: 33.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.3402, allocations: 3.27 MB / 455.3 MB, free: 30.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.3428, allocations: 199.9 kB / 455.5 MB, free: 29.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/0.3431, allocations: 228 kB / 455.7 MB, free: 29.67 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.001275/0.3443, allocations: 0.5744 MB / 456.3 MB, free: 29.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.3446, allocations: 242.6 kB / 456.5 MB, free: 28.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.3467, allocations: 1.141 MB / 457.7 MB, free: 27.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001014/0.3468, allocations: 23.98 kB / 457.7 MB, free: 27.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3468, allocations: 4 kB / 457.7 MB, free: 27.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.3468, allocations: 10.91 kB / 457.7 MB, free: 27.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008124/0.355, allocations: 4.907 MB / 462.6 MB, free: 22.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.355, allocations: 4.062 kB / 462.6 MB, free: 22.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007641/0.3557, allocations: 203.8 kB / 462.8 MB, free: 22.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006791/0.3564, allocations: 205.7 kB / 463 MB, free: 22.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.418e-05/0.3565, allocations: 24 kB / 463 MB, free: 22.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.3586, allocations: 2.572 MB / 465.6 MB, free: 19.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3586, allocations: 7.938 kB / 465.6 MB, free: 19.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.3615, allocations: 1.726 MB / 467.4 MB, free: 17.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008889/0.3624, allocations: 322.5 kB / 467.7 MB, free: 17.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.3626, allocations: 24 kB / 467.7 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007224/0.3633, allocations: 71.42 kB / 467.8 MB, free: 17.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.3635, allocations: 92.72 kB / 467.9 MB, free: 17.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.014e-05/0.3636, allocations: 43.98 kB / 467.9 MB, free: 17.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001615/0.3652, allocations: 1.159 MB / 469.1 MB, free: 16.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3652, allocations: 4 kB / 469.1 MB, free: 16.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00302/0.3682, allocations: 0.6718 MB / 469.7 MB, free: 15.37 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.0003386/0.3685, allocations: 163.3 kB / 469.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00431/0.3728, allocations: 2.355 MB / 472.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.3728, allocations: 4 kB / 472.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009834/0.3738, allocations: 0.7483 MB / 473 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.3753, allocations: 313.3 kB / 473.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008806/0.3841, allocations: 5.61 MB / 478.9 MB, free: 6.086 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.3859, allocations: 1.845 MB / 480.8 MB, free: 4.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002013/0.3879, allocations: 0.9866 MB / 481.7 MB, free: 3.211 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.3882, allocations: 152.5 kB / 481.9 MB, free: 3.062 MB / 330.7 MB Notification: Performance of SimCode: time 1.824e-06/0.3882, allocations: 0 / 481.9 MB, free: 3.062 MB / 330.7 MB Notification: Performance of Templates: time 0.04363/0.4318, allocations: 21.28 MB / 0.4914 GB, free: 14.11 MB / 362.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: 5.651526210014708]