Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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.001926/0.001926, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001578/0.001578, allocations: 159.6 kB / 23.01 MB, free: 4.949 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.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.04747/0.04747, allocations: 7.126 MB / 266.9 MB, free: 9.707 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.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") [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.002167/0.002167, allocations: 67.89 kB / 393.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.1011, allocations: 55.45 MB / 448.8 MB, free: 2.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.0101/0.1112, allocations: 7.769 MB / 456.6 MB, free: 11.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.1172, allocations: 2.636 MB / 459.3 MB, free: 8.441 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.1183, allocations: 43.81 kB / 459.3 MB, free: 8.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009488/0.1193, allocations: 381.4 kB / 459.7 MB, free: 8.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003553/0.1228, allocations: 1.451 MB / 461.1 MB, free: 6.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.1233, allocations: 183.6 kB / 461.3 MB, free: 6.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00314/0.1265, allocations: 2.511 MB / 463.8 MB, free: 3.871 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.1275, allocations: 0.726 MB / 464.5 MB, free: 3.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.1288, allocations: 0.9338 MB / 465.5 MB, free: 2.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.1307, allocations: 1.393 MB / 466.9 MB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003884/0.131, allocations: 232 kB / 467.1 MB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.1326, allocations: 0.8152 MB / 467.9 MB, free: 15.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.1338, allocations: 1.231 MB / 469.1 MB, free: 14.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.1351, allocations: 1.094 MB / 470.2 MB, free: 13.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005845/0.1409, allocations: 5.081 MB / 475.3 MB, free: 8.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1409, allocations: 7.984 kB / 475.3 MB, free: 8.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1409, allocations: 0 / 475.3 MB, free: 8.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.822e-05/0.141, allocations: 0 / 475.3 MB, free: 8.293 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01701/0.158, allocations: 5.114 MB / 480.4 MB, free: 3.121 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.158, allocations: 8.625 kB / 480.4 MB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007073/0.1651, allocations: 1.871 MB / 482.3 MB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1834/0.3485, allocations: 1.363 MB / 483.7 MB, free: 67.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.3487, allocations: 150.1 kB / 483.8 MB, free: 67.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007751/0.3495, allocations: 200.4 kB / 484 MB, free: 67.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.3609, allocations: 8.457 MB / 492.5 MB, free: 64.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.556e-05/0.361, allocations: 25.52 kB / 492.5 MB, free: 64.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.3613, allocations: 91.84 kB / 492.6 MB, free: 64.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002515/0.3638, allocations: 1.883 MB / 494.5 MB, free: 64.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.3781, allocations: 8.066 MB / 0.4908 GB, free: 61.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03002/0.4081, allocations: 23.54 MB / 0.5138 GB, free: 46.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00954/0.4177, allocations: 2.398 MB / 0.5161 GB, free: 45.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.4192, allocations: 1.017 MB / 0.5171 GB, free: 45.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005592/0.4248, allocations: 2.863 MB / 0.5199 GB, free: 44.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.4249, allocations: 47.97 kB / 0.5199 GB, free: 44.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=157): time 3.677e-06/0.4249, allocations: 1.5 kB / 0.5199 GB, free: 44.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=175): time 0.01632/0.4412, allocations: 7.781 MB / 0.5275 GB, free: 41.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.4412, allocations: 71.2 kB / 0.5276 GB, free: 41.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/0.4448, allocations: 2.189 MB / 0.5297 GB, free: 40.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.486e-05/0.4449, allocations: 51.2 kB / 0.5298 GB, free: 40.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.4461, allocations: 2.179 MB / 0.5319 GB, free: 38.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005103/0.4466, allocations: 0.6756 MB / 0.5326 GB, free: 38.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/0.4478, allocations: 0.8172 MB / 0.5334 GB, free: 37.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.4479, allocations: 353.3 kB / 0.5337 GB, free: 37.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.4501, allocations: 1.372 MB / 0.535 GB, free: 36.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.4529, allocations: 3.532 MB / 0.5385 GB, free: 33.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004684/0.4576, allocations: 5.314 MB / 0.5437 GB, free: 27.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.076e-05/0.4577, allocations: 24 kB / 0.5437 GB, free: 27.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.007416/0.4651, allocations: 5.075 MB / 0.5487 GB, free: 23.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.4651, allocations: 36.94 kB / 0.5487 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.12e-05/0.4652, allocations: 76 kB / 0.5488 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007224/0.466, allocations: 309.5 kB / 0.5491 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/0.4685, allocations: 0.9048 MB / 0.5499 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.4717, allocations: 3.134 MB / 0.553 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.4742, allocations: 200.6 kB / 0.5532 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/0.4746, allocations: 240.8 kB / 0.5534 GB, free: 18.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 487 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002132/0.4767, allocations: 1.587 MB / 0.555 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.477, allocations: 198.7 kB / 0.5552 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/0.4804, allocations: 2.316 MB / 0.5574 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.474e-05/0.4805, allocations: 30 kB / 0.5575 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.4805, allocations: 6.938 kB / 0.5575 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.4806, allocations: 5.953 kB / 0.5575 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008512/0.4891, allocations: 5.155 MB / 0.5625 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.4891, allocations: 0 / 0.5625 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4901, allocations: 254 kB / 0.5627 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005114/0.4906, allocations: 217.8 kB / 0.563 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.4907, allocations: 35.89 kB / 0.563 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/0.4931, allocations: 2.715 MB / 0.5656 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4931, allocations: 12 kB / 0.5657 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004183/0.4972, allocations: 3.545 MB / 0.5691 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.4977, allocations: 186.7 kB / 0.5693 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/0.498, allocations: 28.62 kB / 0.5693 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008854/0.4988, allocations: 79.91 kB / 0.5694 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.499, allocations: 105 kB / 0.5695 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.485e-05/0.4991, allocations: 55.97 kB / 0.5695 GB, free: 3.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.5007, allocations: 1.278 MB / 0.5708 GB, free: 2.266 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5007, allocations: 0 / 0.5708 GB, free: 2.266 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003027/0.5037, allocations: 0.6913 MB / 0.5715 GB, free: 1.574 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.w) * 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 (140): * Single equations (assignments): 134 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003528/0.5041, allocations: 182.7 kB / 0.5716 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005402/0.5095, allocations: 3.282 MB / 0.5749 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5095, allocations: 0 / 0.5749 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.5113, allocations: 1.094 MB / 0.5759 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.5129, allocations: 254 kB / 0.5762 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.5253, allocations: 6.901 MB / 0.5829 GB, free: 5.805 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003159/0.5285, allocations: 2.028 MB / 0.5849 GB, free: 3.738 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003009/0.5315, allocations: 1.186 MB / 0.586 GB, free: 2.547 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/0.532, allocations: 160.5 kB / 0.5862 GB, free: 2.391 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.532, allocations: 3.938 kB / 0.5862 GB, free: 2.387 MB / 462.1 MB Notification: Performance of Templates: time 0.04753/0.5796, allocations: 22.34 MB / 0.608 GB, free: 12.34 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.515460753929801] Failed to read output from testmodel.py, exit status != 0: 0.5890006999252364 0.604763206 0.46054021300000003 Calling exit ...