Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.001067/0.001067, allocations: 93.06 kB / 19.65 MB, free: 272 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.001294/0.001294, allocations: 169 kB / 23.02 MB, free: 1.543 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.053/1.053, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.02963/0.02963, allocations: 7.17 MB / 267.1 MB, free: 6.062 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.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 338.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.669e-05, allocations: 4.844 kB / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.006018/0.006044, allocations: 9.174 MB / 348 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004309/0.01035, allocations: 2.752 MB / 350.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006431/0.011, allocations: 39.88 kB / 350.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.01168, allocations: 405.2 kB / 351.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.01381, allocations: 1.466 MB / 352.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.01405, allocations: 131.6 kB / 352.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.01634, allocations: 2.703 MB / 355.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008274/0.01716, allocations: 0.8003 MB / 356.3 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.01857, allocations: 1.465 MB / 357.8 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.01994, allocations: 1.414 MB / 359.2 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002893/0.02023, allocations: 248 kB / 359.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.02126, allocations: 0.7489 MB / 360.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008263/0.02209, allocations: 1.367 MB / 361.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007242/0.02281, allocations: 0.8759 MB / 362.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002833/0.02565, allocations: 3.498 MB / 365.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.02565, allocations: 0 / 365.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.02565, allocations: 0 / 365.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.19e-05/0.0257, allocations: 0 / 365.9 MB, free: 15.02 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.004876/0.03058, allocations: 4.287 MB / 370.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.03063, allocations: 12.62 kB / 370.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.03482, allocations: 2.28 MB / 372.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.03647, allocations: 1.366 MB / 373.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/0.03657, allocations: 168.3 kB / 374 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.03683, allocations: 212.2 kB / 374.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005047/0.04188, allocations: 4.107 MB / 378.3 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/0.04193, allocations: 31.8 kB / 378.4 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.04213, allocations: 91.86 kB / 378.5 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00183/0.04396, allocations: 2.048 MB / 380.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005107/0.04906, allocations: 2.48 MB / 383 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01886/0.06793, allocations: 25.09 MB / 408.1 MB, free: 3.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.06982, allocations: 0.9459 MB / 409 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/0.07024, allocations: 307 kB / 409.3 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1398/0.2101, allocations: 2.459 MB / 411.8 MB, free: 70.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2101, allocations: 48 kB / 411.8 MB, free: 70.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 4.499e-06/0.2101, allocations: 0 / 411.8 MB, free: 70.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.008244/0.2184, allocations: 4.042 MB / 415.9 MB, free: 70.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.2184, allocations: 65.09 kB / 415.9 MB, free: 70.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.2213, allocations: 2.04 MB / 418 MB, free: 69.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.756e-05/0.2214, allocations: 51.52 kB / 418 MB, free: 69.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.2227, allocations: 2.477 MB / 420.5 MB, free: 68.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/0.2232, allocations: 0.6238 MB / 421.1 MB, free: 67.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000929/0.2241, allocations: 0.8859 MB / 422 MB, free: 67.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2242, allocations: 0.5119 MB / 422.5 MB, free: 67.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008592/0.2251, allocations: 457.7 kB / 423 MB, free: 67.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.2269, allocations: 3.824 MB / 426.8 MB, free: 62.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.2301, allocations: 4.724 MB / 431.5 MB, free: 58.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.223e-05/0.2302, allocations: 22.97 kB / 431.5 MB, free: 58.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.004483/0.2346, allocations: 3.566 MB / 435.1 MB, free: 57.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.2347, allocations: 38.72 kB / 435.1 MB, free: 57.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-05/0.2347, allocations: 79.88 kB / 435.2 MB, free: 57.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007019/0.2354, allocations: 341.3 kB / 435.6 MB, free: 57.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.2369, allocations: 0.9042 MB / 436.5 MB, free: 56.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.2403, allocations: 5.213 MB / 441.7 MB, free: 51.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.2423, allocations: 198.3 kB / 441.9 MB, free: 50.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.2425, allocations: 244.5 kB / 442.1 MB, free: 50.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 366 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],idealWheelJoint.wheel.colorRim[3],idealWheelJoint.wheel.colorRim[2],idealWheelJoint.wheel.colorRim[1],idealWheelJoint.color[3],idealWheelJoint.color[2],idealWheelJoint.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (494): * Single equations (assignments): 488 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,64.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001135/0.2436, allocations: 491 kB / 442.6 MB, free: 50.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/0.2439, allocations: 244 kB / 442.8 MB, free: 49.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.2455, allocations: 1.152 MB / 444 MB, free: 48.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.459e-05/0.2456, allocations: 27.7 kB / 444 MB, free: 48.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.2456, allocations: 8 kB / 444 MB, free: 48.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.2456, allocations: 7.359 kB / 444 MB, free: 48.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/0.2513, allocations: 4.09 MB / 448.1 MB, free: 45.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2513, allocations: 0 / 448.1 MB, free: 45.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.2518, allocations: 201.9 kB / 448.3 MB, free: 45.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.2522, allocations: 209.3 kB / 448.5 MB, free: 45.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/0.2523, allocations: 31.75 kB / 448.5 MB, free: 44.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.2544, allocations: 4.336 MB / 452.9 MB, free: 40.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.2544, allocations: 15.44 kB / 452.9 MB, free: 40.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.2564, allocations: 1.637 MB / 454.5 MB, free: 38.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.2568, allocations: 190.6 kB / 454.7 MB, free: 38.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.257, allocations: 27.98 kB / 454.7 MB, free: 38.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.2574, allocations: 57.58 kB / 454.8 MB, free: 38.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.2575, allocations: 104.7 kB / 454.9 MB, free: 38.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/0.2576, allocations: 44 kB / 454.9 MB, free: 38.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009679/0.2586, allocations: 0.8972 MB / 455.8 MB, free: 37.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2586, allocations: 0 / 455.8 MB, free: 37.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00234/0.2609, allocations: 0.7161 MB / 456.6 MB, free: 36.92 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (113): * Single equations (assignments): 107 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002967/0.2612, allocations: 162 kB / 456.7 MB, free: 36.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002785/0.264, allocations: 2.348 MB / 459.1 MB, free: 34.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.264, allocations: 0 / 459.1 MB, free: 34.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008319/0.2648, allocations: 0.907 MB / 460 MB, free: 33.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008908/0.2657, allocations: 285 kB / 460.2 MB, free: 33.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007491/0.2732, allocations: 5.894 MB / 466.1 MB, free: 27.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.2739, allocations: 1.001 MB / 467.1 MB, free: 26.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001359/0.2753, allocations: 0.996 MB / 468.1 MB, free: 25.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.2755, allocations: 156.5 kB / 468.3 MB, free: 25 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2755, allocations: 0 / 468.3 MB, free: 25 MB / 330.7 MB Notification: Performance of Templates: time 0.03072/0.3062, allocations: 23.8 MB / 492.1 MB, free: 1.527 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5001603248529136]