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.001346/0.001346, 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.0009743/0.0009743, allocations: 169 kB / 23.02 MB, free: 1.555 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.032/1.032, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.03046/0.03046, allocations: 7.179 MB / 267.1 MB, free: 6.078 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.263e-06/1.263e-06, allocations: 0 / 338.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.964e-05, allocations: 4.562 kB / 338.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.007132/0.007152, allocations: 9.17 MB / 348 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004327/0.01148, allocations: 2.757 MB / 350.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006446/0.01212, allocations: 43.81 kB / 350.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006454/0.01277, allocations: 397.3 kB / 351.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.01474, allocations: 1.466 MB / 352.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.01496, allocations: 135.6 kB / 352.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.0169, allocations: 2.707 MB / 355.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007947/0.01769, allocations: 0.7925 MB / 356.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.01893, allocations: 1.461 MB / 357.8 MB, free: 8.273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.02073, allocations: 1.41 MB / 359.2 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007116/0.02144, allocations: 248 kB / 359.4 MB, free: 6.617 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.02263, allocations: 0.7528 MB / 360.2 MB, free: 5.863 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.02365, allocations: 1.371 MB / 361.5 MB, free: 4.488 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.02488, allocations: 0.8759 MB / 362.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.02856, allocations: 3.49 MB / 365.9 MB, free: 108 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.02856, allocations: 0 / 365.9 MB, free: 108 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02856, allocations: 0 / 365.9 MB, free: 108 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001351/0.0287, allocations: 0 / 365.9 MB, free: 108 kB / 330.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.005589/0.03429, allocations: 4.291 MB / 370.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.03433, allocations: 12.61 kB / 370.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004274/0.03861, allocations: 2.28 MB / 372.5 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.0403, allocations: 1.297 MB / 373.8 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.999e-05/0.04039, allocations: 168.3 kB / 374 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/0.04068, allocations: 216.1 kB / 374.2 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005036/0.04571, allocations: 4.103 MB / 378.3 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/0.04576, allocations: 19.81 kB / 378.3 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.04596, allocations: 99.84 kB / 378.4 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001843/0.0478, allocations: 2.052 MB / 380.4 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005513/0.05332, allocations: 2.496 MB / 382.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02017/0.07349, allocations: 25.06 MB / 408 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.07538, allocations: 0.9373 MB / 408.9 MB, free: 3.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.07581, allocations: 306.5 kB / 409.2 MB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002737/0.07855, allocations: 2.461 MB / 411.7 MB, free: 1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.07858, allocations: 46.39 kB / 411.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=131): time 4.308e-06/0.07858, allocations: 0 / 411.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of matching and sorting (n=156): time 0.006538/0.08512, allocations: 4.05 MB / 415.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.08516, allocations: 64.72 kB / 415.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.08694, allocations: 2.023 MB / 417.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.087, allocations: 49.69 kB / 417.9 MB, free: 10.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.08827, allocations: 2.471 MB / 420.4 MB, free: 8.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.08861, allocations: 0.628 MB / 421 MB, free: 7.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007333/0.08935, allocations: 0.8817 MB / 421.9 MB, free: 6.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.08948, allocations: 0.516 MB / 422.4 MB, free: 6.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007096/0.09019, allocations: 452 kB / 422.9 MB, free: 5.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.09253, allocations: 3.812 MB / 426.7 MB, free: 328 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/0.09575, allocations: 4.686 MB / 431.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-05/0.09578, allocations: 27.94 kB / 431.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=543) (initialization): time 0.004782/0.1006, allocations: 3.552 MB / 434.9 MB, free: 6.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.1006, allocations: 44.06 kB / 435 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.879e-05/0.1007, allocations: 80 kB / 435.1 MB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007054/0.1014, allocations: 354 kB / 435.4 MB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.1028, allocations: 0.889 MB / 436.3 MB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1447/0.2475, allocations: 5.205 MB / 441.5 MB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.2495, allocations: 198.7 kB / 441.7 MB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.2498, allocations: 245.3 kB / 441.9 MB, free: 121.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 364 * 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 (492): * Single equations (assignments): 486 * 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.001044/0.2509, allocations: 479.8 kB / 442.4 MB, free: 121 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.2511, allocations: 245.2 kB / 442.6 MB, free: 121 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.2527, allocations: 1.146 MB / 443.8 MB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.586e-05/0.2527, allocations: 31.41 kB / 443.8 MB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2527, allocations: 3.188 kB / 443.8 MB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.2527, allocations: 6.609 kB / 443.8 MB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/0.258, allocations: 4.089 MB / 447.9 MB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.258, allocations: 3.188 kB / 447.9 MB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.2584, allocations: 199.5 kB / 448.1 MB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004495/0.2589, allocations: 214.1 kB / 448.3 MB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.259, allocations: 31.39 kB / 448.4 MB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.2613, allocations: 4.337 MB / 452.7 MB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2614, allocations: 5.969 kB / 452.7 MB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.2633, allocations: 1.649 MB / 454.3 MB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.2636, allocations: 185.9 kB / 454.5 MB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.2637, allocations: 35.05 kB / 454.6 MB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.2641, allocations: 56.28 kB / 454.6 MB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.2642, allocations: 98.78 kB / 454.7 MB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.2643, allocations: 48.95 kB / 454.8 MB, free: 116.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009298/0.2652, allocations: 0.8957 MB / 455.7 MB, free: 116.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2652, allocations: 0 / 455.7 MB, free: 116.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002108/0.2673, allocations: 0.7115 MB / 456.4 MB, free: 116.3 MB / 410.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.0002853/0.2676, allocations: 162.9 kB / 456.5 MB, free: 116.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002933/0.2705, allocations: 2.346 MB / 458.9 MB, free: 115.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.2705, allocations: 0 / 458.9 MB, free: 115.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008/0.2713, allocations: 0.9057 MB / 459.8 MB, free: 115.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008172/0.2722, allocations: 280 kB / 460.1 MB, free: 115.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007501/0.2797, allocations: 5.9 MB / 466 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/0.2805, allocations: 0.9969 MB / 467 MB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001451/0.282, allocations: 0.994 MB / 467.9 MB, free: 112.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.2823, allocations: 159.8 kB / 468.1 MB, free: 112.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.124e-06/0.2823, allocations: 0 / 468.1 MB, free: 112.3 MB / 410.7 MB Notification: Performance of Templates: time 0.0316/0.3139, allocations: 22.87 MB / 491 MB, free: 107.5 MB / 410.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.6489196280017495]