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.001052/0.001052, allocations: 92.2 kB / 20.19 MB, free: 4.348 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.001275/0.001275, allocations: 165 kB / 23.48 MB, free: 1.055 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.005/1.005, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.03006/0.03006, allocations: 7.182 MB / 267.5 MB, free: 6.105 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 1.513e-06/1.513e-06, allocations: 0 / 338.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.167e-05, allocations: 4.422 kB / 338.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.008953/0.008974, allocations: 11.45 MB / 350.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00567/0.01464, allocations: 3.138 MB / 353.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009742/0.01562, allocations: 55.81 kB / 353.5 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009328/0.01655, allocations: 0.4964 MB / 354 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002927/0.01948, allocations: 1.905 MB / 355.9 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.01984, allocations: 203.5 kB / 356.1 MB, free: 9.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.02294, allocations: 3.442 MB / 359.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.02407, allocations: 1.036 MB / 360.6 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.02595, allocations: 1.882 MB / 362.5 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.02804, allocations: 1.835 MB / 364.3 MB, free: 1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.02852, allocations: 324 kB / 364.6 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.0297, allocations: 0.9127 MB / 365.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.03096, allocations: 1.819 MB / 367.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.03206, allocations: 1.164 MB / 368.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004439/0.0365, allocations: 4.412 MB / 372.9 MB, free: 8.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.0365, allocations: 0 / 372.9 MB, free: 8.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.0365, allocations: 4 kB / 372.9 MB, free: 8.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.441e-05/0.03653, allocations: 0 / 372.9 MB, free: 8.344 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: 1678 * Number of variables: 1678 Notification: Performance of Generate backend data structure: time 0.02374/0.06028, allocations: 5.704 MB / 378.6 MB, free: 2.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.06031, allocations: 12.62 kB / 378.6 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01859/0.0789, allocations: 2.517 MB / 381.2 MB, free: 36 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008095/0.087, allocations: 1.619 MB / 382.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.08714, allocations: 217.8 kB / 383 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/0.08758, allocations: 292.1 kB / 383.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/0.1044, allocations: 5.614 MB / 388.9 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.913e-05/0.1045, allocations: 39.88 kB / 388.9 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003881/0.1049, allocations: 135.8 kB / 389.1 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003544/0.1085, allocations: 2.581 MB / 391.6 MB, free: 4.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.1193, allocations: 3.487 MB / 395.1 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.152/0.2713, allocations: 34.49 MB / 429.6 MB, free: 49.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004466/0.2758, allocations: 1.814 MB / 431.4 MB, free: 48.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.2768, allocations: 0.5424 MB / 432 MB, free: 48.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004647/0.2815, allocations: 4.224 MB / 436.2 MB, free: 47.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.2815, allocations: 55.64 kB / 436.3 MB, free: 47.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=210): time 4.93e-06/0.2815, allocations: 0 / 436.3 MB, free: 47.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.01269/0.2942, allocations: 7.255 MB / 443.5 MB, free: 45.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002099/0.2963, allocations: 3.103 MB / 446.6 MB, free: 43.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.2994, allocations: 2.685 MB / 449.3 MB, free: 41.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002487/0.2996, allocations: 67.25 kB / 449.4 MB, free: 41.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.3008, allocations: 3.206 MB / 452.6 MB, free: 38.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008597/0.3016, allocations: 0.9805 MB / 453.5 MB, free: 37.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009877/0.3026, allocations: 1.265 MB / 454.8 MB, free: 36.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.3027, allocations: 0.5276 MB / 455.3 MB, free: 36.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.3038, allocations: 0.652 MB / 456 MB, free: 35.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.3059, allocations: 5.385 MB / 461.4 MB, free: 27.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005397/0.3113, allocations: 6.693 MB / 468.1 MB, free: 19.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/0.3114, allocations: 34.19 kB / 468.1 MB, free: 19.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=789) (initialization): time 0.0101/0.3215, allocations: 5.086 MB / 473.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.922e-05/0.3216, allocations: 56.06 kB / 473.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001504/0.3217, allocations: 112 kB / 473.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.3229, allocations: 457.9 kB / 473.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003587/0.3265, allocations: 1.333 MB / 475.1 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005556/0.332, allocations: 5.983 MB / 481.1 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004524/0.3366, allocations: 311.3 kB / 481.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008561/0.3374, allocations: 356 kB / 481.8 MB, free: 5.133 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 510 * 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 (725): * Single equations (assignments): 719 * 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.002091/0.3395, allocations: 0.613 MB / 482.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006892/0.3402, allocations: 358.1 kB / 482.7 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.344, allocations: 1.862 MB / 484.6 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/0.3441, allocations: 43.33 kB / 484.6 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/0.3442, allocations: 8 kB / 484.6 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.3442, allocations: 7.969 kB / 484.7 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.3574, allocations: 8.062 MB / 492.7 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.3574, allocations: 8 kB / 492.7 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007706/0.3581, allocations: 328.1 kB / 493 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000815/0.359, allocations: 397 kB / 493.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-05/0.359, allocations: 51.98 kB / 493.5 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005254/0.3643, allocations: 6.25 MB / 499.7 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001885/0.3662, allocations: 2.913 MB / 0.4909 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004818/0.371, allocations: 2.617 MB / 0.4934 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.3721, allocations: 477.8 kB / 0.4939 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.3724, allocations: 51.94 kB / 0.4939 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/0.373, allocations: 103.7 kB / 0.494 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/0.3732, allocations: 177.5 kB / 0.4942 GB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.821e-05/0.3733, allocations: 75.11 kB / 0.4943 GB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001525/0.3749, allocations: 1.156 MB / 0.4954 GB, free: 10.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3749, allocations: 4 kB / 0.4954 GB, free: 10.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003935/0.3788, allocations: 1.031 MB / 0.4964 GB, free: 9.883 MB / 362.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.0003632/0.3792, allocations: 190.6 kB / 0.4966 GB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005132/0.3843, allocations: 3.309 MB / 0.4998 GB, free: 6.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3843, allocations: 0 / 0.4998 GB, free: 6.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.3859, allocations: 1.366 MB / 0.5012 GB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3871, allocations: 370.1 kB / 0.5015 GB, free: 4.605 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009739/0.3968, allocations: 8.232 MB / 0.5095 GB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.3979, allocations: 1.315 MB / 0.5108 GB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002106/0.4, allocations: 1.374 MB / 0.5122 GB, free: 9.488 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/0.4004, allocations: 224.4 kB / 0.5124 GB, free: 9.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.914e-06/0.4004, allocations: 0 / 0.5124 GB, free: 9.27 MB / 378.7 MB Notification: Performance of Templates: time 0.04393/0.4443, allocations: 29.52 MB / 0.5412 GB, free: 12.22 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.273500035051256]