Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.001336/0.001336, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00162/0.00162, allocations: 219 kB / 22.26 MB, free: 5.125 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 8.008 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.04941/0.04941, allocations: 9.238 MB / 321.7 MB, free: 10.06 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.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") [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.002148/0.002148, allocations: 67.89 kB / 448.2 MB, free: 14.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1403, allocations: 55.47 MB / 0.4919 GB, free: 7.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01307/0.1534, allocations: 8.572 MB / 0.5003 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007345/0.1608, allocations: 2.655 MB / 0.5029 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.1624, allocations: 39.88 kB / 0.5029 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.1638, allocations: 365.5 kB / 0.5032 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.1683, allocations: 1.307 MB / 0.5045 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.169, allocations: 123.8 kB / 0.5046 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004266/0.1733, allocations: 2.417 MB / 0.507 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.1745, allocations: 0.702 MB / 0.5077 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.1761, allocations: 0.8872 MB / 0.5086 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.1782, allocations: 1.386 MB / 0.5099 GB, free: 4.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003972/0.1786, allocations: 228 kB / 0.5101 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.1802, allocations: 0.7684 MB / 0.5109 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.1815, allocations: 1.196 MB / 0.512 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.1831, allocations: 1.499 MB / 0.5135 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3362/0.5193, allocations: 4.849 MB / 0.5182 GB, free: 12.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5193, allocations: 0 / 0.5182 GB, free: 12.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5193, allocations: 0 / 0.5182 GB, free: 12.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001741/0.5195, allocations: 0 / 0.5182 GB, free: 12.18 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.02004/0.5395, allocations: 4.83 MB / 0.523 GB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.5396, allocations: 11.28 kB / 0.523 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007525/0.5471, allocations: 1.776 MB / 0.5247 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004612/0.5517, allocations: 1.328 MB / 0.526 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.5519, allocations: 138.3 kB / 0.5261 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008168/0.5527, allocations: 192.6 kB / 0.5263 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01876/0.5715, allocations: 8.15 MB / 0.5343 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.5716, allocations: 28.08 kB / 0.5343 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003491/0.572, allocations: 86.45 kB / 0.5344 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003581/0.5755, allocations: 1.839 MB / 0.5362 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/0.5941, allocations: 7.804 MB / 0.5438 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0484/0.6425, allocations: 24.63 MB / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009812/0.6523, allocations: 2.132 MB / 0.5699 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002134/0.6545, allocations: 0.9403 MB / 0.5708 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008188/0.6627, allocations: 2.837 MB / 0.5736 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.6627, allocations: 39.56 kB / 0.5737 GB, free: 8.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=142): time 4.699e-06/0.6627, allocations: 0 / 0.5737 GB, free: 8.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.01808/0.6808, allocations: 7.331 MB / 0.5808 GB, free: 1.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.6809, allocations: 72.72 kB / 0.5809 GB, free: 1.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005821/0.6867, allocations: 2.511 MB / 0.5833 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.6868, allocations: 47.89 kB / 0.5834 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001973/0.6888, allocations: 2.073 MB / 0.5854 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008277/0.6896, allocations: 0.6443 MB / 0.586 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.6914, allocations: 0.7738 MB / 0.5868 GB, free: 11.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.6915, allocations: 301.1 kB / 0.5871 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002732/0.6943, allocations: 1.339 MB / 0.5884 GB, free: 9.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004514/0.6988, allocations: 3.384 MB / 0.5917 GB, free: 5.055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007298/0.7061, allocations: 5.1 MB / 0.5967 GB, free: 15.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.367e-05/0.7062, allocations: 20 kB / 0.5967 GB, free: 15.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01101/0.7172, allocations: 5.034 MB / 0.6016 GB, free: 10.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.819e-05/0.7173, allocations: 39.94 kB / 0.6016 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.7174, allocations: 75.98 kB / 0.6017 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.7185, allocations: 411.9 kB / 0.6021 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/0.7215, allocations: 0.8344 MB / 0.6029 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008203/0.7297, allocations: 5.724 MB / 0.6085 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/0.733, allocations: 192 kB / 0.6087 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008105/0.7338, allocations: 231.3 kB / 0.6089 GB, free: 2.723 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * 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 (456): * Single equations (assignments): 450 * 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 {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003893/0.7377, allocations: 1.536 MB / 0.6104 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007214/0.7384, allocations: 230.5 kB / 0.6106 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005173/0.7436, allocations: 2.345 MB / 0.6129 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001139/0.7437, allocations: 27.98 kB / 0.613 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/0.7437, allocations: 4 kB / 0.613 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/0.7438, allocations: 11.97 kB / 0.613 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.7582, allocations: 6.039 MB / 0.6189 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.7582, allocations: 4 kB / 0.6189 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000943/0.7592, allocations: 222.7 kB / 0.6191 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007424/0.7599, allocations: 277.8 kB / 0.6194 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.231e-05/0.76, allocations: 31.94 kB / 0.6194 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005725/0.7657, allocations: 4.487 MB / 0.6238 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.7657, allocations: 0 / 0.6238 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006223/0.772, allocations: 3.547 MB / 0.6272 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009365/0.7729, allocations: 226.5 kB / 0.6274 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006057/0.7735, allocations: 30.33 kB / 0.6275 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009307/0.7744, allocations: 59.94 kB / 0.6275 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.7747, allocations: 105.1 kB / 0.6276 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.7748, allocations: 47.98 kB / 0.6277 GB, free: 15.14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003004/0.7778, allocations: 1.626 MB / 0.6293 GB, free: 13.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7778, allocations: 0 / 0.6293 GB, free: 13.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004242/0.782, allocations: 0.6804 MB / 0.6299 GB, free: 12.82 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,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 (124): * Single equations (assignments): 118 * 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 {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005554/0.7826, allocations: 157.2 kB / 0.6301 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007095/0.7897, allocations: 3.394 MB / 0.6334 GB, free: 9.262 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.7897, allocations: 4 kB / 0.6334 GB, free: 9.258 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.7918, allocations: 1.247 MB / 0.6346 GB, free: 7.984 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.7937, allocations: 392.2 kB / 0.635 GB, free: 7.613 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.8116, allocations: 6.694 MB / 0.6415 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004705/0.8163, allocations: 2.565 MB / 0.644 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004586/0.8209, allocations: 1.161 MB / 0.6452 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007117/0.8216, allocations: 171.4 kB / 0.6453 GB, free: 12.96 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.8216, allocations: 0 / 0.6453 GB, free: 12.96 MB / 494.1 MB Notification: Performance of Templates: time 0.076/0.8976, allocations: 29.96 MB / 0.6746 GB, free: 15.19 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.644424404017627] Failed to read output from testmodel.py, exit status != 0: 0.9077993908431381 0.923526466 0.400631752 Calling exit ...