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.001865/0.001865, allocations: 81.48 kB / 19.44 MB, free: 340 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.002048/0.002048, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.07759/0.07759, allocations: 7.187 MB / 266.7 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.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.743e-06/1.743e-06, allocations: 3.938 kB / 338.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.856e-05, allocations: 2.312 kB / 338.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.007836/0.007864, allocations: 9.106 MB / 347.2 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006208/0.01407, allocations: 2.747 MB / 350 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.01523, allocations: 43.88 kB / 350 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009648/0.0162, allocations: 401.2 kB / 350.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003869/0.02007, allocations: 1.469 MB / 351.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.02048, allocations: 123.7 kB / 352 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003708/0.02419, allocations: 2.697 MB / 354.7 MB, free: 9.891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.02547, allocations: 0.8042 MB / 355.5 MB, free: 9.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.02757, allocations: 1.453 MB / 357 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.02985, allocations: 1.41 MB / 358.4 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004725/0.03033, allocations: 252 kB / 358.6 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.03183, allocations: 0.7489 MB / 359.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.03334, allocations: 1.363 MB / 360.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.03491, allocations: 0.8837 MB / 361.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007429/0.04234, allocations: 5.4 MB / 367 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.04235, allocations: 4 kB / 367 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.04235, allocations: 0 / 367 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001289/0.04248, allocations: 0 / 367 MB, free: 13.52 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.01048/0.05296, allocations: 4.744 MB / 371.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.053, allocations: 12.62 kB / 371.8 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008703/0.06171, allocations: 2.288 MB / 374.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/0.06512, allocations: 1.304 MB / 375.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.06529, allocations: 160.3 kB / 375.5 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004856/0.06578, allocations: 208.2 kB / 375.7 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009902/0.07568, allocations: 4.676 MB / 380.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/0.07576, allocations: 27.77 kB / 380.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000311/0.07607, allocations: 99.84 kB / 380.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003675/0.07975, allocations: 2.048 MB / 382.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009223/0.08897, allocations: 3.041 MB / 385.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2197/0.3086, allocations: 38 MB / 423.6 MB, free: 53.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.3119, allocations: 1.085 MB / 424.7 MB, free: 53.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007874/0.3127, allocations: 376 kB / 425.1 MB, free: 53.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006767/0.3194, allocations: 2.595 MB / 427.7 MB, free: 52.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.3195, allocations: 52.86 kB / 427.7 MB, free: 52.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 6.192e-06/0.3195, allocations: 0 / 427.7 MB, free: 52.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01142/0.3309, allocations: 4.367 MB / 432.1 MB, free: 51.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3309, allocations: 70.78 kB / 432.2 MB, free: 51.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004244/0.3352, allocations: 2.823 MB / 435 MB, free: 50.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.3353, allocations: 47.02 kB / 435 MB, free: 50.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.3366, allocations: 2.632 MB / 437.7 MB, free: 48.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/0.3371, allocations: 0.6599 MB / 438.3 MB, free: 48.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.3384, allocations: 1.103 MB / 439.4 MB, free: 47.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3385, allocations: 0.545 MB / 440 MB, free: 47.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.3401, allocations: 0.566 MB / 440.5 MB, free: 47.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/0.3438, allocations: 4.103 MB / 444.6 MB, free: 42.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006566/0.3503, allocations: 5.101 MB / 449.7 MB, free: 36.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/0.3504, allocations: 22.31 kB / 449.8 MB, free: 36.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=543) (initialization): time 0.01153/0.362, allocations: 3.801 MB / 453.6 MB, free: 33.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.362, allocations: 39.98 kB / 453.6 MB, free: 33.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.3622, allocations: 80 kB / 453.7 MB, free: 33.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.3637, allocations: 377.8 kB / 454 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/0.3675, allocations: 0.889 MB / 454.9 MB, free: 32.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007089/0.3746, allocations: 5.617 MB / 460.5 MB, free: 26.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00462/0.3792, allocations: 195.9 kB / 460.7 MB, free: 26.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009281/0.3801, allocations: 244 kB / 461 MB, free: 26.32 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.002454/0.3826, allocations: 0.586 MB / 461.6 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006946/0.3833, allocations: 246.6 kB / 461.8 MB, free: 25.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004441/0.3877, allocations: 1.263 MB / 463.1 MB, free: 24.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001719/0.3879, allocations: 27.98 kB / 463.1 MB, free: 24.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.3879, allocations: 4 kB / 463.1 MB, free: 24.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.3879, allocations: 11.81 kB / 463.1 MB, free: 24.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.4049, allocations: 5.273 MB / 468.4 MB, free: 18.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.405, allocations: 7.938 kB / 468.4 MB, free: 18.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.4064, allocations: 203.7 kB / 468.6 MB, free: 18.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.4077, allocations: 236.5 kB / 468.8 MB, free: 18.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.4079, allocations: 28 kB / 468.8 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006081/0.414, allocations: 4.617 MB / 473.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.414, allocations: 7.688 kB / 473.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005687/0.4197, allocations: 1.889 MB / 475.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008325/0.4205, allocations: 182.7 kB / 475.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/0.4209, allocations: 31.92 kB / 475.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.4222, allocations: 59.94 kB / 475.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.4226, allocations: 100.8 kB / 475.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.4227, allocations: 43.75 kB / 475.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002772/0.4255, allocations: 1.163 MB / 476.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4255, allocations: 0 / 476.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.007273/0.4328, allocations: 0.7108 MB / 477.6 MB, free: 9.242 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.0005949/0.4334, allocations: 162.4 kB / 477.8 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008159/0.4415, allocations: 2.734 MB / 480.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.4415, allocations: 0 / 480.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002454/0.444, allocations: 1.01 MB / 481.5 MB, free: 5.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.4466, allocations: 280.4 kB / 481.8 MB, free: 5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/0.4642, allocations: 6.025 MB / 487.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005405/0.4696, allocations: 2.004 MB / 489.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004942/0.4746, allocations: 0.9873 MB / 490.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007384/0.4753, allocations: 160.5 kB / 491 MB, free: 11.69 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4753, allocations: 0 / 491 MB, free: 11.69 MB / 346.7 MB Notification: Performance of Templates: time 0.0903/0.5656, allocations: 22.87 MB / 0.5018 GB, free: 5.133 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.947728301980533]