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.0007303/0.0007303, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009627/0.001693, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001016/0.001016, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001302/0.002319, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9409/0.9409, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08744/1.028, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.04293/0.04293, allocations: 7.17 MB / 251.1 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006327/0.04926, allocations: 2.553 MB / 253.7 MB, free: 5.324 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.352e-06/1.352e-06, allocations: 0 / 254.9 MB, free: 4.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.47e-05, allocations: 9.766 kB / 255 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.008633/0.008648, allocations: 11.3 MB / 266.3 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005301/0.01395, allocations: 3.292 MB / 269.6 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006469/0.0146, allocations: 47.88 kB / 269.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006121/0.01521, allocations: 0.5316 MB / 270.1 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.01754, allocations: 1.877 MB / 272 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.01783, allocations: 191.6 kB / 272.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1202/0.138, allocations: 3.441 MB / 275.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.1398, allocations: 1.049 MB / 276.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003347/0.1431, allocations: 1.966 MB / 278.6 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003453/0.1466, allocations: 1.755 MB / 280.4 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.1478, allocations: 320.2 kB / 280.7 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.1503, allocations: 0.9283 MB / 281.6 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002169/0.1525, allocations: 1.622 MB / 283.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.1549, allocations: 0.9551 MB / 284.2 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005028/0.1599, allocations: 4.132 MB / 288.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.16, allocations: 0 / 288.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.16, allocations: 3.844 kB / 288.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002286/0.1602, allocations: 0 / 288.4 MB, free: 1.125 MB / 266.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.008479/0.1687, allocations: 5.576 MB / 293.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1687, allocations: 13.23 kB / 293.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.1722, allocations: 1.244 MB / 295.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.1742, allocations: 1.299 MB / 296.5 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1743, allocations: 214.2 kB / 296.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/0.1747, allocations: 299 kB / 297 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006064/0.1807, allocations: 4.765 MB / 301.8 MB, free: 9.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.535e-05/0.1808, allocations: 37.67 kB / 301.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/0.181, allocations: 131.6 kB / 301.9 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.1832, allocations: 2.411 MB / 304.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005925/0.1891, allocations: 2.83 MB / 307.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/0.2153, allocations: 25.29 MB / 332.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/0.2189, allocations: 1.642 MB / 334.1 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.2195, allocations: 401 kB / 334.5 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004755/0.2242, allocations: 3.561 MB / 338 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.2243, allocations: 52.56 kB / 338.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of pre-optimization done (n=210): time 3.998e-06/0.2243, allocations: 0 / 338.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=250): time 0.01085/0.2351, allocations: 6.054 MB / 344.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001712/0.2368, allocations: 2.373 MB / 346.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/0.2389, allocations: 2.429 MB / 349 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.2391, allocations: 61.7 kB / 349 MB, free: 11.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001362/0.2404, allocations: 3 MB / 352 MB, free: 8.152 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005096/0.2409, allocations: 0.9546 MB / 353 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008976/0.2418, allocations: 1.135 MB / 354.1 MB, free: 6.234 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.2419, allocations: 363.1 kB / 354.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.2431, allocations: 0.7178 MB / 355.2 MB, free: 5.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/0.2456, allocations: 3.836 MB / 359 MB, free: 15.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004066/0.2497, allocations: 5.201 MB / 364.2 MB, free: 9.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.544e-05/0.2498, allocations: 32 kB / 364.2 MB, free: 9.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.004919/0.2547, allocations: 4.081 MB / 368.3 MB, free: 5.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.2547, allocations: 58.95 kB / 368.4 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.751e-05/0.2548, allocations: 112.8 kB / 368.5 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007971/0.2556, allocations: 438.7 kB / 368.9 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/0.2584, allocations: 1.439 MB / 370.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/0.262, allocations: 4.455 MB / 374.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.2641, allocations: 228 kB / 375 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/0.2645, allocations: 303.9 kB / 375.3 MB, free: 14.04 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.00143/0.2659, allocations: 0.5758 MB / 375.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/0.2662, allocations: 223.7 kB / 376.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.2682, allocations: 1.413 MB / 377.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-05/0.2683, allocations: 31.98 kB / 377.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.2683, allocations: 8 kB / 377.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.2683, allocations: 7.969 kB / 377.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007416/0.2757, allocations: 5.36 MB / 382.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.2757, allocations: 11.94 kB / 383 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007555/0.2765, allocations: 351.5 kB / 383.3 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006283/0.2771, allocations: 381.9 kB / 383.7 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.2782, allocations: 475.2 kB / 384.1 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.2783, allocations: 47.97 kB / 384.2 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.2819, allocations: 4.704 MB / 388.9 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001701/0.2836, allocations: 2.209 MB / 391.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.286, allocations: 1.994 MB / 393.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003596/0.2864, allocations: 47.98 kB / 393.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.2869, allocations: 43.94 kB / 393.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.2872, allocations: 173.5 kB / 393.4 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.3e-05/0.2872, allocations: 59.97 kB / 393.4 MB, free: 11.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009714/0.2882, allocations: 0.8679 MB / 394.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2882, allocations: 0 / 394.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00299/0.2912, allocations: 1.035 MB / 395.3 MB, free: 9.359 MB / 378.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.000326/0.2915, allocations: 175.9 kB / 395.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003759/0.2953, allocations: 2.832 MB / 398.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001982/0.2955, allocations: 106.8 kB / 398.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.2966, allocations: 1.068 MB / 399.5 MB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.2979, allocations: 0.5713 MB / 400.1 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.3123, allocations: 8.418 MB / 408.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.3138, allocations: 1.317 MB / 409.8 MB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001421/0.3153, allocations: 437.2 kB / 410.2 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000758/0.316, allocations: 0.4895 MB / 410.7 MB, free: 9.711 MB / 394.7 MB Notification: Performance of SimCode: time 2.194e-06/0.316, allocations: 4 kB / 410.7 MB, free: 9.707 MB / 394.7 MB Notification: Performance of Templates: time 0.1646/0.4806, allocations: 33.04 MB / 443.8 MB, free: 110.9 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 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.697183236479759]