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.000921/0.000921, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009544/0.0009544, allocations: 181 kB / 23.36 MB, free: 1.133 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.039/1.039, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.03357/0.03357, allocations: 7.182 MB / 267.4 MB, free: 5.934 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.292e-06/1.292e-06, allocations: 0 / 286.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.174e-05, allocations: 5.688 kB / 286.1 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.1221/0.1222, allocations: 11.23 MB / 297.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006322/0.1285, allocations: 3.269 MB / 300.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.1301, allocations: 52.16 kB / 300.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.1312, allocations: 0.5058 MB / 301.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.135, allocations: 1.899 MB / 303 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.1354, allocations: 192.9 kB / 303.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003367/0.1388, allocations: 3.435 MB / 306.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.1402, allocations: 1.064 MB / 307.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.1425, allocations: 1.887 MB / 309.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.1445, allocations: 1.762 MB / 311.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000536/0.1451, allocations: 320 kB / 311.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.1463, allocations: 0.9285 MB / 312.6 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009041/0.1472, allocations: 1.819 MB / 314.4 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009626/0.1482, allocations: 1.16 MB / 315.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003676/0.1519, allocations: 4.424 MB / 320 MB, free: 14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1519, allocations: 0 / 320 MB, free: 14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1519, allocations: 0 / 320 MB, free: 14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.702e-05/0.152, allocations: 3.938 kB / 320 MB, free: 14 MB / 282.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.006226/0.1582, allocations: 4.704 MB / 324.7 MB, free: 9.238 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1582, allocations: 8.625 kB / 324.7 MB, free: 9.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003715/0.162, allocations: 1.245 MB / 326 MB, free: 7.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.1638, allocations: 1.307 MB / 327.3 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.1639, allocations: 217.7 kB / 327.5 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003886/0.1643, allocations: 292.1 kB / 327.8 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006201/0.1705, allocations: 4.761 MB / 332.6 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/0.1706, allocations: 35.92 kB / 332.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002637/0.1708, allocations: 135.8 kB / 332.7 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002349/0.1732, allocations: 2.394 MB / 335.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00617/0.1793, allocations: 2.816 MB / 337.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02447/0.2038, allocations: 25.3 MB / 363.2 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003594/0.2074, allocations: 1.691 MB / 364.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.2079, allocations: 399.9 kB / 365.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003937/0.2118, allocations: 3.564 MB / 368.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.2119, allocations: 52.56 kB / 368.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=210): time 4.418e-06/0.2119, allocations: 7.938 kB / 368.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.01086/0.2227, allocations: 6.107 MB / 375 MB, free: 5.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00177/0.2245, allocations: 2.365 MB / 377.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.2266, allocations: 2.43 MB / 379.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.521e-05/0.2267, allocations: 61.7 kB / 379.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.2279, allocations: 3.01 MB / 382.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004668/0.2283, allocations: 0.9531 MB / 383.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009397/0.2293, allocations: 1.129 MB / 385 MB, free: 11.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.2294, allocations: 357.8 kB / 385.3 MB, free: 11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.2308, allocations: 0.7193 MB / 386.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/0.2332, allocations: 3.835 MB / 389.9 MB, free: 4.844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004052/0.2373, allocations: 5.187 MB / 395.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.879e-05/0.2373, allocations: 32 kB / 395.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.004963/0.2423, allocations: 4.079 MB / 399.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.2423, allocations: 55.94 kB / 399.3 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.179e-05/0.2424, allocations: 116 kB / 399.4 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007016/0.2431, allocations: 435.2 kB / 399.8 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/0.2454, allocations: 1.349 MB / 401.1 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.2492, allocations: 4.461 MB / 405.6 MB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.251, allocations: 228 kB / 405.8 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.2513, allocations: 300 kB / 406.1 MB, free: 2.785 MB / 362.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.001067/0.2523, allocations: 0.5797 MB / 406.7 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.2526, allocations: 227.8 kB / 406.9 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.2544, allocations: 1.402 MB / 408.3 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.805e-05/0.2545, allocations: 32.12 kB / 408.4 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2545, allocations: 11.98 kB / 408.4 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.2545, allocations: 7.969 kB / 408.4 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00737/0.2618, allocations: 5.367 MB / 413.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.2619, allocations: 8 kB / 413.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007462/0.2626, allocations: 319.6 kB / 414.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008044/0.2634, allocations: 483 kB / 414.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/0.2635, allocations: 51.98 kB / 414.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003986/0.2675, allocations: 4.68 MB / 419.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001452/0.2689, allocations: 2.215 MB / 421.5 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.2713, allocations: 1.983 MB / 423.5 MB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/0.2718, allocations: 385.9 kB / 423.8 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.272, allocations: 44 kB / 423.9 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.2725, allocations: 47.98 kB / 423.9 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.2728, allocations: 177.5 kB / 424.1 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/0.2728, allocations: 55.92 kB / 424.2 MB, free: 52 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007971/0.2736, allocations: 0.8718 MB / 425 MB, free: 15.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2736, allocations: 0 / 425 MB, free: 15.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002958/0.2766, allocations: 1.031 MB / 426.1 MB, free: 14.14 MB / 394.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.000267/0.2769, allocations: 172 kB / 426.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.28, allocations: 2.848 MB / 429.1 MB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001468/0.2801, allocations: 84.16 kB / 429.2 MB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.2812, allocations: 1.073 MB / 430.2 MB, free: 9.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.2821, allocations: 371.2 kB / 430.6 MB, free: 9.555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009431/0.2916, allocations: 8.189 MB / 438.8 MB, free: 1.203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.103/0.3945, allocations: 1.31 MB / 440.1 MB, free: 120.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001513/0.396, allocations: 436.9 kB / 440.5 MB, free: 120 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000801/0.3968, allocations: 0.489 MB / 441 MB, free: 120 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/0.3968, allocations: 0 / 441 MB, free: 120 MB / 394.7 MB Notification: Performance of Templates: time 0.04495/0.4418, allocations: 32.5 MB / 473.5 MB, free: 104.3 MB / 394.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8139882418327034]