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.001561/0.001561, allocations: 78.48 kB / 19.18 MB, free: 2.531 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.001662/0.001662, allocations: 169 kB / 22.46 MB, free: 5.359 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.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.04877/0.04877, allocations: 7.106 MB / 266.3 MB, free: 9.785 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: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 392.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.833e-05, allocations: 9.453 kB / 392.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.01277/0.0128, allocations: 8.846 MB / 401.7 MB, free: 336 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005958/0.01876, allocations: 2.796 MB / 404.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008252/0.01958, allocations: 51.75 kB / 404.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009038/0.02049, allocations: 444.9 kB / 405 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.02404, allocations: 1.695 MB / 406.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.0245, allocations: 195.5 kB / 406.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003526/0.02802, allocations: 3.001 MB / 409.9 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.0293, allocations: 0.8829 MB / 410.8 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.03144, allocations: 1.64 MB / 412.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.03357, allocations: 1.574 MB / 414 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004239/0.03399, allocations: 268 kB / 414.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.03552, allocations: 0.8619 MB / 415.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.03702, allocations: 1.542 MB / 416.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.0383, allocations: 0.9771 MB / 417.6 MB, free: 360 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006933/0.04523, allocations: 5.747 MB / 423.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.04524, allocations: 4 kB / 423.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04524, allocations: 4 kB / 423.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001099/0.04535, allocations: 0 / 423.4 MB, free: 10.58 MB / 350.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.02988/0.07523, allocations: 7.067 MB / 430.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.07528, allocations: 8.625 kB / 430.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008203/0.08349, allocations: 1.956 MB / 432.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004057/0.08754, allocations: 1.629 MB / 434 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.08774, allocations: 176.8 kB / 434.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007914/0.08854, allocations: 252.1 kB / 434.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.1109, allocations: 10.4 MB / 444.9 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.111, allocations: 35.7 kB / 444.9 MB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000461/0.1115, allocations: 115.8 kB / 445 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004122/0.1156, allocations: 2.157 MB / 447.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1669/0.2825, allocations: 10.27 MB / 457.4 MB, free: 55.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03704/0.3195, allocations: 30.83 MB / 488.3 MB, free: 31.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01675/0.3362, allocations: 3.918 MB / 492.2 MB, free: 28.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.3383, allocations: 1.592 MB / 493.8 MB, free: 26.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007101/0.3454, allocations: 4.405 MB / 498.2 MB, free: 22.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.3455, allocations: 52.56 kB / 498.2 MB, free: 22.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=237): time 5.059e-06/0.3455, allocations: 0 / 498.2 MB, free: 22.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=277): time 0.02357/0.369, allocations: 12.76 MB / 0.499 GB, free: 9.422 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003198/0.3722, allocations: 3.364 MB / 0.5023 GB, free: 5.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.3749, allocations: 2.635 MB / 0.5049 GB, free: 3.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.3751, allocations: 65.45 kB / 0.5049 GB, free: 3.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007989/0.3759, allocations: 2.52 MB / 0.5074 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007064/0.3766, allocations: 1.022 MB / 0.5084 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001579/0.3782, allocations: 1.084 MB / 0.5095 GB, free: 14.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3784, allocations: 353.9 kB / 0.5098 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/0.3817, allocations: 1.904 MB / 0.5117 GB, free: 12.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005905/0.3876, allocations: 4.653 MB / 0.5162 GB, free: 6.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.3976, allocations: 7.138 MB / 0.5232 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.976e-05/0.3977, allocations: 24 kB / 0.5232 GB, free: 13.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01267/0.4104, allocations: 6.994 MB / 0.53 GB, free: 6.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/0.4105, allocations: 47.98 kB / 0.5301 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.4106, allocations: 96 kB / 0.5302 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.4119, allocations: 0.5389 MB / 0.5307 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/0.4161, allocations: 1.228 MB / 0.5319 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.4265, allocations: 7.035 MB / 0.5388 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/0.4306, allocations: 283.9 kB / 0.539 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009592/0.4316, allocations: 312.3 kB / 0.5393 GB, free: 13.11 MB / 414.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.003358/0.4349, allocations: 1.866 MB / 0.5412 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005425/0.4355, allocations: 262.3 kB / 0.5414 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/0.4425, allocations: 3.767 MB / 0.5451 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000119/0.4426, allocations: 39.92 kB / 0.5451 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.4426, allocations: 8 kB / 0.5451 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/0.4426, allocations: 11.95 kB / 0.5451 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01871/0.4613, allocations: 9.676 MB / 0.5546 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.4614, allocations: 4 kB / 0.5546 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.463, allocations: 387.4 kB / 0.555 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/0.4645, allocations: 0.5664 MB / 0.5555 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.4646, allocations: 55.98 kB / 0.5556 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.4755, allocations: 7.748 MB / 0.5631 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003995/0.4795, allocations: 3.131 MB / 0.5662 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00965/0.4891, allocations: 5.771 MB / 0.5718 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.4904, allocations: 0.5098 MB / 0.5723 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/0.4907, allocations: 51.98 kB / 0.5724 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.492, allocations: 135.8 kB / 0.5725 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000441/0.4924, allocations: 189.5 kB / 0.5727 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/0.4926, allocations: 79.98 kB / 0.5728 GB, free: 10.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002429/0.495, allocations: 1.517 MB / 0.5742 GB, free: 8.629 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.495, allocations: 0 / 0.5742 GB, free: 8.629 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003875/0.4989, allocations: 0.9608 MB / 0.5752 GB, free: 7.668 MB / 446.1 MB 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.0004653/0.4994, allocations: 186.8 kB / 0.5754 GB, free: 7.477 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008644/0.508, allocations: 4.87 MB / 0.5801 GB, free: 2.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.508, allocations: 0 / 0.5801 GB, free: 2.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003481/0.5115, allocations: 2.009 MB / 0.5821 GB, free: 0.543 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.5133, allocations: 330.8 kB / 0.5824 GB, free: 224 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.5284, allocations: 8.828 MB / 0.591 GB, free: 7.266 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003591/0.532, allocations: 2.453 MB / 0.5934 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003777/0.5358, allocations: 1.556 MB / 0.5949 GB, free: 3.211 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007187/0.5365, allocations: 220.4 kB / 0.5951 GB, free: 2.996 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5365, allocations: 0 / 0.5951 GB, free: 2.996 MB / 462.1 MB Notification: Performance of Templates: time 0.2352/0.7718, allocations: 29.98 MB / 0.6244 GB, free: 151.7 MB / 478.1 MB " [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: 6.409986287355423] Failed to read output from testmodel.py, exit status != 0: 0.7808902449905872 0.799611806 0.750395343 Calling exit ...