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.001504/0.001504, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001917/0.001917, allocations: 218.7 kB / 23.03 MB, free: 4.922 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04783/0.04783, allocations: 9.245 MB / 322.5 MB, free: 9.828 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002676/0.002676, allocations: 71.89 kB / 448.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.155, allocations: 55.47 MB / 0.4921 GB, free: 6.992 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.01531/0.1703, allocations: 8.768 MB / 0.5007 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007982/0.1783, allocations: 2.796 MB / 0.5034 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.1801, allocations: 51.75 kB / 0.5035 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.1814, allocations: 444.9 kB / 0.5039 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00424/0.1857, allocations: 1.657 MB / 0.5055 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.1863, allocations: 171.8 kB / 0.5057 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004308/0.1906, allocations: 2.938 MB / 0.5085 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.1921, allocations: 0.883 MB / 0.5094 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.194, allocations: 1.109 MB / 0.5105 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.1967, allocations: 1.72 MB / 0.5122 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007971/0.1975, allocations: 264 kB / 0.5124 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.1993, allocations: 0.8036 MB / 0.5132 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2552/0.4545, allocations: 1.501 MB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002647/0.4572, allocations: 1.308 MB / 0.5159 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009365/0.4665, allocations: 5.779 MB / 0.5216 GB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4665, allocations: 0 / 0.5216 GB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4665, allocations: 1.844 kB / 0.5216 GB, free: 8.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002766/0.4668, allocations: 0 / 0.5216 GB, free: 8.953 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.03842/0.5052, allocations: 7.06 MB / 0.5285 GB, free: 7.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.5053, allocations: 10 kB / 0.5285 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000367/0.5057, allocations: 86.39 kB / 0.5286 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003804/0.5095, allocations: 0.6387 MB / 0.5292 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/0.5236, allocations: 1.878 MB / 0.531 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006754/0.5303, allocations: 1.688 MB / 0.5327 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/0.5308, allocations: 186.3 kB / 0.5329 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/0.533, allocations: 247.9 kB / 0.5331 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03666/0.5696, allocations: 10.41 MB / 0.5433 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/0.5698, allocations: 28.98 kB / 0.5433 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001295/0.5711, allocations: 118.4 kB / 0.5434 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003695/0.5748, allocations: 2.149 MB / 0.5455 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02536/0.6002, allocations: 10.36 MB / 0.5556 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06428/0.6645, allocations: 31.82 MB / 0.5867 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01958/0.684, allocations: 3.789 MB / 0.5904 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003604/0.6876, allocations: 1.584 MB / 0.5919 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/0.7006, allocations: 5.228 MB / 0.597 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.7006, allocations: 52.56 kB / 0.5971 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=232): time 6.121e-06/0.7006, allocations: 0 / 0.5971 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of matching and sorting (n=272): time 0.03477/0.7354, allocations: 12.98 MB / 0.6098 GB, free: 3.656 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005044/0.7404, allocations: 3.391 MB / 0.6131 GB, free: 144 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008145/0.7486, allocations: 3.101 MB / 0.6161 GB, free: 13.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005377/0.7491, allocations: 61.7 kB / 0.6162 GB, free: 12.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002639/0.7517, allocations: 2.511 MB / 0.6186 GB, free: 10.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001725/0.7535, allocations: 1.033 MB / 0.6196 GB, free: 9.426 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003026/0.7565, allocations: 1.076 MB / 0.6207 GB, free: 8.344 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7567, allocations: 310.7 kB / 0.621 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004254/0.7609, allocations: 1.881 MB / 0.6228 GB, free: 6.152 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007261/0.7682, allocations: 4.641 MB / 0.6273 GB, free: 224 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/0.7787, allocations: 7.111 MB / 0.6343 GB, free: 8.168 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/0.7788, allocations: 27.94 kB / 0.6343 GB, free: 8.141 MB / 478.1 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.0139/0.7927, allocations: 6.984 MB / 0.6411 GB, free: 1.227 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/0.7928, allocations: 48 kB / 0.6412 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/0.793, allocations: 95.94 kB / 0.6413 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.7944, allocations: 0.556 MB / 0.6418 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004256/0.7987, allocations: 1.213 MB / 0.643 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.8091, allocations: 7.097 MB / 0.6499 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00433/0.8134, allocations: 279.9 kB / 0.6502 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/0.8147, allocations: 308 kB / 0.6505 GB, free: 7.414 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 432 * Number of states: 0 () * Number of discrete variables: 15 (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],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 (656): * Single equations (assignments): 650 * 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.005661/0.8203, allocations: 1.85 MB / 0.6523 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/0.8217, allocations: 309.9 kB / 0.6526 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009594/0.8313, allocations: 3.778 MB / 0.6563 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001251/0.8314, allocations: 39.81 kB / 0.6563 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.774e-05/0.8314, allocations: 11.94 kB / 0.6563 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/0.8314, allocations: 11.95 kB / 0.6563 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/0.8556, allocations: 10.07 MB / 0.6662 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/0.8556, allocations: 8 kB / 0.6662 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.8574, allocations: 375.5 kB / 0.6665 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.8588, allocations: 0.5524 MB / 0.6671 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002919/0.8591, allocations: 57.86 kB / 0.6671 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.8706, allocations: 7.822 MB / 0.6748 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004053/0.8747, allocations: 3.148 MB / 0.6779 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/0.8851, allocations: 5.762 MB / 0.6835 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/0.8868, allocations: 0.5564 MB / 0.684 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008793/0.8877, allocations: 55.92 kB / 0.6841 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/0.8896, allocations: 123.9 kB / 0.6842 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005425/0.8901, allocations: 181.5 kB / 0.6844 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002382/0.8904, allocations: 77.94 kB / 0.6844 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004695/0.8951, allocations: 1.984 MB / 0.6864 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8951, allocations: 0 / 0.6864 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006113/0.9012, allocations: 0.9622 MB / 0.6873 GB, free: 0.9805 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (203): * Single equations (assignments): 197 * 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.01163/0.9128, allocations: 6.438 MB / 0.6936 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01081/0.9236, allocations: 4.823 MB / 0.6983 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.9236, allocations: 4.125 kB / 0.6983 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004376/0.928, allocations: 1.999 MB / 0.7003 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/0.9325, allocations: 471.8 kB / 0.7007 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3069/1.239, allocations: 38.42 MB / 0.7382 GB, free: 175.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003534/1.243, allocations: 2.45 MB / 0.7406 GB, free: 175 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003568/1.247, allocations: 1.597 MB / 0.7422 GB, free: 175 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002355/1.249, allocations: 1.648 MB / 0.7438 GB, free: 173.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.323e-06/1.249, allocations: 0 / 0.7438 GB, free: 173.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1371/1.386, allocations: 68.84 MB / 0.811 GB, free: 112.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.35/20.74, allocations: 11.98 kB / 0.811 GB, free: 112.5 MB / 0.545 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine_fmu --startTime=0 --stopTime=6 --stepSize=0.0024 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.961111943004653] Failed to read output from testmodel.py, exit status != 0: 20.951982565922663 20.96144523 20.492270209 Calling exit ...