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.001525/0.001525, allocations: 93.06 kB / 19.65 MB, free: 280 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.00118/0.00118, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9017/0.9017, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.0288/0.0288, allocations: 7.169 MB / 267.1 MB, free: 6.066 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.654e-06/1.654e-06, allocations: 0 / 338.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.745e-05, allocations: 5.922 kB / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.005693/0.005711, allocations: 7.998 MB / 346.9 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.008706, allocations: 2.55 MB / 349.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.009057, allocations: 35.88 kB / 349.4 MB, free: 15.6 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.009696, allocations: 373.5 kB / 349.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.01149, allocations: 1.489 MB / 351.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.01167, allocations: 107.7 kB / 351.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.01331, allocations: 2.496 MB / 353.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008675/0.01417, allocations: 0.7207 MB / 354.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009666/0.01514, allocations: 1.34 MB / 356 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009946/0.01613, allocations: 1.289 MB / 357.2 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.01633, allocations: 224 kB / 357.5 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007874/0.01711, allocations: 0.8112 MB / 358.3 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000653/0.01777, allocations: 1.254 MB / 359.5 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005317/0.0183, allocations: 0.798 MB / 360.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.02082, allocations: 3.26 MB / 363.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.02082, allocations: 3.984 kB / 363.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02083, allocations: 0 / 363.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.02085, allocations: 0 / 363.6 MB, free: 1.383 MB / 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.006534/0.02738, allocations: 5.084 MB / 368.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.02742, allocations: 8.625 kB / 368.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/0.03137, allocations: 2.191 MB / 370.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.03262, allocations: 1.286 MB / 372.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.03269, allocations: 143.9 kB / 372.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.03294, allocations: 192.2 kB / 372.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005108/0.03805, allocations: 4.365 MB / 376.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.67e-05/0.03809, allocations: 28 kB / 376.9 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.03828, allocations: 91.8 kB / 377 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001711/0.03999, allocations: 1.938 MB / 378.9 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/0.0447, allocations: 2.576 MB / 381.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.06341, allocations: 27.53 MB / 409 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/0.06667, allocations: 1.322 MB / 410.3 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.06718, allocations: 360.8 kB / 410.7 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1259/0.1931, allocations: 2.748 MB / 413.4 MB, free: 71.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1931, allocations: 49.8 kB / 413.5 MB, free: 71.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 3.115e-06/0.1931, allocations: 0 / 413.5 MB, free: 71.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.007159/0.2003, allocations: 4.523 MB / 418 MB, free: 71.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.2003, allocations: 66.75 kB / 418.1 MB, free: 71.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.2024, allocations: 2.019 MB / 420.1 MB, free: 70.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.2024, allocations: 47.92 kB / 420.1 MB, free: 70.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007239/0.2031, allocations: 2.349 MB / 422.5 MB, free: 69.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.2034, allocations: 0.652 MB / 423.1 MB, free: 68.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000653/0.204, allocations: 0.9136 MB / 424.1 MB, free: 68.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.2041, allocations: 0.5065 MB / 424.6 MB, free: 68.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/0.2047, allocations: 444.3 kB / 425 MB, free: 68.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.2061, allocations: 3.986 MB / 429 MB, free: 63.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.2084, allocations: 4.899 MB / 433.9 MB, free: 58.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/0.2085, allocations: 25.06 kB / 433.9 MB, free: 58.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.003333/0.2118, allocations: 3.538 MB / 437.4 MB, free: 56.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.2118, allocations: 44 kB / 437.5 MB, free: 56.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/0.2119, allocations: 84 kB / 437.6 MB, free: 56.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000331/0.2122, allocations: 231.1 kB / 437.8 MB, free: 55.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.2135, allocations: 0.942 MB / 438.7 MB, free: 55.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.215, allocations: 2.884 MB / 441.6 MB, free: 52.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.216, allocations: 194.4 kB / 441.8 MB, free: 52.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.2162, allocations: 257.3 kB / 442.1 MB, free: 51.78 MB / 330.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.0005615/0.2167, allocations: 497.8 kB / 442.5 MB, free: 51.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.2169, allocations: 257.6 kB / 442.8 MB, free: 51.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.218, allocations: 1.019 MB / 443.8 MB, free: 50.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.441e-05/0.218, allocations: 31.22 kB / 443.8 MB, free: 50.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.218, allocations: 4 kB / 443.9 MB, free: 50.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.218, allocations: 7.703 kB / 443.9 MB, free: 50.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/0.2218, allocations: 4.127 MB / 448 MB, free: 46.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2218, allocations: 8.031 kB / 448 MB, free: 46.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.2222, allocations: 232.3 kB / 448.2 MB, free: 46.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.2224, allocations: 115.3 kB / 448.3 MB, free: 46.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.2225, allocations: 43.47 kB / 448.4 MB, free: 46.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.2236, allocations: 2.296 MB / 450.7 MB, free: 43.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.2236, allocations: 15.88 kB / 450.7 MB, free: 43.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.225, allocations: 1.678 MB / 452.4 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.2252, allocations: 194.6 kB / 452.6 MB, free: 41.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.2253, allocations: 31.98 kB / 452.6 MB, free: 41.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.2257, allocations: 62.98 kB / 452.6 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.2258, allocations: 104.7 kB / 452.7 MB, free: 41.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.2258, allocations: 51.98 kB / 452.8 MB, free: 41.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007101/0.2265, allocations: 0.8811 MB / 453.7 MB, free: 40.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2265, allocations: 0 / 453.7 MB, free: 40.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001614/0.2281, allocations: 0.6795 MB / 454.4 MB, free: 40.09 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.0002188/0.2284, allocations: 170.7 kB / 454.5 MB, free: 39.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.2303, allocations: 2.121 MB / 456.6 MB, free: 37.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2303, allocations: 0 / 456.6 MB, free: 37.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005476/0.2309, allocations: 0.6678 MB / 457.3 MB, free: 37.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007732/0.2316, allocations: 285.5 kB / 457.6 MB, free: 36.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.2364, allocations: 5.595 MB / 463.2 MB, free: 31.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.237, allocations: 0.9203 MB / 464.1 MB, free: 30.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001191/0.2382, allocations: 1.064 MB / 465.2 MB, free: 29.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.2384, allocations: 156.5 kB / 465.3 MB, free: 28.94 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.2384, allocations: 0 / 465.3 MB, free: 28.94 MB / 330.7 MB Notification: Performance of Templates: time 0.02335/0.2617, allocations: 19.25 MB / 484.6 MB, free: 10.05 MB / 330.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.3634153422899544]