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.001391/0.001391, allocations: 88.72 kB / 19.44 MB, free: 352 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.0016/0.0016, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.04954/0.04954, allocations: 7.18 MB / 266.7 MB, free: 6.094 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.794e-06/1.794e-06, allocations: 0 / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.157e-05, allocations: 4.984 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.007274/0.007306, allocations: 8.316 MB / 346.4 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.0124, allocations: 2.673 MB / 349.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009727/0.01338, allocations: 43.88 kB / 349.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009864/0.01436, allocations: 401.2 kB / 349.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.018, allocations: 1.469 MB / 351 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.01839, allocations: 123.8 kB / 351.1 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004074/0.02247, allocations: 2.707 MB / 353.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.02374, allocations: 0.7925 MB / 354.6 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.0258, allocations: 1.457 MB / 356.1 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.02832, allocations: 1.406 MB / 357.5 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005186/0.02884, allocations: 252 kB / 357.7 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.03052, allocations: 0.745 MB / 358.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.03215, allocations: 1.367 MB / 359.9 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.03372, allocations: 0.8797 MB / 360.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008063/0.04178, allocations: 5.4 MB / 366.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.04179, allocations: 0 / 366.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.04179, allocations: 0 / 366.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001562/0.04195, allocations: 0 / 366.1 MB, free: 14.45 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.01221/0.05416, allocations: 3.965 MB / 370.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.441e-05/0.05424, allocations: 12.62 kB / 370.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008908/0.06315, allocations: 2.35 MB / 372.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005241/0.06839, allocations: 1.38 MB / 373.8 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.06861, allocations: 164.3 kB / 374 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006765/0.06929, allocations: 204.2 kB / 374.2 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.08686, allocations: 8.491 MB / 382.7 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/0.08701, allocations: 31.7 kB / 382.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008664/0.08788, allocations: 91.86 kB / 382.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004117/0.09199, allocations: 2.048 MB / 384.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01827/0.1103, allocations: 7.652 MB / 392.5 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2083/0.3185, allocations: 22.68 MB / 415.2 MB, free: 61.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00621/0.3248, allocations: 1.735 MB / 416.9 MB, free: 61.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/0.3268, allocations: 0.7423 MB / 417.7 MB, free: 61.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008408/0.3352, allocations: 2.512 MB / 420.2 MB, free: 61.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.3353, allocations: 47.56 kB / 420.2 MB, free: 61.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 5.381e-06/0.3353, allocations: 0 / 420.2 MB, free: 61.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.02106/0.3563, allocations: 6.695 MB / 426.9 MB, free: 58.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.3564, allocations: 62.59 kB / 427 MB, free: 58.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005865/0.3623, allocations: 2.316 MB / 429.3 MB, free: 57.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000272/0.3625, allocations: 46.02 kB / 429.4 MB, free: 57.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00207/0.3646, allocations: 2.378 MB / 431.7 MB, free: 56.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009597/0.3656, allocations: 0.6007 MB / 432.3 MB, free: 55.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002654/0.3682, allocations: 0.8311 MB / 433.2 MB, free: 55.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3684, allocations: 351.7 kB / 433.5 MB, free: 54.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003895/0.3722, allocations: 1.345 MB / 434.8 MB, free: 54.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00483/0.3771, allocations: 3.637 MB / 438.5 MB, free: 50.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009007/0.3861, allocations: 5.367 MB / 443.9 MB, free: 44.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/0.3862, allocations: 20 kB / 443.9 MB, free: 44.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=543) (initialization): time 0.01567/0.4019, allocations: 5.422 MB / 449.3 MB, free: 39.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002762/0.4022, allocations: 41 kB / 449.3 MB, free: 39.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003065/0.4025, allocations: 80 kB / 449.4 MB, free: 38.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/0.405, allocations: 480.2 kB / 449.9 MB, free: 38.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005571/0.4106, allocations: 0.9045 MB / 450.8 MB, free: 37.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008392/0.419, allocations: 5.661 MB / 456.4 MB, free: 31.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/0.4228, allocations: 208 kB / 456.7 MB, free: 31.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008881/0.4237, allocations: 240 kB / 456.9 MB, free: 31.31 MB / 330.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.00389/0.4276, allocations: 1.701 MB / 458.6 MB, free: 29.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007511/0.4284, allocations: 243.4 kB / 458.8 MB, free: 29.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.4323, allocations: 2.158 MB / 461 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/0.4324, allocations: 23.98 kB / 461 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/0.4324, allocations: 4 kB / 461 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.4324, allocations: 7.969 kB / 461 MB, free: 27.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.4438, allocations: 4.993 MB / 466 MB, free: 22.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.4438, allocations: 112 / 466 MB, free: 22.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008034/0.4446, allocations: 203.7 kB / 466.2 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008849/0.4455, allocations: 337.8 kB / 466.5 MB, free: 21.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.4456, allocations: 28 kB / 466.6 MB, free: 21.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004171/0.4498, allocations: 4.465 MB / 471 MB, free: 16.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4498, allocations: 7.938 kB / 471 MB, free: 16.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004771/0.4545, allocations: 3.314 MB / 474.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008146/0.4553, allocations: 186.7 kB / 474.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005893/0.4559, allocations: 34.66 kB / 474.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.4572, allocations: 60.8 kB / 474.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/0.4575, allocations: 100.7 kB / 474.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.4576, allocations: 47.98 kB / 474.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002644/0.4603, allocations: 1.342 MB / 476.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4603, allocations: 4 kB / 476.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00459/0.4649, allocations: 0.716 MB / 476.8 MB, free: 11.04 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.0005214/0.4654, allocations: 153.6 kB / 477 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005749/0.4711, allocations: 3.395 MB / 480.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.4711, allocations: 0 / 480.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.4729, allocations: 1.193 MB / 481.6 MB, free: 6.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.4755, allocations: 287.7 kB / 481.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.4908, allocations: 7.107 MB / 489 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005408/0.4963, allocations: 2.211 MB / 491.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003849/0.5001, allocations: 1.151 MB / 492.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007515/0.5009, allocations: 156.5 kB / 492.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of SimCode: time 3.106e-06/0.5009, allocations: 0 / 492.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of Templates: time 0.05475/0.5556, allocations: 22.84 MB / 0.5032 GB, free: 4.734 MB / 362.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.756179332034662]