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.0009383/0.0009383, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.000941/0.000941, allocations: 173 kB / 23.49 MB, free: 1.055 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.9563/0.9563, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.02922/0.02922, allocations: 7.182 MB / 267.5 MB, free: 6.133 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 338.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.322e-05, allocations: 2.312 kB / 338.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.006428/0.006451, allocations: 9.139 MB / 348 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.009772, allocations: 2.756 MB / 350.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004278/0.0102, allocations: 39.88 kB / 350.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006057/0.01081, allocations: 397.2 kB / 351.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.01251, allocations: 1.466 MB / 352.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.01271, allocations: 131.6 kB / 352.8 MB, free: 12.56 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.01437, allocations: 2.7 MB / 355.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.01505, allocations: 0.8004 MB / 356.3 MB, free: 9.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.01644, allocations: 1.453 MB / 357.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.01799, allocations: 1.41 MB / 359.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002428/0.01823, allocations: 252 kB / 359.4 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.01942, allocations: 0.7528 MB / 360.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.02051, allocations: 1.367 MB / 361.5 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007473/0.02126, allocations: 0.8797 MB / 362.4 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.02387, allocations: 3.486 MB / 365.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.02387, allocations: 0 / 365.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.02387, allocations: 0 / 365.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.0239, allocations: 0 / 365.9 MB, free: 15.4 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.004395/0.02829, allocations: 4.291 MB / 370.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.02833, allocations: 12.62 kB / 370.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004297/0.03263, allocations: 2.28 MB / 372.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.03395, allocations: 1.289 MB / 373.7 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.03404, allocations: 172.3 kB / 373.9 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.0343, allocations: 212.2 kB / 374.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004687/0.03899, allocations: 4.111 MB / 378.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.741e-05/0.03904, allocations: 19.81 kB / 378.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.03925, allocations: 99.84 kB / 378.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001821/0.04107, allocations: 2.056 MB / 380.4 MB, free: 304 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004598/0.04566, allocations: 2.48 MB / 382.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01806/0.06373, allocations: 25.07 MB / 408 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.06562, allocations: 0.9515 MB / 408.9 MB, free: 3.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.06604, allocations: 303 kB / 409.2 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002546/0.06859, allocations: 2.461 MB / 411.7 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.06862, allocations: 46.39 kB / 411.7 MB, free: 244 kB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 2.735e-06/0.06862, allocations: 0 / 411.7 MB, free: 244 kB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.1302/0.1988, allocations: 4.038 MB / 415.8 MB, free: 62.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.1988, allocations: 65.81 kB / 415.8 MB, free: 62.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.2006, allocations: 2.026 MB / 417.8 MB, free: 62.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.2007, allocations: 45.33 kB / 417.9 MB, free: 62.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000838/0.2015, allocations: 2.477 MB / 420.4 MB, free: 60.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.2018, allocations: 0.6203 MB / 421 MB, free: 60.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008063/0.2026, allocations: 0.8866 MB / 421.9 MB, free: 60.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.2027, allocations: 0.5181 MB / 422.4 MB, free: 59.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008859/0.2036, allocations: 454.5 kB / 422.8 MB, free: 59.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.2053, allocations: 3.805 MB / 426.6 MB, free: 55.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/0.2084, allocations: 4.695 MB / 431.3 MB, free: 51.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.093e-05/0.2085, allocations: 23.12 kB / 431.4 MB, free: 51.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=543) (initialization): time 0.004057/0.2125, allocations: 3.552 MB / 434.9 MB, free: 50.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.2126, allocations: 39.97 kB / 434.9 MB, free: 50.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.034e-05/0.2126, allocations: 78.94 kB / 435 MB, free: 50.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/0.2132, allocations: 350.8 kB / 435.4 MB, free: 50.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.2146, allocations: 0.8908 MB / 436.3 MB, free: 50.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/0.2174, allocations: 5.214 MB / 441.5 MB, free: 46.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.2187, allocations: 197.4 kB / 441.7 MB, free: 46.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.2189, allocations: 244.8 kB / 441.9 MB, free: 46.13 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 364 * Number of states: 0 () * Number of discrete variables: 15 (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],idealWheelJoint.wheel.colorRim[3],idealWheelJoint.wheel.colorRim[2],idealWheelJoint.wheel.colorRim[1],idealWheelJoint.color[3],idealWheelJoint.color[2],idealWheelJoint.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (492): * Single equations (assignments): 486 * 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,64.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007938/0.2197, allocations: 487.8 kB / 442.4 MB, free: 45.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.2198, allocations: 246.6 kB / 442.6 MB, free: 45.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.2212, allocations: 1.141 MB / 443.8 MB, free: 44.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.165e-05/0.2212, allocations: 31.64 kB / 443.8 MB, free: 44.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2213, allocations: 8 kB / 443.8 MB, free: 44.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.2213, allocations: 6.625 kB / 443.8 MB, free: 44.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.2258, allocations: 4.082 MB / 447.9 MB, free: 40.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2258, allocations: 1.688 kB / 447.9 MB, free: 40.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.2262, allocations: 206 kB / 448.1 MB, free: 40.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004062/0.2266, allocations: 208.1 kB / 448.3 MB, free: 40.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/0.2266, allocations: 37.59 kB / 448.3 MB, free: 40.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.2285, allocations: 4.33 MB / 452.7 MB, free: 36.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2285, allocations: 4 kB / 452.7 MB, free: 36.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.2302, allocations: 1.65 MB / 454.3 MB, free: 34.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.2303, allocations: 196.2 kB / 454.5 MB, free: 34.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.2305, allocations: 31.38 kB / 454.5 MB, free: 34.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.2308, allocations: 58.75 kB / 454.6 MB, free: 34.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.231, allocations: 97.7 kB / 454.7 MB, free: 34.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.231, allocations: 47.75 kB / 454.7 MB, free: 34.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007364/0.2317, allocations: 0.8907 MB / 455.6 MB, free: 33.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2317, allocations: 0 / 455.6 MB, free: 33.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001566/0.2333, allocations: 0.7183 MB / 456.3 MB, free: 32.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (113): * Single equations (assignments): 107 * 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.000211/0.2335, allocations: 162.1 kB / 456.5 MB, free: 32.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.2357, allocations: 2.343 MB / 458.8 MB, free: 30.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2357, allocations: 0 / 458.8 MB, free: 30.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006404/0.2364, allocations: 0.9135 MB / 459.8 MB, free: 29.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007302/0.2371, allocations: 288.8 kB / 460 MB, free: 29.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006117/0.2432, allocations: 5.894 MB / 465.9 MB, free: 23.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008711/0.2441, allocations: 0.9932 MB / 466.9 MB, free: 22.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001761/0.2459, allocations: 0.9921 MB / 467.9 MB, free: 21.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/0.2462, allocations: 164.5 kB / 468.1 MB, free: 21.15 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2462, allocations: 0.7656 kB / 468.1 MB, free: 21.15 MB / 330.7 MB Notification: Performance of Templates: time 0.03204/0.2782, allocations: 22.87 MB / 491 MB, free: 14.61 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.286064384970814]