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.001314/0.001314, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002147/0.003461, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001333/0.001333, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001724/0.003057, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9934/0.9934, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09471/1.088, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.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.02843/0.02843, allocations: 7.174 MB / 251.1 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005297/0.03373, allocations: 2.557 MB / 253.7 MB, free: 5.316 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.353e-06/1.353e-06, allocations: 0 / 254.9 MB, free: 4.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.056e-05, allocations: 5.828 kB / 255 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.006967/0.006988, allocations: 9.147 MB / 264.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004994/0.01198, allocations: 2.969 MB / 267.1 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009753/0.01296, allocations: 43.88 kB / 267.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007436/0.0137, allocations: 449 kB / 267.6 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.01656, allocations: 1.578 MB / 269.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.017, allocations: 167.6 kB / 269.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002701/0.0197, allocations: 2.797 MB / 272.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.02076, allocations: 0.8324 MB / 272.9 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.02252, allocations: 1.571 MB / 274.5 MB, free: 416 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1148/0.1373, allocations: 1.387 MB / 275.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008267/0.1381, allocations: 259.2 kB / 276.1 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.1397, allocations: 0.9202 MB / 277.1 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.1409, allocations: 1.249 MB / 278.3 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.1422, allocations: 0.7538 MB / 279.1 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.1462, allocations: 3.403 MB / 282.5 MB, free: 3.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-05/0.1462, allocations: 0 / 282.5 MB, free: 3.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1462, allocations: 5.219 kB / 282.5 MB, free: 3.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001864/0.1464, allocations: 0 / 282.5 MB, free: 3.375 MB / 266.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.008027/0.1545, allocations: 4.41 MB / 286.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1545, allocations: 10.73 kB / 286.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.1575, allocations: 1.094 MB / 288 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.1592, allocations: 1.073 MB / 289.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-05/0.1593, allocations: 165.2 kB / 289.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/0.1596, allocations: 226.9 kB / 289.4 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00417/0.1638, allocations: 3.659 MB / 293.1 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.475e-05/0.1638, allocations: 22.3 kB / 293.1 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.164, allocations: 104.3 kB / 293.2 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001479/0.1655, allocations: 1.918 MB / 295.1 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004404/0.1699, allocations: 2.19 MB / 297.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01907/0.189, allocations: 19.21 MB / 316.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.191, allocations: 1.015 MB / 317.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.1913, allocations: 258.1 kB / 317.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00291/0.1943, allocations: 2.278 MB / 320.1 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1943, allocations: 51.55 kB / 320.1 MB, free: 8.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=144): time 4.238e-06/0.1943, allocations: 2.812 kB / 320.1 MB, free: 8.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=162): time 0.006335/0.2006, allocations: 3.582 MB / 323.7 MB, free: 4.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2007, allocations: 64.72 kB / 323.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.2024, allocations: 1.883 MB / 325.7 MB, free: 2.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/0.2025, allocations: 52.69 kB / 325.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009465/0.2034, allocations: 2.384 MB / 328.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/0.2037, allocations: 0.6172 MB / 328.7 MB, free: 32 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006985/0.2044, allocations: 0.8318 MB / 329.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.2045, allocations: 350.8 kB / 329.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.2051, allocations: 446.8 kB / 330.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.2066, allocations: 2.763 MB / 333.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.2094, allocations: 3.774 MB / 336.9 MB, free: 5.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.846e-05/0.2094, allocations: 24 kB / 336.9 MB, free: 5.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.003369/0.2128, allocations: 2.903 MB / 339.8 MB, free: 2.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.2128, allocations: 44.06 kB / 339.8 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.15e-05/0.2129, allocations: 84.16 kB / 339.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/0.2134, allocations: 251 kB / 340.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.2154, allocations: 1.053 MB / 341.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.2171, allocations: 2.177 MB / 343.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.2186, allocations: 168 kB / 343.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.2188, allocations: 220 kB / 343.8 MB, free: 14.92 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.001355/0.2202, allocations: 448.5 kB / 344.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.2204, allocations: 159.7 kB / 344.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.2216, allocations: 0.8878 MB / 345.3 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/0.2216, allocations: 20 kB / 345.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2216, allocations: 5.047 kB / 345.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.2217, allocations: 11.97 kB / 345.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/0.2264, allocations: 2.912 MB / 348.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2264, allocations: 4 kB / 348.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.2269, allocations: 244.7 kB / 348.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.2273, allocations: 190.5 kB / 348.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.2277, allocations: 218.6 kB / 348.8 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/0.2278, allocations: 27.98 kB / 348.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.2291, allocations: 1.885 MB / 350.8 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.2291, allocations: 7.938 kB / 350.8 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.2305, allocations: 1.291 MB / 352.1 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.2306, allocations: 28.92 kB / 352.1 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.231, allocations: 31.98 kB / 352.1 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.2311, allocations: 93.08 kB / 352.2 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.2312, allocations: 47.92 kB / 352.3 MB, free: 6.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007668/0.232, allocations: 0.6763 MB / 352.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.232, allocations: 0 / 352.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002333/0.2343, allocations: 0.7303 MB / 353.7 MB, free: 5.09 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.0003184/0.2346, allocations: 168.6 kB / 353.8 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.237, allocations: 1.859 MB / 355.7 MB, free: 3.109 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001337/0.2371, allocations: 70.56 kB / 355.7 MB, free: 3.035 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.2377, allocations: 0.5335 MB / 356.3 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009672/0.2387, allocations: 437.4 kB / 356.7 MB, free: 2.086 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.2492, allocations: 6.26 MB / 363 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009919/0.2502, allocations: 1.004 MB / 364 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001029/0.2513, allocations: 327.4 kB / 364.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/0.2518, allocations: 389.2 kB / 364.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of SimCode: time 2.284e-06/0.2518, allocations: 0 / 364.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of Templates: time 0.03503/0.2868, allocations: 21.58 MB / 386.3 MB, free: 4.875 MB / 362.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.3760065538808703]