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.0009412/0.0009412, 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.0009584/0.0009584, 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 0.974/0.974, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.02959/0.02959, allocations: 7.18 MB / 267.1 MB, free: 6.074 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.473e-06/1.473e-06, allocations: 0 / 338.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.084e-05, allocations: 4.703 kB / 338.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.007803/0.007834, allocations: 8.593 MB / 347.5 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004867/0.0127, allocations: 2.691 MB / 350.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.01371, allocations: 39.88 kB / 350.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007897/0.0145, allocations: 397.2 kB / 350.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.01737, allocations: 1.532 MB / 352.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.01775, allocations: 171.6 kB / 352.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002524/0.02027, allocations: 2.698 MB / 355 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008424/0.02111, allocations: 0.868 MB / 355.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.02235, allocations: 1.442 MB / 357.3 MB, free: 8.773 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.02362, allocations: 1.348 MB / 358.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.02385, allocations: 244 kB / 358.9 MB, free: 7.184 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.02493, allocations: 0.8424 MB / 359.7 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007902/0.02572, allocations: 1.285 MB / 361 MB, free: 5.051 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.02635, allocations: 0.8564 MB / 361.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.02932, allocations: 3.35 MB / 365.2 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.02933, allocations: 0 / 365.2 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02933, allocations: 0 / 365.2 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.194e-05/0.02937, allocations: 0 / 365.2 MB, free: 0.8281 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.00546/0.03483, allocations: 4.277 MB / 369.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.03488, allocations: 8.625 kB / 369.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003893/0.03878, allocations: 2.222 MB / 371.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.04036, allocations: 1.285 MB / 373 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/0.04044, allocations: 156.2 kB / 373.1 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/0.04071, allocations: 208.2 kB / 373.3 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004815/0.04552, allocations: 4.064 MB / 377.4 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.223e-05/0.04557, allocations: 31.69 kB / 377.4 MB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.04576, allocations: 99.86 kB / 377.5 MB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001696/0.04746, allocations: 1.848 MB / 379.4 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00483/0.05229, allocations: 2.355 MB / 381.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0195/0.07179, allocations: 25.07 MB / 406.8 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.0743, allocations: 1.085 MB / 407.9 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.07478, allocations: 320.3 kB / 408.2 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003643/0.07842, allocations: 2.631 MB / 410.8 MB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.07845, allocations: 46.39 kB / 410.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=131): time 4.579e-06/0.07846, allocations: 4 kB / 410.9 MB, free: 1.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.006582/0.08504, allocations: 4.252 MB / 415.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.08508, allocations: 64.72 kB / 415.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.0869, allocations: 2.02 MB / 417.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/0.08696, allocations: 53.69 kB / 417.3 MB, free: 11.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.0882, allocations: 2.327 MB / 419.6 MB, free: 9.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.08852, allocations: 0.6125 MB / 420.2 MB, free: 8.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007181/0.08924, allocations: 0.8537 MB / 421.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.08938, allocations: 0.5276 MB / 421.6 MB, free: 6.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006973/0.09008, allocations: 431.7 kB / 422 MB, free: 6.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.09258, allocations: 3.579 MB / 425.6 MB, free: 1.539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004155/0.09673, allocations: 4.401 MB / 430 MB, free: 11.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-05/0.09677, allocations: 28 kB / 430 MB, free: 11.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=524) (initialization): time 0.004101/0.1009, allocations: 3.318 MB / 433.3 MB, free: 8.355 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.1009, allocations: 36 kB / 433.4 MB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.001e-05/0.101, allocations: 76 kB / 433.5 MB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005918/0.1016, allocations: 300.1 kB / 433.7 MB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.103, allocations: 0.8695 MB / 434.6 MB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.106, allocations: 3.073 MB / 437.7 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.1074, allocations: 199.9 kB / 437.9 MB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.1076, allocations: 235.9 kB / 438.1 MB, free: 3.457 MB / 410.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.0009137/0.1086, allocations: 470.3 kB / 438.6 MB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.1088, allocations: 242.6 kB / 438.8 MB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.1102, allocations: 1.037 MB / 439.8 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.008e-05/0.1102, allocations: 23.98 kB / 439.9 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1102, allocations: 4 kB / 439.9 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.1103, allocations: 7.922 kB / 439.9 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.16/0.2703, allocations: 3.805 MB / 443.7 MB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.2703, allocations: 6.281 kB / 443.7 MB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.2707, allocations: 201.5 kB / 443.9 MB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.2712, allocations: 191.7 kB / 444.1 MB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.491e-05/0.2713, allocations: 32.56 kB / 444.1 MB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.2728, allocations: 2.437 MB / 446.5 MB, free: 123.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2728, allocations: 10.52 kB / 446.6 MB, free: 123.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.2746, allocations: 1.521 MB / 448.1 MB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.2752, allocations: 316.8 kB / 448.4 MB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.2753, allocations: 28.09 kB / 448.4 MB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.2757, allocations: 62.83 kB / 448.5 MB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.2758, allocations: 96.25 kB / 448.6 MB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.2759, allocations: 39.75 kB / 448.6 MB, free: 122.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.2769, allocations: 0.9081 MB / 449.5 MB, free: 122.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2769, allocations: 0 / 449.5 MB, free: 122.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002242/0.2791, allocations: 0.672 MB / 450.2 MB, free: 122.5 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.0003826/0.2795, allocations: 163.8 kB / 450.3 MB, free: 122.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002752/0.2822, allocations: 2.006 MB / 452.4 MB, free: 122.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2822, allocations: 0 / 452.4 MB, free: 122.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000721/0.283, allocations: 0.6544 MB / 453 MB, free: 122 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008746/0.2838, allocations: 313.3 kB / 453.3 MB, free: 122 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007771/0.2916, allocations: 5.492 MB / 458.8 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009611/0.2926, allocations: 0.914 MB / 459.7 MB, free: 119.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001934/0.2945, allocations: 0.9855 MB / 460.7 MB, free: 119.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.2949, allocations: 155.3 kB / 460.9 MB, free: 119.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2949, allocations: 0 / 460.9 MB, free: 119.4 MB / 410.7 MB Notification: Performance of Templates: time 0.03594/0.3308, allocations: 21.29 MB / 482.1 MB, free: 117.1 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: 3.666242450941354]