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.0008813/0.0008813, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009855/0.0009855, allocations: 169 kB / 23.02 MB, free: 1.547 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.9549/0.9549, allocations: 177.2 MB / 203.4 MB, free: 5.617 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.02999/0.02999, allocations: 7.184 MB / 267.1 MB, free: 6.051 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.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: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 338.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.282e-05, allocations: 12.31 kB / 338.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.005325/0.005338, allocations: 9.256 MB / 348.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.008055, allocations: 2.873 MB / 351 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003382/0.008393, allocations: 39.88 kB / 351 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.008971, allocations: 417.1 kB / 351.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.0107, allocations: 1.602 MB / 353 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.01093, allocations: 171.5 kB / 353.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.0126, allocations: 2.797 MB / 356 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000926/0.01352, allocations: 0.8201 MB / 356.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009921/0.01451, allocations: 1.512 MB / 358.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.01574, allocations: 1.453 MB / 359.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.01597, allocations: 260 kB / 360 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008526/0.01683, allocations: 0.9049 MB / 360.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007631/0.01759, allocations: 1.398 MB / 362.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005814/0.01817, allocations: 0.9147 MB / 363.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.0206, allocations: 3.646 MB / 366.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.0206, allocations: 0 / 366.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.0206, allocations: 0 / 366.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.02062, allocations: 0 / 366.9 MB, free: 14.04 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: 1311 * Number of variables: 1311 Notification: Performance of Generate backend data structure: time 0.004893/0.02552, allocations: 4.533 MB / 371.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.02555, allocations: 12.62 kB / 371.4 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003923/0.02947, allocations: 2.307 MB / 373.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.03084, allocations: 1.336 MB / 375.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.728e-05/0.03093, allocations: 164.5 kB / 375.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.03119, allocations: 220.1 kB / 375.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/0.03573, allocations: 4.319 MB / 379.8 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/0.03578, allocations: 23.81 kB / 379.8 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.03597, allocations: 95.86 kB / 379.9 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001757/0.03772, allocations: 2.103 MB / 382 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004355/0.04208, allocations: 2.633 MB / 384.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/0.05993, allocations: 26.3 MB / 410.9 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1193/0.1793, allocations: 1.101 MB / 412 MB, free: 70.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/0.1799, allocations: 343.2 kB / 412.4 MB, free: 70.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003081/0.183, allocations: 2.718 MB / 415.1 MB, free: 69.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.183, allocations: 47.45 kB / 415.1 MB, free: 69.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 3.226e-06/0.183, allocations: 0 / 415.1 MB, free: 69.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=162): time 0.006999/0.19, allocations: 4.438 MB / 419.6 MB, free: 68.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.1901, allocations: 68.22 kB / 419.6 MB, free: 68.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.192, allocations: 2.106 MB / 421.8 MB, free: 68.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.1921, allocations: 51.2 kB / 421.8 MB, free: 68.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007485/0.1928, allocations: 2.548 MB / 424.4 MB, free: 66.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.1931, allocations: 0.6491 MB / 425 MB, free: 66.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006975/0.1938, allocations: 0.9242 MB / 425.9 MB, free: 66.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.1938, allocations: 0.5224 MB / 426.4 MB, free: 65.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007822/0.1946, allocations: 471.2 kB / 426.9 MB, free: 65.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.1961, allocations: 3.982 MB / 430.9 MB, free: 60.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002647/0.1988, allocations: 4.904 MB / 435.8 MB, free: 55.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/0.1988, allocations: 26.94 kB / 435.8 MB, free: 55.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.003782/0.2026, allocations: 3.632 MB / 439.5 MB, free: 53.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.2026, allocations: 40 kB / 439.5 MB, free: 53.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-05/0.2027, allocations: 84 kB / 439.6 MB, free: 53.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/0.2031, allocations: 268.2 kB / 439.8 MB, free: 52.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.2045, allocations: 0.9522 MB / 440.8 MB, free: 52.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.2062, allocations: 2.886 MB / 443.7 MB, free: 49.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.2074, allocations: 206.5 kB / 443.9 MB, free: 49.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.2075, allocations: 247.8 kB / 444.1 MB, free: 48.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 381 * 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],dryFrictionWheelJoint.wheel.colorRim[3],dryFrictionWheelJoint.wheel.colorRim[2],dryFrictionWheelJoint.wheel.colorRim[1],dryFrictionWheelJoint.color[3],dryFrictionWheelJoint.color[2],dryFrictionWheelJoint.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * 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.0007055/0.2082, allocations: 499.5 kB / 444.6 MB, free: 48.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.2084, allocations: 258.5 kB / 444.9 MB, free: 48.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.2097, allocations: 1.16 MB / 446 MB, free: 47.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/0.2098, allocations: 27.94 kB / 446 MB, free: 47.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2098, allocations: 0 / 446 MB, free: 47.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2098, allocations: 11.41 kB / 446.1 MB, free: 47.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/0.2143, allocations: 4.233 MB / 450.3 MB, free: 43.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.2143, allocations: 4 kB / 450.3 MB, free: 43.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/0.2148, allocations: 233.4 kB / 450.5 MB, free: 43.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/0.2151, allocations: 156 kB / 450.7 MB, free: 42.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.2151, allocations: 31.7 kB / 450.7 MB, free: 42.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.2164, allocations: 2.539 MB / 453.2 MB, free: 40.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2164, allocations: 7.516 kB / 453.3 MB, free: 40.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.218, allocations: 1.704 MB / 455 MB, free: 38.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.2182, allocations: 202 kB / 455.2 MB, free: 38.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.2183, allocations: 28 kB / 455.2 MB, free: 38.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.2187, allocations: 67.92 kB / 455.2 MB, free: 38.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.2188, allocations: 105 kB / 455.3 MB, free: 38.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/0.2188, allocations: 47.98 kB / 455.4 MB, free: 38.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007723/0.2196, allocations: 0.9225 MB / 456.3 MB, free: 37.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2196, allocations: 0 / 456.3 MB, free: 37.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001716/0.2213, allocations: 0.7289 MB / 457 MB, free: 36.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (128): * Single equations (assignments): 122 * 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.0002656/0.2216, allocations: 182 kB / 457.2 MB, free: 36.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.2237, allocations: 2.184 MB / 459.4 MB, free: 34.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2237, allocations: 8.062 kB / 459.4 MB, free: 34.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005696/0.2242, allocations: 0.6798 MB / 460.1 MB, free: 33.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.225, allocations: 294.4 kB / 460.4 MB, free: 33.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.2309, allocations: 6.082 MB / 466.5 MB, free: 26.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/0.2315, allocations: 1.015 MB / 467.5 MB, free: 25.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001235/0.2328, allocations: 1.05 MB / 468.5 MB, free: 24.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.233, allocations: 160.5 kB / 468.7 MB, free: 24.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.233, allocations: 4 kB / 468.7 MB, free: 24.69 MB / 330.7 MB Notification: Performance of Templates: time 0.02563/0.2587, allocations: 20.19 MB / 488.9 MB, free: 4.883 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.536035070195794]