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.001035/0.001035, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001178/0.001178, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9859/0.9859, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.02923/0.02923, allocations: 7.189 MB / 268.2 MB, free: 5.906 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 2.124e-06/2.124e-06, allocations: 4 kB / 340.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.095e-05, allocations: 2.312 kB / 340.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.006275/0.006296, allocations: 7.832 MB / 347.9 MB, free: 3.113 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003744/0.01004, allocations: 2.519 MB / 350.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005972/0.01064, allocations: 39.88 kB / 350.5 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006429/0.01128, allocations: 369.5 kB / 350.8 MB, free: 188 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.01343, allocations: 1.501 MB / 352.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.01363, allocations: 103.7 kB / 352.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.01558, allocations: 2.493 MB / 354.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007481/0.01633, allocations: 0.7168 MB / 355.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.01761, allocations: 1.344 MB / 357 MB, free: 9.988 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.01884, allocations: 1.29 MB / 358.3 MB, free: 8.695 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002477/0.01909, allocations: 220 kB / 358.5 MB, free: 8.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009727/0.02006, allocations: 0.8151 MB / 359.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007402/0.0208, allocations: 1.254 MB / 360.6 MB, free: 6.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006906/0.02149, allocations: 0.8018 MB / 361.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.02427, allocations: 3.253 MB / 364.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.02427, allocations: 0 / 364.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02427, allocations: 0 / 364.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.508e-05/0.02432, allocations: 0 / 364.6 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.007046/0.03136, allocations: 5.045 MB / 369.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.0314, allocations: 8.625 kB / 369.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.03448, allocations: 1.239 MB / 370.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.0359, allocations: 1.192 MB / 372.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.411e-05/0.03598, allocations: 151.9 kB / 372.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.03624, allocations: 192.2 kB / 372.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004872/0.04111, allocations: 3.97 MB / 376.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.258e-05/0.04117, allocations: 24 kB / 376.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/0.04138, allocations: 103.8 kB / 376.5 MB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001601/0.04298, allocations: 1.735 MB / 378.3 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004255/0.04723, allocations: 2.076 MB / 380.4 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02152/0.06875, allocations: 27.37 MB / 407.7 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.07173, allocations: 1.25 MB / 409 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.07208, allocations: 308.8 kB / 409.3 MB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002969/0.07505, allocations: 2.611 MB / 411.9 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.07508, allocations: 50.39 kB / 411.9 MB, free: 1.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=146): time 3.226e-06/0.07508, allocations: 4 kB / 411.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=161): time 0.006998/0.08208, allocations: 3.892 MB / 415.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.08212, allocations: 68.72 kB / 415.9 MB, free: 13.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.08429, allocations: 2.005 MB / 417.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.08436, allocations: 49.7 kB / 418 MB, free: 11.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.0857, allocations: 2.365 MB / 420.3 MB, free: 9.098 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007533/0.08645, allocations: 0.6512 MB / 421 MB, free: 8.441 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.08746, allocations: 0.9249 MB / 421.9 MB, free: 7.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.08762, allocations: 0.5198 MB / 422.4 MB, free: 6.973 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/0.08826, allocations: 348.2 kB / 422.8 MB, free: 6.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.091, allocations: 3.916 MB / 426.7 MB, free: 1.062 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004071/0.09507, allocations: 4.774 MB / 431.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-05/0.09513, allocations: 27.94 kB / 431.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.005309/0.1004, allocations: 3.296 MB / 434.8 MB, free: 7.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.393e-05/0.1005, allocations: 43.98 kB / 434.8 MB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.453e-05/0.1006, allocations: 84 kB / 434.9 MB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005007/0.1011, allocations: 227.1 kB / 435.1 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/0.1032, allocations: 0.9318 MB / 436 MB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.1056, allocations: 2.775 MB / 438.8 MB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.1076, allocations: 164 kB / 439 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/0.1078, allocations: 220 kB / 439.2 MB, free: 2.789 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.001163/0.109, allocations: 0.4884 MB / 439.7 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.1093, allocations: 246.7 kB / 439.9 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.1108, allocations: 0.9354 MB / 440.9 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.073e-05/0.1108, allocations: 23.98 kB / 440.9 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1108, allocations: 0 / 440.9 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.1109, allocations: 3.984 kB / 440.9 MB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1466/0.2574, allocations: 3.291 MB / 444.2 MB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.2574, allocations: 6.312 kB / 444.2 MB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.2579, allocations: 212 kB / 444.4 MB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.2582, allocations: 111.6 kB / 444.5 MB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.2583, allocations: 37.59 kB / 444.5 MB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.2596, allocations: 2.222 MB / 446.8 MB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.2597, allocations: 13.44 kB / 446.8 MB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.2613, allocations: 1.548 MB / 448.3 MB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.2616, allocations: 189.1 kB / 448.5 MB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.2618, allocations: 36 kB / 448.5 MB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.2622, allocations: 32.66 kB / 448.6 MB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.2623, allocations: 109.3 kB / 448.7 MB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-05/0.2623, allocations: 44.64 kB / 448.7 MB, free: 115.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007598/0.2631, allocations: 0.8197 MB / 449.5 MB, free: 115.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2631, allocations: 0 / 449.5 MB, free: 115.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002325/0.2654, allocations: 0.6682 MB / 450.2 MB, free: 115.6 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.0003047/0.2657, allocations: 173.9 kB / 450.4 MB, free: 115.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.2681, allocations: 1.989 MB / 452.4 MB, free: 115.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2681, allocations: 0 / 452.4 MB, free: 115.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005793/0.2687, allocations: 0.6358 MB / 453 MB, free: 115.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.2696, allocations: 282.4 kB / 453.3 MB, free: 115.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006887/0.2764, allocations: 5.571 MB / 458.9 MB, free: 112.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007882/0.2772, allocations: 0.9232 MB / 459.8 MB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000859/0.2781, allocations: 319.5 kB / 460.1 MB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.2785, allocations: 405.3 kB / 460.5 MB, free: 112.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.505e-06/0.2785, allocations: 0 / 460.5 MB, free: 112.4 MB / 410.7 MB Notification: Performance of Templates: time 0.03173/0.3103, allocations: 20.71 MB / 481.2 MB, free: 110.1 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: 3.6813251529820263]