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.0007976/0.0007976, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001607/0.001607, 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.143/1.143, allocations: 177.2 MB / 203.7 MB, free: 5.492 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.03033/0.03033, allocations: 7.202 MB / 267.5 MB, free: 5.883 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 3.236e-06/3.236e-06, allocations: 0 / 339.3 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.255e-05/4.579e-05, allocations: 6.312 kB / 339.3 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.01116/0.01121, allocations: 7.843 MB / 347.2 MB, free: 3.113 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005549/0.01676, allocations: 2.512 MB / 349.7 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008215/0.01758, allocations: 43.88 kB / 349.7 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007515/0.01833, allocations: 369.5 kB / 350.1 MB, free: 192 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.02082, allocations: 1.505 MB / 351.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.02103, allocations: 99.72 kB / 351.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00188/0.0229, allocations: 2.493 MB / 354.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006261/0.02353, allocations: 0.7207 MB / 354.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.02467, allocations: 1.336 MB / 356.2 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.02595, allocations: 1.293 MB / 357.5 MB, free: 8.699 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002738/0.02622, allocations: 224 kB / 357.7 MB, free: 8.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.02725, allocations: 0.8034 MB / 358.5 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007942/0.02804, allocations: 1.266 MB / 359.8 MB, free: 6.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006427/0.02868, allocations: 0.7941 MB / 360.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.03145, allocations: 3.26 MB / 363.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.03145, allocations: 0 / 363.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.03146, allocations: 0 / 363.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.826e-05/0.03149, allocations: 0 / 363.9 MB, free: 2.336 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: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.007325/0.03882, allocations: 5.041 MB / 368.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.03887, allocations: 12.62 kB / 368.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.04187, allocations: 1.239 MB / 370.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.04365, allocations: 1.184 MB / 371.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.04375, allocations: 143.9 kB / 371.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.04407, allocations: 196.2 kB / 371.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.05869, allocations: 3.977 MB / 375.6 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001513/0.05884, allocations: 23.98 kB / 375.7 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005588/0.0594, allocations: 95.8 kB / 375.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00286/0.06225, allocations: 1.743 MB / 377.5 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.07462, allocations: 2.068 MB / 379.6 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03766/0.1123, allocations: 27.37 MB / 406.9 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/0.1161, allocations: 1.242 MB / 408.2 MB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.1166, allocations: 312.8 kB / 408.5 MB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004583/0.1212, allocations: 2.631 MB / 411.1 MB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.1212, allocations: 46.39 kB / 411.2 MB, free: 1.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=146): time 5.48e-06/0.1212, allocations: 0 / 411.2 MB, free: 1.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=161): time 0.008609/0.1299, allocations: 3.889 MB / 415.1 MB, free: 13.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.1299, allocations: 68.72 kB / 415.1 MB, free: 13.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.1325, allocations: 2.017 MB / 417.1 MB, free: 11.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/0.1325, allocations: 45.7 kB / 417.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.1339, allocations: 2.369 MB / 419.6 MB, free: 9.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004834/0.1344, allocations: 0.6473 MB / 420.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000889/0.1353, allocations: 0.9288 MB / 421.1 MB, free: 7.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.1355, allocations: 0.5159 MB / 421.6 MB, free: 6.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.136, allocations: 344.2 kB / 422 MB, free: 6.621 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002806/0.1388, allocations: 3.916 MB / 425.9 MB, free: 1.059 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004736/0.1436, allocations: 4.774 MB / 430.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-05/0.1436, allocations: 28 kB / 430.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.0055/0.1491, allocations: 3.288 MB / 434 MB, free: 7.344 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.671e-05/0.1492, allocations: 48.19 kB / 434 MB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.942e-05/0.1493, allocations: 88 kB / 434.1 MB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004721/0.1497, allocations: 230.6 kB / 434.3 MB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.1514, allocations: 0.9279 MB / 435.3 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.1539, allocations: 2.772 MB / 438 MB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.1563, allocations: 167.9 kB / 438.2 MB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/0.1565, allocations: 224 kB / 438.4 MB, free: 2.777 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 385 * 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 (519): * Single equations (assignments): 514 * 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.001349/0.1579, allocations: 496.1 kB / 438.9 MB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/0.1582, allocations: 246.6 kB / 439.2 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.1596, allocations: 0.9394 MB / 440.1 MB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.842e-05/0.1596, allocations: 16 kB / 440.1 MB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1596, allocations: 7.984 kB / 440.1 MB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.1596, allocations: 3.984 kB / 440.1 MB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2294/0.389, allocations: 3.288 MB / 443.4 MB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.389, allocations: 6.344 kB / 443.4 MB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/0.3896, allocations: 210.7 kB / 443.6 MB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/0.3901, allocations: 112.2 kB / 443.7 MB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.3902, allocations: 37.91 kB / 443.8 MB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.3921, allocations: 2.216 MB / 446 MB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.3921, allocations: 16.47 kB / 446 MB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.3942, allocations: 1.56 MB / 447.6 MB, free: 123 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/0.3946, allocations: 189.2 kB / 447.7 MB, free: 123 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.3948, allocations: 31.14 kB / 447.8 MB, free: 123 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.3952, allocations: 30.5 kB / 447.8 MB, free: 123 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.3953, allocations: 114.3 kB / 447.9 MB, free: 123 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/0.3954, allocations: 45.52 kB / 448 MB, free: 123 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001027/0.3964, allocations: 0.823 MB / 448.8 MB, free: 122.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3964, allocations: 0 / 448.8 MB, free: 122.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002985/0.3994, allocations: 0.6697 MB / 449.5 MB, free: 122.9 MB / 410.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.0003958/0.3998, allocations: 167 kB / 449.6 MB, free: 122.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00321/0.403, allocations: 1.993 MB / 451.6 MB, free: 122.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.403, allocations: 2 kB / 451.6 MB, free: 122.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007587/0.4038, allocations: 0.6328 MB / 452.2 MB, free: 122.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.405, allocations: 278.1 kB / 452.5 MB, free: 122.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00944/0.4144, allocations: 5.574 MB / 458.1 MB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.4155, allocations: 0.92 MB / 459 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001037/0.4165, allocations: 312.9 kB / 459.3 MB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/0.417, allocations: 414.1 kB / 459.7 MB, free: 119.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.825e-06/0.417, allocations: 0 / 459.7 MB, free: 119.5 MB / 410.7 MB Notification: Performance of Templates: time 0.04011/0.4571, allocations: 20.28 MB / 480 MB, free: 117.3 MB / 410.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: 4.303834827616811]