Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle") translateModel(VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 110.5 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 190.7 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04174/0.04174, allocations: 8.009 MB / 299.2 MB, free: 7.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.91 kB / 413.8 MB, free: 22.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07657/0.07775, allocations: 51.2 MB / 465 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle): time 0.02723/0.105, allocations: 27.28 MB / 492.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.1192, allocations: 7.748 MB / 500 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003734/0.1229, allocations: 223.4 kB / 0.4885 GB, free: 360 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009643/0.1326, allocations: 5.364 MB / 0.4937 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005333/0.138, allocations: 2.114 MB / 0.4958 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006922/0.1449, allocations: 3.684 MB / 0.4994 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1853/0.3302, allocations: 5.996 MB / 0.5052 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01792/0.3481, allocations: 14.47 MB / 0.5194 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004969/0.3531, allocations: 3.624 MB / 0.5229 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004697/0.3578, allocations: 4.39 MB / 0.5272 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.359, allocations: 1.093 MB / 0.5283 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.3609, allocations: 1.572 MB / 0.5298 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002584/0.3635, allocations: 3.444 MB / 0.5332 GB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003768/0.3673, allocations: 4.402 MB / 0.5375 GB, free: 13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.3778, allocations: 13.1 MB / 0.5503 GB, free: 4.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3778, allocations: 0 / 0.5503 GB, free: 4.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3778, allocations: 0 / 0.5503 GB, free: 4.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002741/0.3781, allocations: 0 / 0.5503 GB, free: 4.617 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2028 * Number of variables: 2028 Notification: Performance of Generate backend data structure: time 0.01414/0.3922, allocations: 8.094 MB / 0.5582 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3923, allocations: 8.031 kB / 0.5582 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/0.3949, allocations: 0.971 MB / 0.5591 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006751/0.4017, allocations: 4.511 MB / 0.5635 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003572/0.4021, allocations: 0.5338 MB / 0.5641 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009829/0.4031, allocations: 0.7111 MB / 0.5647 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/0.4204, allocations: 10.53 MB / 0.575 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/0.4206, allocations: 42.36 kB / 0.5751 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006089/0.4212, allocations: 301.6 kB / 0.5754 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008459/0.4221, allocations: 0.7544 MB / 0.5761 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.4352, allocations: 7.552 MB / 0.5835 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04098/0.4762, allocations: 32.85 MB / 0.6156 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004478/0.4807, allocations: 1.921 MB / 0.6174 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.4821, allocations: 0.8555 MB / 0.6183 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.951e-05/0.4822, allocations: 15.66 kB / 0.6183 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.4822, allocations: 59.86 kB / 0.6183 GB, free: 14.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=145): time 3.486e-06/0.4822, allocations: 0 / 0.6183 GB, free: 14.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=173): time 0.02179/0.504, allocations: 10.53 MB / 0.6286 GB, free: 4.352 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.5041, allocations: 99.14 kB / 0.6287 GB, free: 4.238 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004582/0.5087, allocations: 3.836 MB / 0.6325 GB, free: 392 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.5088, allocations: 77.69 kB / 0.6325 GB, free: 308 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002938/0.5118, allocations: 3.904 MB / 0.6363 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004837/0.5123, allocations: 0.6624 MB / 0.637 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.5134, allocations: 0.9174 MB / 0.6379 GB, free: 10.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.5135, allocations: 301.1 kB / 0.6382 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.5155, allocations: 1.309 MB / 0.6395 GB, free: 9.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/0.519, allocations: 3.822 MB / 0.6432 GB, free: 4.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005437/0.5244, allocations: 5.291 MB / 0.6484 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.073e-05/0.5244, allocations: 24 kB / 0.6484 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=591) (initialization): time 0.008284/0.5327, allocations: 5.55 MB / 0.6538 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.5328, allocations: 46.5 kB / 0.6538 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.737e-05/0.5329, allocations: 88 kB / 0.6539 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002216/0.5351, allocations: 1.428 MB / 0.6553 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.5377, allocations: 0.9728 MB / 0.6563 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.5401, allocations: 1.863 MB / 0.6581 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/0.5431, allocations: 351.3 kB / 0.6584 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/0.5434, allocations: 268 kB / 0.6587 GB, free: 4.062 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 87 (driverEnvironment.driverBus.ignition,brakes.brake_4.mode,$PRE.brakes.brake_4.mode,brakes.brake_4.locked,brakes.brake_4.startBackward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startForward,brakes.brake_4.free,brakes.brake_3.mode,$PRE.brakes.brake_3.mode,brakes.brake_3.locked,brakes.brake_3.startBackward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startForward,brakes.brake_3.free,brakes.brake_2.mode,$PRE.brakes.brake_2.mode,brakes.brake_2.locked,brakes.brake_2.startBackward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startForward,brakes.brake_2.free,brakes.brake_1.mode,$PRE.brakes.brake_1.mode,brakes.brake_1.locked,brakes.brake_1.startBackward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startForward,brakes.brake_1.free,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],diffMount.chassisFrameToMount1.color[3],diffMount.chassisFrameToMount1.color[2],diffMount.chassisFrameToMount1.color[1],engineTransmissionMount.chassisFrameToMount2.color[3],engineTransmissionMount.chassisFrameToMount2.color[2],engineTransmissionMount.chassisFrameToMount2.color[1],engineTransmissionMount.chassisFrameToMount1.color[3],engineTransmissionMount.chassisFrameToMount1.color[2],engineTransmissionMount.chassisFrameToMount1.color[1],accessories.inertia.cylinderColor[3],accessories.inertia.cylinderColor[2],accessories.inertia.cylinderColor[1],driveline.leftHalfShaft.cylinderColor[3],driveline.leftHalfShaft.cylinderColor[2],driveline.leftHalfShaft.cylinderColor[1],driveline.rightHalfShaft.cylinderColor[3],driveline.rightHalfShaft.cylinderColor[2],driveline.rightHalfShaft.cylinderColor[1],chassis.fixedTranslation3.color[3],chassis.fixedTranslation3.color[2],chassis.fixedTranslation3.color[1],chassis.fixedTranslation2.color[3],chassis.fixedTranslation2.color[2],chassis.fixedTranslation2.color[1],chassis.fixedTranslation1.color[3],chassis.fixedTranslation1.color[2],chassis.fixedTranslation1.color[1],chassis.fixedTranslation.color[3],chassis.fixedTranslation.color[2],chassis.fixedTranslation.color[1],chassis.ground.color[3],chassis.ground.color[2],chassis.ground.color[1],chassis.constraint.boxColor[3],chassis.constraint.boxColor[2],chassis.constraint.boxColor[1],chassis.body.sphereColor[3],chassis.body.sphereColor[2],chassis.body.sphereColor[1],engine.flywheel.cylinderColor[3],engine.flywheel.cylinderColor[2],engine.flywheel.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (545): * Single equations (assignments): 544 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,43)} Notification: Performance of prepare postOptimizeDAE: time 0.003518/0.5469, allocations: 2.408 MB / 0.661 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004907/0.5474, allocations: 401.3 kB / 0.6614 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/0.5514, allocations: 2.342 MB / 0.6637 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.5515, allocations: 7.969 kB / 0.6637 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5515, allocations: 3.984 kB / 0.6637 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009113/0.5524, allocations: 0.6154 MB / 0.6643 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003956/0.5528, allocations: 55.98 kB / 0.6644 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.5542, allocations: 147.1 kB / 0.6645 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004193/0.5546, allocations: 209.7 kB / 0.6647 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004613/0.5592, allocations: 2.293 MB / 0.6669 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004422/0.5636, allocations: 3.189 MB / 0.6701 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001281/0.5649, allocations: 0.8355 MB / 0.6709 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003333/0.5683, allocations: 2.426 MB / 0.6732 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of Backend: time 3.71e-07/0.5683, allocations: 0 / 0.6732 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005349/0.5736, allocations: 2.753 MB / 0.6759 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01679/0.5904, allocations: 11.55 MB / 0.6872 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of Templates: time 0.4038/0.9943, allocations: 43.44 MB / 0.7296 GB, free: 186.9 MB / 0.545 GB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.RearWheelDriveAutomaticVehicle.pipe 2>&1)