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.0008543/0.0008543, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009003/0.0009003, allocations: 173.3 kB / 23.03 MB, free: 1.547 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 0.9339/0.9339, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.0283/0.0283, allocations: 7.184 MB / 267.1 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.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.412e-06/1.412e-06, allocations: 0 / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.567e-05, allocations: 4.703 kB / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.006835/0.006851, allocations: 11.48 MB / 350.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004923/0.01177, allocations: 3.142 MB / 353.5 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006444/0.01242, allocations: 59.75 kB / 353.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007247/0.01314, allocations: 0.5004 MB / 354 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.01557, allocations: 1.916 MB / 356 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.01584, allocations: 191.6 kB / 356.1 MB, free: 8.859 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002455/0.0183, allocations: 3.439 MB / 359.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/0.0191, allocations: 1.036 MB / 360.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.02042, allocations: 1.89 MB / 362.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.02197, allocations: 1.839 MB / 364.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.02228, allocations: 320 kB / 364.7 MB, free: 312 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009552/0.02324, allocations: 0.9166 MB / 365.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.02452, allocations: 1.811 MB / 367.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008137/0.02533, allocations: 1.164 MB / 368.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.02844, allocations: 4.42 MB / 373 MB, free: 7.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.02845, allocations: 0 / 373 MB, free: 7.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.02845, allocations: 4 kB / 373 MB, free: 7.961 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.626e-05/0.02849, allocations: 0 / 373 MB, free: 7.961 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.007424/0.03592, allocations: 5.711 MB / 378.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.03597, allocations: 12.62 kB / 378.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005141/0.04111, allocations: 2.513 MB / 381.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.04357, allocations: 1.692 MB / 382.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.0437, allocations: 233.8 kB / 383.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.04417, allocations: 288.1 kB / 383.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008884/0.05305, allocations: 5.611 MB / 389 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-05/0.05314, allocations: 35.94 kB / 389.1 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.05345, allocations: 135.7 kB / 389.2 MB, free: 7.004 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002399/0.05585, allocations: 2.577 MB / 391.8 MB, free: 4.422 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009608/0.06545, allocations: 3.499 MB / 395.3 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.178/0.2435, allocations: 34.49 MB / 429.8 MB, free: 44.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00484/0.2483, allocations: 1.811 MB / 431.6 MB, free: 43.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.2494, allocations: 0.5369 MB / 432.1 MB, free: 43.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00493/0.2544, allocations: 4.23 MB / 436.3 MB, free: 42.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.2544, allocations: 54.27 kB / 436.4 MB, free: 42.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=210): time 4.509e-06/0.2544, allocations: 0 / 436.4 MB, free: 42.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.0113/0.2657, allocations: 7.246 MB / 443.6 MB, free: 40.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001881/0.2676, allocations: 3.101 MB / 446.7 MB, free: 38.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.2702, allocations: 2.693 MB / 449.4 MB, free: 37.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.2703, allocations: 63.64 kB / 449.5 MB, free: 37.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.2714, allocations: 3.216 MB / 452.7 MB, free: 35.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005226/0.2719, allocations: 0.9798 MB / 453.7 MB, free: 34.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009632/0.2729, allocations: 1.265 MB / 454.9 MB, free: 33.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.2729, allocations: 0.5228 MB / 455.5 MB, free: 33.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.274, allocations: 0.6578 MB / 456.1 MB, free: 32.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/0.2762, allocations: 5.393 MB / 461.5 MB, free: 25.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004036/0.2802, allocations: 6.706 MB / 468.2 MB, free: 16.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.882e-05/0.2803, allocations: 32 kB / 468.3 MB, free: 16.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.006789/0.2871, allocations: 5.1 MB / 473.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.2872, allocations: 55.83 kB / 473.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-05/0.2873, allocations: 112 kB / 473.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009853/0.2882, allocations: 458.4 kB / 474 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/0.2906, allocations: 1.333 MB / 475.3 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/0.2949, allocations: 5.987 MB / 481.3 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/0.2977, allocations: 302.1 kB / 481.6 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005046/0.2982, allocations: 350.6 kB / 481.9 MB, free: 2.879 MB / 330.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.001487/0.2997, allocations: 0.6302 MB / 482.6 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/0.3001, allocations: 354.1 kB / 482.9 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.3024, allocations: 1.857 MB / 484.8 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.486e-05/0.3025, allocations: 39.92 kB / 484.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.3025, allocations: 8 kB / 484.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.3025, allocations: 11.95 kB / 484.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.3149, allocations: 8.075 MB / 492.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.3149, allocations: 4 kB / 492.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008094/0.3157, allocations: 327.6 kB / 493.2 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000924/0.3166, allocations: 415.8 kB / 493.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.3167, allocations: 47.98 kB / 493.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/0.3223, allocations: 6.245 MB / 499.9 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001986/0.3243, allocations: 2.9 MB / 0.491 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003959/0.3283, allocations: 2.628 MB / 0.4936 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.3295, allocations: 481.9 kB / 0.4941 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/0.3298, allocations: 44 kB / 0.4941 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.3304, allocations: 95.89 kB / 0.4942 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/0.3307, allocations: 177.5 kB / 0.4944 GB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.3308, allocations: 67.98 kB / 0.4944 GB, free: 9.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001597/0.3324, allocations: 1.163 MB / 0.4956 GB, free: 8.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3324, allocations: 0 / 0.4956 GB, free: 8.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003607/0.336, allocations: 1.031 MB / 0.4966 GB, free: 7.621 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.0004012/0.3364, allocations: 193.8 kB / 0.4968 GB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005099/0.3415, allocations: 3.319 MB / 0.5 GB, free: 4.086 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/0.3415, allocations: 0.875 kB / 0.5 GB, free: 4.086 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.3435, allocations: 1.372 MB / 0.5013 GB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.345, allocations: 370.3 kB / 0.5017 GB, free: 2.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.3576, allocations: 8.225 MB / 0.5097 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.3591, allocations: 1.315 MB / 0.511 GB, free: 8.598 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002531/0.3616, allocations: 1.382 MB / 0.5124 GB, free: 7.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/0.3621, allocations: 224.5 kB / 0.5126 GB, free: 6.992 MB / 378.7 MB Notification: Performance of SimCode: time 2.365e-06/0.3621, allocations: 3.938 kB / 0.5126 GB, free: 6.988 MB / 378.7 MB Notification: Performance of Templates: time 0.04874/0.4108, allocations: 30.61 MB / 0.5425 GB, free: 8.855 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: 3.9827922680415213]