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.0009468/0.0009468, allocations: 93.06 kB / 19.65 MB, free: 280 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.001473/0.001473, allocations: 169.3 kB / 23.03 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.9995/0.9995, allocations: 177.1 MB / 203.4 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.03619/0.03619, allocations: 7.185 MB / 267.1 MB, free: 6.059 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.352e-06/1.352e-06, allocations: 0 / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.621e-05, allocations: 2.312 kB / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.005699/0.005715, allocations: 9.258 MB / 348.1 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.008934, allocations: 2.865 MB / 351 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.009384, allocations: 43.88 kB / 351 MB, free: 14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006179/0.01, allocations: 405.2 kB / 351.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.01188, allocations: 1.614 MB / 353 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.01214, allocations: 175.5 kB / 353.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.01393, allocations: 2.795 MB / 356 MB, free: 9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000619/0.01455, allocations: 0.8318 MB / 356.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.01558, allocations: 1.508 MB / 358.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.0168, allocations: 1.461 MB / 359.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.01703, allocations: 256 kB / 360.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009282/0.01795, allocations: 0.9048 MB / 361 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007482/0.0187, allocations: 1.402 MB / 362.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006133/0.01932, allocations: 0.9109 MB / 363.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.02199, allocations: 3.65 MB / 366.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.02199, allocations: 0 / 366.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.022, allocations: 3.938 kB / 366.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.02202, allocations: 0 / 366.9 MB, free: 14.02 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.005113/0.02713, allocations: 4.529 MB / 371.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.02717, allocations: 8.625 kB / 371.5 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004129/0.0313, allocations: 2.311 MB / 373.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.03283, allocations: 1.397 MB / 375.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-05/0.03293, allocations: 164.4 kB / 375.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/0.0332, allocations: 220.1 kB / 375.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004877/0.03807, allocations: 4.319 MB / 379.9 MB, free: 496 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/0.03812, allocations: 19.81 kB / 379.9 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/0.03833, allocations: 107.8 kB / 380 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001866/0.04019, allocations: 2.095 MB / 382.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004727/0.04492, allocations: 2.633 MB / 384.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/0.0631, allocations: 26.31 MB / 411 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1297/0.1928, allocations: 1.094 MB / 412.1 MB, free: 61.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007474/0.1936, allocations: 348.8 kB / 412.5 MB, free: 61.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003404/0.197, allocations: 2.715 MB / 415.2 MB, free: 61.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.197, allocations: 46.7 kB / 415.2 MB, free: 61.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 2.795e-06/0.197, allocations: 0 / 415.2 MB, free: 61.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=162): time 0.00704/0.204, allocations: 4.441 MB / 419.7 MB, free: 60.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.2041, allocations: 66.47 kB / 419.7 MB, free: 60.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/0.2068, allocations: 2.112 MB / 421.8 MB, free: 59.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.2069, allocations: 47.64 kB / 421.9 MB, free: 59.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.2081, allocations: 2.546 MB / 424.4 MB, free: 58.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000388/0.2085, allocations: 0.6562 MB / 425.1 MB, free: 57.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008179/0.2093, allocations: 0.9215 MB / 426 MB, free: 57.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.2094, allocations: 0.5218 MB / 426.5 MB, free: 57.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006815/0.21, allocations: 472.1 kB / 427 MB, free: 57.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.2116, allocations: 4.002 MB / 431 MB, free: 52.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.2142, allocations: 4.924 MB / 435.9 MB, free: 47.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-05/0.2143, allocations: 25 kB / 435.9 MB, free: 47.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.003641/0.2179, allocations: 3.656 MB / 439.6 MB, free: 46.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.218, allocations: 41.59 kB / 439.6 MB, free: 46.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-05/0.218, allocations: 83.53 kB / 439.7 MB, free: 46.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004532/0.2185, allocations: 265.2 kB / 440 MB, free: 46.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.2199, allocations: 0.9678 MB / 440.9 MB, free: 46.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.2215, allocations: 2.869 MB / 443.8 MB, free: 43.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.2227, allocations: 207 kB / 444 MB, free: 43.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.2229, allocations: 262.1 kB / 444.3 MB, free: 43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 383 * 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 (528): * Single equations (assignments): 522 * 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.0007701/0.2237, allocations: 488.5 kB / 444.8 MB, free: 42.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.2239, allocations: 258.5 kB / 445 MB, free: 42.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.2251, allocations: 1.156 MB / 446.2 MB, free: 41.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-05/0.2252, allocations: 35.89 kB / 446.2 MB, free: 41.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2252, allocations: 4 kB / 446.2 MB, free: 41.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.2252, allocations: 7.688 kB / 446.2 MB, free: 41.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004229/0.2294, allocations: 4.247 MB / 450.5 MB, free: 37.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.2294, allocations: 4 kB / 450.5 MB, free: 37.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.2299, allocations: 233.5 kB / 450.7 MB, free: 37.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.2302, allocations: 155.6 kB / 450.8 MB, free: 37.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.2302, allocations: 28 kB / 450.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.2314, allocations: 2.535 MB / 453.4 MB, free: 34.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2314, allocations: 7.938 kB / 453.4 MB, free: 34.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.2329, allocations: 1.706 MB / 455.1 MB, free: 32.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.2331, allocations: 201.7 kB / 455.3 MB, free: 32.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.2332, allocations: 28 kB / 455.3 MB, free: 32.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.2336, allocations: 69.33 kB / 455.4 MB, free: 32.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.2337, allocations: 102 kB / 455.5 MB, free: 32.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/0.2337, allocations: 47.66 kB / 455.6 MB, free: 32.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008094/0.2345, allocations: 0.9308 MB / 456.5 MB, free: 31.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2345, allocations: 0 / 456.5 MB, free: 31.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001756/0.2363, allocations: 0.7238 MB / 457.2 MB, free: 31.08 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.0002672/0.2366, allocations: 189.5 kB / 457.4 MB, free: 30.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002151/0.2387, allocations: 2.179 MB / 459.6 MB, free: 28.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2387, allocations: 4.062 kB / 459.6 MB, free: 28.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.2393, allocations: 0.6876 MB / 460.3 MB, free: 28.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/0.24, allocations: 298.3 kB / 460.6 MB, free: 27.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005748/0.2458, allocations: 6.086 MB / 466.6 MB, free: 21.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.2464, allocations: 1.011 MB / 467.7 MB, free: 20.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001249/0.2477, allocations: 1.039 MB / 468.7 MB, free: 19.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.2479, allocations: 172.5 kB / 468.9 MB, free: 19.43 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2479, allocations: 0 / 468.9 MB, free: 19.43 MB / 330.7 MB Notification: Performance of Templates: time 0.02763/0.2755, allocations: 21.08 MB / 489.9 MB, free: 14.71 MB / 346.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.385453840252012]