Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.001295/0.001295, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001515/0.001515, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.012 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.04877/0.04877, allocations: 9.224 MB / 321.7 MB, free: 10.07 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.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") [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.002071/0.002071, allocations: 67.89 kB / 448.2 MB, free: 14.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1384, allocations: 55.47 MB / 0.4919 GB, free: 6.996 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.0123/0.1507, allocations: 8.662 MB / 0.5004 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007544/0.1582, allocations: 2.78 MB / 0.5031 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.1597, allocations: 39.81 kB / 0.5031 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.1608, allocations: 377.5 kB / 0.5035 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.1654, allocations: 1.444 MB / 0.5049 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.1661, allocations: 171.7 kB / 0.505 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004204/0.1703, allocations: 2.51 MB / 0.5075 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.1718, allocations: 0.7178 MB / 0.5082 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.1737, allocations: 0.9222 MB / 0.5091 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.1757, allocations: 1.436 MB / 0.5105 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004193/0.1762, allocations: 232 kB / 0.5107 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.1781, allocations: 0.9323 MB / 0.5116 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.1794, allocations: 1.219 MB / 0.5128 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3426/0.522, allocations: 1.553 MB / 0.5143 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008838/0.5309, allocations: 5.037 MB / 0.5193 GB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5309, allocations: 0 / 0.5193 GB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5309, allocations: 0 / 0.5193 GB, free: 12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002147/0.5311, allocations: 0 / 0.5193 GB, free: 12 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: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.02068/0.5518, allocations: 5.069 MB / 0.5242 GB, free: 10.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.5518, allocations: 9.25 kB / 0.5242 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007342/0.5592, allocations: 1.79 MB / 0.526 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004426/0.5636, allocations: 1.361 MB / 0.5273 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.5638, allocations: 146.8 kB / 0.5274 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009988/0.5648, allocations: 195.1 kB / 0.5276 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/0.5833, allocations: 8.457 MB / 0.5359 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.5834, allocations: 25.55 kB / 0.5359 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003722/0.5838, allocations: 97.22 kB / 0.536 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003471/0.5872, allocations: 1.883 MB / 0.5378 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.606, allocations: 8.127 MB / 0.5458 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04736/0.6534, allocations: 25.82 MB / 0.571 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.6637, allocations: 2.323 MB / 0.5733 GB, free: 9.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.6656, allocations: 1.021 MB / 0.5742 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007471/0.6731, allocations: 3.142 MB / 0.5773 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.6732, allocations: 50.45 kB / 0.5774 GB, free: 5.391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=155): time 4.568e-06/0.6732, allocations: 0.9844 kB / 0.5774 GB, free: 5.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=173): time 0.01835/0.6915, allocations: 7.687 MB / 0.5849 GB, free: 13.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.6916, allocations: 64.72 kB / 0.5849 GB, free: 13.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004274/0.6958, allocations: 2.606 MB / 0.5875 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.696, allocations: 48.2 kB / 0.5875 GB, free: 10.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001919/0.6979, allocations: 2.141 MB / 0.5896 GB, free: 8.781 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007286/0.6986, allocations: 0.6612 MB / 0.5903 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/0.7001, allocations: 0.8141 MB / 0.5911 GB, free: 7.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.7004, allocations: 305.1 kB / 0.5913 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/0.7029, allocations: 1.374 MB / 0.5927 GB, free: 5.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005147/0.708, allocations: 3.532 MB / 0.5961 GB, free: 1.066 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007913/0.716, allocations: 5.304 MB / 0.6013 GB, free: 11.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.57e-05/0.716, allocations: 20 kB / 0.6013 GB, free: 11.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.00992/0.7259, allocations: 5.116 MB / 0.6063 GB, free: 6.117 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.623e-05/0.726, allocations: 43.12 kB / 0.6064 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.377e-05/0.7261, allocations: 72 kB / 0.6064 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008911/0.727, allocations: 318.2 kB / 0.6067 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/0.7302, allocations: 0.9007 MB / 0.6076 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/0.735, allocations: 3.173 MB / 0.6107 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/0.7385, allocations: 195.9 kB / 0.6109 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005729/0.739, allocations: 238.6 kB / 0.6111 GB, free: 1.086 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 (490): * Single equations (assignments): 484 * 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.003229/0.7423, allocations: 1.569 MB / 0.6127 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/0.7428, allocations: 246.3 kB / 0.6129 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004795/0.7476, allocations: 2.339 MB / 0.6152 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001112/0.7477, allocations: 31.98 kB / 0.6152 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.7477, allocations: 7.938 kB / 0.6152 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.7477, allocations: 7.969 kB / 0.6152 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.7607, allocations: 6.174 MB / 0.6213 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.7607, allocations: 4.344 kB / 0.6213 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.762, allocations: 255.6 kB / 0.6215 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006325/0.7626, allocations: 210.5 kB / 0.6217 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.7627, allocations: 31.98 kB / 0.6217 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003847/0.7665, allocations: 2.767 MB / 0.6244 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.7666, allocations: 3.938 kB / 0.6244 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006709/0.7733, allocations: 3.586 MB / 0.628 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.7744, allocations: 242.4 kB / 0.6282 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/0.7747, allocations: 30.5 kB / 0.6282 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008909/0.7756, allocations: 63.92 kB / 0.6283 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/0.7759, allocations: 109 kB / 0.6284 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.776, allocations: 52.11 kB / 0.6284 GB, free: 15.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003091/0.7791, allocations: 1.676 MB / 0.6301 GB, free: 13.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7791, allocations: 0 / 0.6301 GB, free: 13.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004006/0.7831, allocations: 0.6942 MB / 0.6307 GB, free: 12.72 MB / 478.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 (138): * Single equations (assignments): 132 * 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.0005956/0.7837, allocations: 192 kB / 0.6309 GB, free: 12.53 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009801/0.7935, allocations: 3.274 MB / 0.6341 GB, free: 9.254 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.7935, allocations: 0 / 0.6341 GB, free: 9.254 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003105/0.7966, allocations: 1.097 MB / 0.6352 GB, free: 8.141 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.7998, allocations: 398.1 kB / 0.6356 GB, free: 7.762 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/0.8214, allocations: 6.957 MB / 0.6424 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006138/0.8275, allocations: 2.597 MB / 0.6449 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006635/0.8342, allocations: 1.216 MB / 0.6461 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.8353, allocations: 179.4 kB / 0.6463 GB, free: 12.73 MB / 494.1 MB Notification: Performance of SimCode: time 1.403e-06/0.8353, allocations: 0 / 0.6463 GB, free: 12.73 MB / 494.1 MB Notification: Performance of Templates: time 0.1171/0.9524, allocations: 29.77 MB / 0.6753 GB, free: 15.18 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.588612056104466] Failed to read output from testmodel.py, exit status != 0: 0.9641098629217595 0.994725189 0.45800306 Calling exit ...