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.0008091/0.0008091, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007787/0.0007787, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8525/0.8525, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.02598/0.02598, allocations: 7.12 MB / 267.1 MB, free: 6.309 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 393.6 MB, free: 3.477 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.098e-05, allocations: 6.281 kB / 393.7 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.005862/0.005883, allocations: 7.773 MB / 401.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00378/0.009663, allocations: 2.643 MB / 404.1 MB, free: 9 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004694/0.01013, allocations: 35.88 kB / 404.1 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.01069, allocations: 385.3 kB / 404.5 MB, free: 8.586 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.01239, allocations: 1.497 MB / 406 MB, free: 7.082 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.01266, allocations: 175.6 kB / 406.2 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.01406, allocations: 2.59 MB / 408.7 MB, free: 4.316 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005216/0.01458, allocations: 0.7376 MB / 409.5 MB, free: 3.555 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.01569, allocations: 1.395 MB / 410.9 MB, free: 2.156 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008883/0.01658, allocations: 1.336 MB / 412.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.01676, allocations: 232 kB / 412.4 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1293/0.1461, allocations: 0.87 MB / 413.3 MB, free: 18.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.1472, allocations: 1.266 MB / 414.6 MB, free: 18.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007979/0.148, allocations: 0.8256 MB / 415.4 MB, free: 18.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.1518, allocations: 5.07 MB / 420.5 MB, free: 17.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1518, allocations: 0 / 420.5 MB, free: 17.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1518, allocations: 2.75 kB / 420.5 MB, free: 17.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.045e-05/0.1518, allocations: 0 / 420.5 MB, free: 17.92 MB / 330.7 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.008802/0.1606, allocations: 5.079 MB / 425.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1607, allocations: 13.94 kB / 425.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.1641, allocations: 1.803 MB / 427.4 MB, free: 16.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.1657, allocations: 1.388 MB / 428.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.097e-05/0.1658, allocations: 146.4 kB / 428.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.1661, allocations: 199.1 kB / 429.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00742/0.1735, allocations: 8.495 MB / 437.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.636e-05/0.1736, allocations: 23.02 kB / 437.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.1738, allocations: 99.84 kB / 437.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001484/0.1753, allocations: 1.886 MB / 439.6 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007874/0.1832, allocations: 8.133 MB / 447.7 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01941/0.2026, allocations: 23.53 MB / 471.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004883/0.2075, allocations: 2.402 MB / 473.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009723/0.2084, allocations: 1.024 MB / 474.7 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003442/0.2119, allocations: 2.865 MB / 477.6 MB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.2119, allocations: 43.88 kB / 477.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of pre-optimization done (n=157): time 3.266e-06/0.2119, allocations: 4 kB / 477.6 MB, free: 4.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=175): time 0.009787/0.2217, allocations: 7.834 MB / 485.4 MB, free: 12.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2217, allocations: 64.72 kB / 485.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.2236, allocations: 2.215 MB / 487.7 MB, free: 10.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.2237, allocations: 48.2 kB / 487.8 MB, free: 10.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008071/0.2245, allocations: 2.166 MB / 489.9 MB, free: 8.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.2248, allocations: 0.6615 MB / 490.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007423/0.2256, allocations: 0.8134 MB / 491.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003489/0.2259, allocations: 349.9 kB / 491.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.2273, allocations: 1.378 MB / 493.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.2295, allocations: 3.543 MB / 496.7 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004036/0.2335, allocations: 5.315 MB / 0.4902 GB, free: 10.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/0.2336, allocations: 24 kB / 0.4902 GB, free: 10.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.005119/0.2387, allocations: 5.102 MB / 0.4952 GB, free: 5.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.2387, allocations: 44.06 kB / 0.4953 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/0.2388, allocations: 80 kB / 0.4953 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000441/0.2392, allocations: 309.5 kB / 0.4956 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.2406, allocations: 0.9046 MB / 0.4965 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.2433, allocations: 3.131 MB / 0.4996 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.2446, allocations: 193.8 kB / 0.4998 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/0.2448, allocations: 244 kB / 0.5 GB, free: 200 kB / 394.7 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.00189/0.2467, allocations: 1.571 MB / 0.5015 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.2469, allocations: 206.7 kB / 0.5017 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.2493, allocations: 2.328 MB / 0.504 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.906e-05/0.2493, allocations: 34.09 kB / 0.504 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.2493, allocations: 3.938 kB / 0.504 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.2494, allocations: 7.969 kB / 0.504 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/0.2553, allocations: 5.174 MB / 0.5091 GB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2553, allocations: 0 / 0.5091 GB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/0.2559, allocations: 259.6 kB / 0.5093 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003179/0.2562, allocations: 213.8 kB / 0.5095 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.2563, allocations: 35.98 kB / 0.5096 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.2582, allocations: 2.704 MB / 0.5122 GB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.2582, allocations: 7.938 kB / 0.5122 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00347/0.2617, allocations: 3.573 MB / 0.5157 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.262, allocations: 186.7 kB / 0.5159 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.2621, allocations: 28.06 kB / 0.5159 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.2625, allocations: 71.2 kB / 0.516 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.2626, allocations: 116.9 kB / 0.5161 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.326e-05/0.2627, allocations: 48 kB / 0.5161 GB, free: 15.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001315/0.264, allocations: 1.301 MB / 0.5174 GB, free: 14.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.264, allocations: 0 / 0.5174 GB, free: 14.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002061/0.2661, allocations: 0.6874 MB / 0.5181 GB, free: 13.44 MB / 426.7 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.0003116/0.2664, allocations: 186.2 kB / 0.5183 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003479/0.2699, allocations: 3.293 MB / 0.5215 GB, free: 9.961 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.2699, allocations: 4 kB / 0.5215 GB, free: 9.957 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009484/0.2708, allocations: 1.102 MB / 0.5226 GB, free: 8.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007481/0.2716, allocations: 263.5 kB / 0.5228 GB, free: 8.586 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00771/0.2793, allocations: 7.113 MB / 0.5298 GB, free: 1.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.281, allocations: 2.036 MB / 0.5317 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.2814, allocations: 208.4 kB / 0.5319 GB, free: 15.12 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2814, allocations: 0 / 0.5319 GB, free: 15.12 MB / 442.7 MB Notification: Performance of Templates: time 0.1739/0.4553, allocations: 72.09 MB / 0.6023 GB, free: 151.6 MB / 474.7 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.789843951351941] Failed to read output from testmodel.py, exit status != 0: 0.4600549014285207 0.46518259 0.312152929 Calling exit ...