Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.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.001836/0.001836, allocations: 81.48 kB / 19.44 MB, free: 348 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.003114/0.003114, allocations: 173.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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.05328/0.05328, allocations: 7.174 MB / 266.7 MB, free: 6.082 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.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 3.938 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.907e-05, allocations: 2.312 kB / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.006813/0.006842, allocations: 7.945 MB / 346.1 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.01108, allocations: 2.528 MB / 348.6 MB, free: 64 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006763/0.01176, allocations: 39.88 kB / 348.6 MB, free: 24 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000899/0.01266, allocations: 369.6 kB / 349 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.01605, allocations: 1.497 MB / 350.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.01635, allocations: 99.73 kB / 350.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003393/0.01974, allocations: 2.496 MB / 353.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.02081, allocations: 0.7207 MB / 353.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.02279, allocations: 1.337 MB / 355.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.02478, allocations: 1.286 MB / 356.4 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004606/0.02524, allocations: 224 kB / 356.7 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.02687, allocations: 0.8112 MB / 357.5 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.02852, allocations: 1.254 MB / 358.7 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.02973, allocations: 0.7941 MB / 359.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006791/0.03653, allocations: 4.948 MB / 364.5 MB, free: 136 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.03653, allocations: 0 / 364.5 MB, free: 136 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.03653, allocations: 0 / 364.5 MB, free: 136 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001267/0.03666, allocations: 0 / 364.5 MB, free: 136 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.01541/0.05207, allocations: 5.521 MB / 370 MB, free: 10.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.05212, allocations: 8.625 kB / 370 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007825/0.05994, allocations: 2.187 MB / 372.2 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.06364, allocations: 1.229 MB / 373.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.06381, allocations: 147.9 kB / 373.6 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000457/0.06427, allocations: 196.2 kB / 373.7 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.07506, allocations: 4.88 MB / 378.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-05/0.07515, allocations: 23.98 kB / 378.6 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002977/0.07544, allocations: 99.8 kB / 378.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003824/0.07927, allocations: 1.934 MB / 380.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/0.09054, allocations: 3.146 MB / 383.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1893/0.2798, allocations: 39.59 MB / 423.4 MB, free: 51.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00598/0.2858, allocations: 1.467 MB / 424.9 MB, free: 51.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009716/0.2868, allocations: 447.5 kB / 425.3 MB, free: 51.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005983/0.2927, allocations: 2.902 MB / 428.2 MB, free: 51.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.2928, allocations: 47.92 kB / 428.3 MB, free: 51.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 3.476e-06/0.2928, allocations: 0 / 428.3 MB, free: 51.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.01135/0.3041, allocations: 4.833 MB / 433.1 MB, free: 50.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.3041, allocations: 69.38 kB / 433.2 MB, free: 50.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.3071, allocations: 2.703 MB / 435.9 MB, free: 49.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.452e-05/0.3072, allocations: 48.11 kB / 435.9 MB, free: 49.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.3083, allocations: 2.487 MB / 438.4 MB, free: 47.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/0.3088, allocations: 0.6976 MB / 439.1 MB, free: 46.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.3099, allocations: 1.091 MB / 440.2 MB, free: 46.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3101, allocations: 0.5335 MB / 440.7 MB, free: 45.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.3112, allocations: 0.5473 MB / 441.3 MB, free: 45.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/0.3134, allocations: 4.255 MB / 445.5 MB, free: 40.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00382/0.3172, allocations: 5.256 MB / 450.8 MB, free: 34.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.584e-05/0.3173, allocations: 24 kB / 450.8 MB, free: 34 MB / 330.7 MB Notification: Performance of matching and sorting (n=558) (initialization): time 0.00586/0.3231, allocations: 3.789 MB / 454.6 MB, free: 30.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.3232, allocations: 41.75 kB / 454.6 MB, free: 30.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.799e-05/0.3232, allocations: 84 kB / 454.7 MB, free: 30.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.3238, allocations: 248.8 kB / 455 MB, free: 29.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/0.3261, allocations: 0.9358 MB / 455.9 MB, free: 28.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.3287, allocations: 3.067 MB / 459 MB, free: 25.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/0.3313, allocations: 191.9 kB / 459.1 MB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/0.3315, allocations: 252 kB / 459.4 MB, free: 25.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (518): * Single equations (assignments): 513 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001089/0.3326, allocations: 0.5821 MB / 460 MB, free: 24.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.3329, allocations: 252.8 kB / 460.2 MB, free: 24.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.335, allocations: 1.123 MB / 461.3 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.27e-05/0.3351, allocations: 31.92 kB / 461.4 MB, free: 23.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3351, allocations: 4 kB / 461.4 MB, free: 23.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.3351, allocations: 3.984 kB / 461.4 MB, free: 23.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008183/0.3433, allocations: 5.228 MB / 466.6 MB, free: 17.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.3433, allocations: 8 kB / 466.6 MB, free: 17.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/0.3441, allocations: 223.7 kB / 466.8 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003983/0.3445, allocations: 137.6 kB / 467 MB, free: 17.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-05/0.3446, allocations: 32 kB / 467 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.3464, allocations: 2.426 MB / 469.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3464, allocations: 11.94 kB / 469.4 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/0.3491, allocations: 1.89 MB / 471.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.3496, allocations: 190.6 kB / 471.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.3498, allocations: 33.33 kB / 471.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006776/0.3505, allocations: 61.56 kB / 471.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.3506, allocations: 110 kB / 471.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/0.3507, allocations: 47.98 kB / 471.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001382/0.3521, allocations: 1.127 MB / 472.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3521, allocations: 4 kB / 472.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002771/0.3549, allocations: 0.6731 MB / 473.6 MB, free: 10.76 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,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 (123): * Single equations (assignments): 118 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000295/0.3552, allocations: 165.5 kB / 473.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003688/0.3589, allocations: 2.462 MB / 476.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3589, allocations: 3.938 kB / 476.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009879/0.3598, allocations: 0.7622 MB / 477 MB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.3612, allocations: 302.7 kB / 477.3 MB, free: 7.055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/0.3688, allocations: 5.688 MB / 482.9 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/0.3709, allocations: 1.834 MB / 484.8 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002743/0.3736, allocations: 1.065 MB / 485.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.374, allocations: 152.5 kB / 486 MB, free: 14.11 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.374, allocations: 0 / 486 MB, free: 14.11 MB / 346.7 MB Notification: Performance of Templates: time 0.0429/0.4169, allocations: 18.44 MB / 0.4926 GB, free: 12.01 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.765882889973]