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.0007243/0.0007243, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007496/0.0007496, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8647/0.8647, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.02653/0.02653, allocations: 7.112 MB / 267.1 MB, free: 6.34 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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.563e-06/1.563e-06, allocations: 0 / 393.6 MB, free: 3.531 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.618e-05, allocations: 2.281 kB / 393.6 MB, free: 3.527 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.004945/0.004961, allocations: 7.221 MB / 400.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.007554, allocations: 2.445 MB / 403.3 MB, free: 9.816 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.007872, allocations: 35.88 kB / 403.3 MB, free: 9.781 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.008392, allocations: 369.5 kB / 403.7 MB, free: 9.418 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.009924, allocations: 1.478 MB / 405.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.01008, allocations: 107.7 kB / 405.3 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.01153, allocations: 2.462 MB / 407.7 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000545/0.01208, allocations: 0.681 MB / 408.4 MB, free: 4.656 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009473/0.01302, allocations: 1.325 MB / 409.7 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009456/0.01397, allocations: 1.278 MB / 411 MB, free: 2.047 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.01415, allocations: 220 kB / 411.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007073/0.01486, allocations: 0.815 MB / 412.1 MB, free: 1.016 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.146/0.1608, allocations: 1.244 MB / 413.3 MB, free: 18.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.1621, allocations: 0.7874 MB / 414.1 MB, free: 18.15 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005414/0.1675, allocations: 4.914 MB / 419 MB, free: 17.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1675, allocations: 2.141 kB / 419 MB, free: 17.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1675, allocations: 0 / 419 MB, free: 17.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001223/0.1677, allocations: 0 / 419 MB, free: 17.93 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: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.009852/0.1775, allocations: 4.795 MB / 423.8 MB, free: 16.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1776, allocations: 10.41 kB / 423.8 MB, free: 16.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/0.1813, allocations: 1.792 MB / 425.6 MB, free: 16.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.1836, allocations: 1.291 MB / 426.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.656e-05/0.1837, allocations: 141.7 kB / 427 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000376/0.1841, allocations: 189.2 kB / 427.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.1957, allocations: 8.373 MB / 435.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-05/0.1958, allocations: 28.16 kB / 435.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.196, allocations: 92.41 kB / 435.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001737/0.1977, allocations: 1.94 MB / 437.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.2079, allocations: 7.555 MB / 445.2 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02416/0.232, allocations: 23.96 MB / 469.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004107/0.2361, allocations: 2.191 MB / 471.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008597/0.237, allocations: 0.8148 MB / 472.2 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003741/0.2407, allocations: 3.041 MB / 475.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.2408, allocations: 43.56 kB / 475.2 MB, free: 6.875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=141): time 4.689e-06/0.2408, allocations: 4 kB / 475.3 MB, free: 6.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=156): time 0.01013/0.2509, allocations: 6.984 MB / 482.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.2509, allocations: 64.72 kB / 482.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002547/0.2535, allocations: 2.288 MB / 484.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.2535, allocations: 49.7 kB / 484.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.2546, allocations: 2.229 MB / 486.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003836/0.255, allocations: 0.5971 MB / 487.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008315/0.2558, allocations: 0.8451 MB / 488.3 MB, free: 9.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.2559, allocations: 341.9 kB / 488.6 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.2574, allocations: 1.313 MB / 490 MB, free: 8.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.2599, allocations: 3.714 MB / 493.7 MB, free: 3.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004179/0.2641, allocations: 5.448 MB / 499.1 MB, free: 12.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.646e-05/0.2641, allocations: 24 kB / 499.1 MB, free: 12.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.005637/0.2698, allocations: 5.07 MB / 0.4924 GB, free: 7.562 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.2698, allocations: 44.09 kB / 0.4924 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.571e-05/0.2699, allocations: 88.84 kB / 0.4925 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/0.2703, allocations: 276.7 kB / 0.4928 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.2718, allocations: 0.928 MB / 0.4937 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.2743, allocations: 3.044 MB / 0.4967 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.2758, allocations: 202.3 kB / 0.4969 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/0.2761, allocations: 248 kB / 0.4971 GB, free: 2.656 MB / 394.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 (510): * Single equations (assignments): 505 * 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.002105/0.2782, allocations: 1.61 MB / 0.4987 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.2784, allocations: 206.6 kB / 0.4989 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.2806, allocations: 1.926 MB / 0.5007 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.395e-05/0.2806, allocations: 27.92 kB / 0.5008 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2806, allocations: 7.938 kB / 0.5008 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.2806, allocations: 17 kB / 0.5008 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006097/0.2867, allocations: 4.927 MB / 0.5056 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.2867, allocations: 4.656 kB / 0.5056 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.2872, allocations: 215.7 kB / 0.5058 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000277/0.2875, allocations: 164.7 kB / 0.506 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.2876, allocations: 35.98 kB / 0.506 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.2894, allocations: 2.471 MB / 0.5084 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.2894, allocations: 4 kB / 0.5084 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.2925, allocations: 3.088 MB / 0.5114 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.2929, allocations: 186.7 kB / 0.5116 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.293, allocations: 28 kB / 0.5116 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.2934, allocations: 67.08 kB / 0.5117 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.2935, allocations: 100.7 kB / 0.5118 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.2936, allocations: 47.98 kB / 0.5118 GB, free: 3.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001396/0.295, allocations: 1.326 MB / 0.5131 GB, free: 1.938 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.295, allocations: 0 / 0.5131 GB, free: 1.938 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002121/0.2971, allocations: 0.6639 MB / 0.5138 GB, free: 1.273 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (118): * Single equations (assignments): 113 * 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.0003462/0.2974, allocations: 169.8 kB / 0.514 GB, free: 1.105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003514/0.3009, allocations: 3.131 MB / 0.517 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3009, allocations: 0 / 0.517 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.302, allocations: 0.9594 MB / 0.5179 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008799/0.3029, allocations: 263.4 kB / 0.5182 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0088/0.3117, allocations: 6.938 MB / 0.525 GB, free: 5.715 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/0.3137, allocations: 2.026 MB / 0.527 GB, free: 3.645 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.3142, allocations: 200.5 kB / 0.5271 GB, free: 3.449 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/0.3142, allocations: 0 / 0.5271 GB, free: 3.449 MB / 426.7 MB Notification: Performance of Templates: time 0.1895/0.5037, allocations: 55.34 MB / 0.5812 GB, free: 156.5 MB / 474.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.205545004457235] Failed to read output from testmodel.py, exit status != 0: 0.5102861262857914 0.519764583 0.35066133299999996 Calling exit ...