Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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.001168/0.001168, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.00117/0.00117, allocations: 169 kB / 23.27 MB, free: 1.223 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.04/1.04, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.02926/0.02926, allocations: 7.195 MB / 267.4 MB, free: 5.906 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.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") translateModel(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 339.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.3e-05/4.617e-05, allocations: 4.844 kB / 339.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.02524/0.02528, allocations: 11.19 MB / 350.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01746/0.04274, allocations: 3.119 MB / 353.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00589/0.04863, allocations: 59.75 kB / 353.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005214/0.05384, allocations: 0.5043 MB / 354.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.0649, allocations: 1.909 MB / 356.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.066, allocations: 187.5 kB / 356.3 MB, free: 9.938 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004158/0.07016, allocations: 3.437 MB / 359.7 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.07117, allocations: 1.029 MB / 360.7 MB, free: 5.445 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.07267, allocations: 1.894 MB / 362.6 MB, free: 3.547 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.07432, allocations: 1.831 MB / 364.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003144/0.07463, allocations: 320 kB / 364.8 MB, free: 1.398 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.07582, allocations: 0.9205 MB / 365.7 MB, free: 488 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.07686, allocations: 1.819 MB / 367.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008886/0.07774, allocations: 1.156 MB / 368.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.08136, allocations: 4.423 MB / 373.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.08137, allocations: 0 / 373.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.08137, allocations: 0 / 373.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.291e-05/0.0814, allocations: 0 / 373.1 MB, free: 9.051 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1678 * Number of variables: 1678 Notification: Performance of Generate backend data structure: time 0.006954/0.08836, allocations: 5.57 MB / 378.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.08841, allocations: 12.61 kB / 378.7 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/0.09198, allocations: 1.554 MB / 380.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.0937, allocations: 1.567 MB / 381.8 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.09383, allocations: 221.8 kB / 382 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003616/0.09419, allocations: 288.1 kB / 382.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005478/0.09967, allocations: 5.113 MB / 387.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.273e-05/0.09973, allocations: 31.91 kB / 387.4 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/0.09998, allocations: 139.7 kB / 387.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002055/0.102, allocations: 2.386 MB / 390 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004379/0.1064, allocations: 2.82 MB / 392.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02929/0.1357, allocations: 34.23 MB / 427 MB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.1401, allocations: 1.686 MB / 428.7 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006985/0.1408, allocations: 471.1 kB / 429.2 MB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005395/0.1462, allocations: 4.071 MB / 433.2 MB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1462, allocations: 51.39 kB / 433.3 MB, free: 11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=210): time 4.329e-06/0.1462, allocations: 0 / 433.3 MB, free: 11 MB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.01288/0.1591, allocations: 6.183 MB / 439.5 MB, free: 4.781 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002573/0.1617, allocations: 2.994 MB / 442.5 MB, free: 1.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1923/0.354, allocations: 2.677 MB / 445.1 MB, free: 128.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004221/0.3545, allocations: 64.48 kB / 445.2 MB, free: 128.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001413/0.3559, allocations: 3.227 MB / 448.4 MB, free: 126.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006141/0.3565, allocations: 0.988 MB / 449.4 MB, free: 126.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.3576, allocations: 1.289 MB / 450.7 MB, free: 126.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3577, allocations: 0.5302 MB / 451.2 MB, free: 125.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009939/0.3587, allocations: 0.5793 MB / 451.8 MB, free: 125.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.361, allocations: 5.357 MB / 457.2 MB, free: 119.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/0.3647, allocations: 6.557 MB / 463.7 MB, free: 113.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.866e-05/0.3647, allocations: 32.41 kB / 463.8 MB, free: 113.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.004722/0.3694, allocations: 4.753 MB / 468.5 MB, free: 112.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.3695, allocations: 53.62 kB / 468.6 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/0.3696, allocations: 114.8 kB / 468.7 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007381/0.3703, allocations: 446.5 kB / 469.1 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/0.3723, allocations: 1.286 MB / 470.4 MB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/0.3757, allocations: 5.727 MB / 476.1 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.3775, allocations: 227.7 kB / 476.3 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.3777, allocations: 298.8 kB / 476.6 MB, free: 107.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 27 (trail.color[3],trail.color[2],trail.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],chassis.color[3],chassis.color[2],chassis.color[1],idealWheelRear.wheel.colorRim[3],idealWheelRear.wheel.colorRim[2],idealWheelRear.wheel.colorRim[1],idealWheelRear.color[3],idealWheelRear.color[2],idealWheelRear.color[1],idealWheelFront.wheel.colorRim[3],idealWheelFront.wheel.colorRim[2],idealWheelFront.wheel.colorRim[1],idealWheelFront.color[3],idealWheelFront.color[2],idealWheelFront.color[1],bodyRear.sphereColor[3],bodyRear.sphereColor[2],bodyRear.sphereColor[1],bodyFront.sphereColor[3],bodyFront.sphereColor[2],bodyFront.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (726): * Single equations (assignments): 720 * 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 {(6,26,55.6%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009852/0.3787, allocations: 0.6226 MB / 477.3 MB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/0.379, allocations: 355.9 kB / 477.6 MB, free: 107 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.3807, allocations: 1.685 MB / 479.3 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.44e-05/0.3808, allocations: 28.38 kB / 479.3 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.3808, allocations: 8.938 kB / 479.3 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3808, allocations: 10.36 kB / 479.3 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006973/0.3878, allocations: 6.792 MB / 486.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.3878, allocations: 2.969 kB / 486.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.3884, allocations: 303.8 kB / 486.4 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007397/0.3892, allocations: 383.6 kB / 486.8 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-05/0.3892, allocations: 52.53 kB / 486.9 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/0.3926, allocations: 5.952 MB / 492.8 MB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001137/0.3937, allocations: 2.787 MB / 495.6 MB, free: 95.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.3957, allocations: 2.363 MB / 498 MB, free: 94.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.3961, allocations: 418.9 kB / 498.4 MB, free: 94.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.3963, allocations: 52.53 kB / 498.4 MB, free: 94.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.3967, allocations: 45.73 kB / 498.5 MB, free: 94.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.3969, allocations: 168 kB / 498.6 MB, free: 94.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.397, allocations: 59.97 kB / 498.7 MB, free: 94.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007596/0.3977, allocations: 1.074 MB / 499.8 MB, free: 94.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3977, allocations: 0 / 499.8 MB, free: 94.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002219/0.3999, allocations: 1.035 MB / 0.4891 GB, free: 94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 ($STATESET1.x,bodyRear.r[1],bodyRear.r[2],bodyRear.phi,idealWheelFront.phi_roll,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 (183): * Single equations (assignments): 177 * 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 {(6,26,55.6%), (3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002504/0.4002, allocations: 188.6 kB / 0.4892 GB, free: 93.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.4027, allocations: 3.129 MB / 0.4923 GB, free: 92.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4027, allocations: 3.906 kB / 0.4923 GB, free: 92.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008919/0.4036, allocations: 1.267 MB / 0.4935 GB, free: 92.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/0.4045, allocations: 375.5 kB / 0.4939 GB, free: 91.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007249/0.4118, allocations: 8.164 MB / 0.5019 GB, free: 84.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009734/0.4127, allocations: 1.318 MB / 0.5032 GB, free: 83.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009118/0.4137, allocations: 433.6 kB / 0.5036 GB, free: 83.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000587/0.4142, allocations: 0.5342 MB / 0.5041 GB, free: 82.93 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4142, allocations: 0 / 0.5041 GB, free: 82.93 MB / 410.7 MB Notification: Performance of Templates: time 0.03869/0.4529, allocations: 32.46 MB / 0.5358 GB, free: 54.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.525781297124922]