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.0009834/0.0009834, 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.001001/0.001001, allocations: 165 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.9584/0.9584, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.02854/0.02854, allocations: 7.178 MB / 267.1 MB, free: 6.074 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.744e-06/1.744e-06, allocations: 4 kB / 338.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.792e-05, allocations: 8.703 kB / 338.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.005065/0.005082, allocations: 7.993 MB / 346.8 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.008241, allocations: 2.546 MB / 349.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004496/0.00869, allocations: 35.88 kB / 349.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.009273, allocations: 373.5 kB / 349.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.01118, allocations: 1.501 MB / 351.3 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.01136, allocations: 95.78 kB / 351.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.013, allocations: 2.49 MB / 353.9 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006268/0.01363, allocations: 0.7285 MB / 354.6 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.01464, allocations: 1.336 MB / 355.9 MB, free: 9.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.01568, allocations: 1.289 MB / 357.2 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.01593, allocations: 220 kB / 357.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008836/0.01681, allocations: 0.8073 MB / 358.3 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006959/0.01751, allocations: 1.262 MB / 359.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005957/0.0181, allocations: 0.8019 MB / 360.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.02052, allocations: 3.257 MB / 363.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.02052, allocations: 0 / 363.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.02052, allocations: 0 / 363.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.556e-05/0.02056, allocations: 0 / 363.6 MB, free: 1.402 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.006549/0.02711, allocations: 5.092 MB / 368.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.02715, allocations: 8.625 kB / 368.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003772/0.03093, allocations: 2.183 MB / 370.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.03232, allocations: 1.232 MB / 372.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.0324, allocations: 143.9 kB / 372.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.03265, allocations: 196.2 kB / 372.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/0.03779, allocations: 4.365 MB / 376.8 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.03783, allocations: 20 kB / 376.8 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.03802, allocations: 99.8 kB / 376.9 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001676/0.0397, allocations: 1.938 MB / 378.8 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004727/0.04442, allocations: 2.56 MB / 381.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0188/0.06322, allocations: 27.55 MB / 409 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.06648, allocations: 1.312 MB / 410.3 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.06698, allocations: 368 kB / 410.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1303/0.1972, allocations: 2.756 MB / 413.4 MB, free: 71.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.1973, allocations: 50.5 kB / 413.4 MB, free: 71.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 3.236e-06/0.1973, allocations: 0 / 413.4 MB, free: 71.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.01012/0.2074, allocations: 4.516 MB / 417.9 MB, free: 70.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.2074, allocations: 66.88 kB / 418 MB, free: 70.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/0.2101, allocations: 2.014 MB / 420 MB, free: 70.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.2102, allocations: 48.7 kB / 420.1 MB, free: 70.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009731/0.2112, allocations: 2.348 MB / 422.4 MB, free: 69.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003726/0.2115, allocations: 0.6491 MB / 423.1 MB, free: 68.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008787/0.2124, allocations: 0.9065 MB / 424 MB, free: 68.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.2125, allocations: 0.5094 MB / 424.5 MB, free: 68.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008845/0.2134, allocations: 445.7 kB / 424.9 MB, free: 68.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.2152, allocations: 3.974 MB / 428.9 MB, free: 63.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/0.2186, allocations: 4.889 MB / 433.8 MB, free: 58.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.524e-05/0.2186, allocations: 29 kB / 433.8 MB, free: 58.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=558) (initialization): time 0.004851/0.2235, allocations: 3.538 MB / 437.4 MB, free: 56.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.2235, allocations: 40 kB / 437.4 MB, free: 56.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-05/0.2236, allocations: 84 kB / 437.5 MB, free: 56.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/0.224, allocations: 230.5 kB / 437.7 MB, free: 55.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.226, allocations: 0.938 MB / 438.6 MB, free: 55.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.2279, allocations: 2.887 MB / 441.5 MB, free: 52.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.2291, allocations: 195.2 kB / 441.7 MB, free: 52.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.2293, allocations: 255 kB / 442 MB, free: 51.78 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.0006123/0.2299, allocations: 499.8 kB / 442.5 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.23, allocations: 242.6 kB / 442.7 MB, free: 51.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.2312, allocations: 1.034 MB / 443.7 MB, free: 50.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-05/0.2312, allocations: 23.8 kB / 443.7 MB, free: 50.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2312, allocations: 4 kB / 443.8 MB, free: 50.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2312, allocations: 6.938 kB / 443.8 MB, free: 50.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/0.2354, allocations: 4.134 MB / 447.9 MB, free: 46.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.2354, allocations: 8 kB / 447.9 MB, free: 46.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.2359, allocations: 230.2 kB / 448.1 MB, free: 46.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002384/0.2361, allocations: 121.2 kB / 448.2 MB, free: 46.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.2362, allocations: 35.75 kB / 448.3 MB, free: 46.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.2373, allocations: 2.287 MB / 450.6 MB, free: 43.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2373, allocations: 15.88 kB / 450.6 MB, free: 43.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.2388, allocations: 1.69 MB / 452.3 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2389, allocations: 186 kB / 452.5 MB, free: 41.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.239, allocations: 28 kB / 452.5 MB, free: 41.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.2394, allocations: 64.64 kB / 452.5 MB, free: 41.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.2395, allocations: 108.9 kB / 452.6 MB, free: 41.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.2396, allocations: 51.61 kB / 452.7 MB, free: 41.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007226/0.2403, allocations: 0.8797 MB / 453.6 MB, free: 40.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2403, allocations: 0 / 453.6 MB, free: 40.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001578/0.2419, allocations: 0.6813 MB / 454.3 MB, free: 40.2 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.0002279/0.2421, allocations: 174.9 kB / 454.4 MB, free: 40.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.2441, allocations: 2.106 MB / 456.5 MB, free: 37.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2441, allocations: 0 / 456.5 MB, free: 37.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.2446, allocations: 0.6748 MB / 457.2 MB, free: 37.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.2454, allocations: 285.3 kB / 457.5 MB, free: 36.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.2506, allocations: 5.593 MB / 463.1 MB, free: 31.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.2512, allocations: 0.9242 MB / 464 MB, free: 30.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001265/0.2525, allocations: 1.06 MB / 465.1 MB, free: 29.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.2527, allocations: 160.5 kB / 465.2 MB, free: 29.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2527, allocations: 4 kB / 465.2 MB, free: 29.05 MB / 330.7 MB Notification: Performance of Templates: time 0.02322/0.2759, allocations: 18.43 MB / 483.7 MB, free: 10.97 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.542737792711705]