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.001898/0.001898, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002357/0.002357, allocations: 217.9 kB / 22.25 MB, free: 4.855 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.797 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.05058/0.05058, allocations: 9.231 MB / 321.7 MB, free: 9.855 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: 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: 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.002035/0.002035, allocations: 69.44 kB / 448.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1146, allocations: 55.47 MB / 0.4918 GB, free: 6.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.01248/0.1271, allocations: 8.84 MB / 0.5005 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007042/0.1342, allocations: 2.8 MB / 0.5032 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.136, allocations: 47.88 kB / 0.5032 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.1375, allocations: 444.9 kB / 0.5037 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004862/0.1423, allocations: 1.654 MB / 0.5053 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.1429, allocations: 171.8 kB / 0.5054 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003603/0.1465, allocations: 2.935 MB / 0.5083 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.1477, allocations: 0.8752 MB / 0.5092 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.1491, allocations: 1.101 MB / 0.5102 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.1513, allocations: 1.654 MB / 0.5118 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004642/0.1517, allocations: 264 kB / 0.5121 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.1532, allocations: 0.7919 MB / 0.5129 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2161/0.3693, allocations: 1.494 MB / 0.5143 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.3708, allocations: 1.303 MB / 0.5156 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005864/0.3767, allocations: 5.774 MB / 0.5212 GB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3767, allocations: 0.5312 kB / 0.5212 GB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3767, allocations: 0 / 0.5212 GB, free: 9.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001151/0.3768, allocations: 1.219 kB / 0.5212 GB, free: 9.398 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.02666/0.4035, allocations: 7.05 MB / 0.5281 GB, free: 7.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4035, allocations: 11.89 kB / 0.5281 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006715/0.4102, allocations: 1.859 MB / 0.53 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.4138, allocations: 1.665 MB / 0.5316 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.414, allocations: 181.7 kB / 0.5318 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000689/0.4147, allocations: 248.3 kB / 0.532 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/0.4325, allocations: 10.41 MB / 0.5422 GB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-05/0.4326, allocations: 39.62 kB / 0.5422 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/0.433, allocations: 112.9 kB / 0.5423 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003072/0.436, allocations: 2.15 MB / 0.5444 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02002/0.4561, allocations: 10.33 MB / 0.5545 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05138/0.5074, allocations: 30.79 MB / 0.5846 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01816/0.5256, allocations: 3.735 MB / 0.5882 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/0.5289, allocations: 1.604 MB / 0.5898 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009824/0.5387, allocations: 4.373 MB / 0.594 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/0.5388, allocations: 61.48 kB / 0.5941 GB, free: 3.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=237): time 5.039e-06/0.5388, allocations: 0 / 0.5941 GB, free: 3.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=277): time 0.02936/0.5681, allocations: 12.53 MB / 0.6063 GB, free: 6.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004663/0.5728, allocations: 3.378 MB / 0.6096 GB, free: 3.289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/0.5769, allocations: 2.67 MB / 0.6122 GB, free: 0.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002156/0.5771, allocations: 72.75 kB / 0.6123 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001903/0.579, allocations: 2.533 MB / 0.6148 GB, free: 13.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.58, allocations: 1.049 MB / 0.6158 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/0.5816, allocations: 1.09 MB / 0.6169 GB, free: 11.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.5818, allocations: 349.9 kB / 0.6172 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/0.5853, allocations: 1.904 MB / 0.6191 GB, free: 9.582 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005945/0.5912, allocations: 4.663 MB / 0.6236 GB, free: 3.625 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/0.6016, allocations: 7.16 MB / 0.6306 GB, free: 11.53 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.94e-05/0.6017, allocations: 28 kB / 0.6306 GB, free: 11.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01441/0.6161, allocations: 7.009 MB / 0.6375 GB, free: 4.566 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.187e-05/0.6162, allocations: 48 kB / 0.6375 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.6163, allocations: 92.16 kB / 0.6376 GB, free: 4.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.6177, allocations: 0.5392 MB / 0.6381 GB, free: 3.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003975/0.6217, allocations: 1.228 MB / 0.6393 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.632, allocations: 7.044 MB / 0.6462 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/0.6364, allocations: 283.5 kB / 0.6465 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009441/0.6374, allocations: 315.9 kB / 0.6468 GB, free: 10.83 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 (661): * Single equations (assignments): 655 * 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.004987/0.6423, allocations: 1.85 MB / 0.6486 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/0.6434, allocations: 276.2 kB / 0.6489 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008926/0.6524, allocations: 3.775 MB / 0.6526 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001268/0.6525, allocations: 47.98 kB / 0.6526 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-05/0.6525, allocations: 8 kB / 0.6526 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-05/0.6525, allocations: 15.89 kB / 0.6526 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02306/0.6756, allocations: 9.669 MB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/0.6756, allocations: 4 kB / 0.6621 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.6773, allocations: 391.4 kB / 0.6624 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.6788, allocations: 0.548 MB / 0.663 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/0.679, allocations: 60.02 kB / 0.663 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/0.6921, allocations: 7.76 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004628/0.6967, allocations: 3.12 MB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/0.7089, allocations: 5.8 MB / 0.6793 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002058/0.711, allocations: 0.5098 MB / 0.6798 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000838/0.7118, allocations: 54.42 kB / 0.6799 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/0.7137, allocations: 127.8 kB / 0.68 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005075/0.7142, allocations: 190.9 kB / 0.6802 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/0.7144, allocations: 75.98 kB / 0.6803 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004361/0.7188, allocations: 1.552 MB / 0.6818 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7188, allocations: 0 / 0.6818 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006325/0.7251, allocations: 0.9599 MB / 0.6827 GB, free: 5.371 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 (208): * Single equations (assignments): 202 * 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.0007254/0.7258, allocations: 199 kB / 0.6829 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01094/0.7368, allocations: 4.882 MB / 0.6877 GB, free: 268 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.7368, allocations: 384 / 0.6877 GB, free: 268 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004675/0.7414, allocations: 2.015 MB / 0.6896 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/0.745, allocations: 339.3 kB / 0.69 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02282/0.7678, allocations: 9.031 MB / 0.6988 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005695/0.7735, allocations: 2.453 MB / 0.7012 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005095/0.7786, allocations: 1.556 MB / 0.7027 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.7798, allocations: 215.4 kB / 0.7029 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of SimCode: time 1.683e-06/0.7798, allocations: 3.938 kB / 0.7029 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of Templates: time 0.3384/1.118, allocations: 33.69 MB / 0.7358 GB, free: 179 MB / 0.545 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.228259632363915] Failed to read output from testmodel.py, exit status != 0: 1.127540985122323 1.145583195 0.765429432 Calling exit ...