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.001465/0.001465, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001687/0.001687, allocations: 173 kB / 23.49 MB, free: 1.062 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.944/0.944, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.03032/0.03032, allocations: 7.179 MB / 267.5 MB, free: 6.113 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 2.114e-06/2.114e-06, allocations: 0 / 338.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.448e-05, allocations: 2.312 kB / 338.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.0124/0.01242, allocations: 9.223 MB / 348.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00549/0.01792, allocations: 2.869 MB / 351 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009896/0.0189, allocations: 39.88 kB / 351 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009707/0.01988, allocations: 413.1 kB / 351.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.02349, allocations: 1.61 MB / 353 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.02396, allocations: 167.5 kB / 353.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002951/0.02691, allocations: 2.801 MB / 356 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.02825, allocations: 0.8162 MB / 356.8 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.03025, allocations: 1.504 MB / 358.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.03243, allocations: 1.461 MB / 359.8 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006057/0.03303, allocations: 260 kB / 360 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.03454, allocations: 0.9048 MB / 360.9 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.03567, allocations: 1.398 MB / 362.3 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.03684, allocations: 0.9148 MB / 363.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004715/0.04155, allocations: 3.646 MB / 366.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.04156, allocations: 0 / 366.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.04156, allocations: 4 kB / 366.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001072/0.04166, allocations: 0 / 366.9 MB, free: 14.41 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.009366/0.05103, allocations: 4.525 MB / 371.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.05109, allocations: 12.56 kB / 371.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007306/0.0584, allocations: 2.315 MB / 373.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.06132, allocations: 1.324 MB / 375.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.06149, allocations: 164.4 kB / 375.2 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005751/0.06207, allocations: 216.2 kB / 375.4 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008411/0.07048, allocations: 4.319 MB / 379.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-05/0.07057, allocations: 23.81 kB / 379.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.0708, allocations: 107.8 kB / 379.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002059/0.07286, allocations: 2.099 MB / 382 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006872/0.07973, allocations: 2.633 MB / 384.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.1024, allocations: 26.31 MB / 410.9 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1231/0.2256, allocations: 1.086 MB / 412 MB, free: 61.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000908/0.2265, allocations: 349.6 kB / 412.3 MB, free: 61.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003312/0.2298, allocations: 2.719 MB / 415.1 MB, free: 61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.2298, allocations: 51.2 kB / 415.1 MB, free: 60.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 3.437e-06/0.2298, allocations: 0 / 415.1 MB, free: 60.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=162): time 0.006918/0.2367, allocations: 4.433 MB / 419.5 MB, free: 60.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.2368, allocations: 65.78 kB / 419.6 MB, free: 60 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/0.239, allocations: 2.113 MB / 421.7 MB, free: 59.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.2391, allocations: 48.33 kB / 421.8 MB, free: 59.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.2401, allocations: 2.548 MB / 424.3 MB, free: 58.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/0.2405, allocations: 0.6467 MB / 425 MB, free: 57.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008968/0.2414, allocations: 0.9237 MB / 425.9 MB, free: 57.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.2415, allocations: 0.5214 MB / 426.4 MB, free: 57.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008386/0.2423, allocations: 474.8 kB / 426.9 MB, free: 57.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.2439, allocations: 3.982 MB / 430.9 MB, free: 52.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/0.2467, allocations: 4.902 MB / 435.8 MB, free: 47.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.729e-05/0.2467, allocations: 23.28 kB / 435.8 MB, free: 47.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.004275/0.251, allocations: 3.636 MB / 439.4 MB, free: 47.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.251, allocations: 41.97 kB / 439.5 MB, free: 47.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.776e-05/0.2511, allocations: 88.34 kB / 439.5 MB, free: 47.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005287/0.2516, allocations: 266.3 kB / 439.8 MB, free: 47.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.2531, allocations: 0.9528 MB / 440.8 MB, free: 46.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.2549, allocations: 2.877 MB / 443.6 MB, free: 43.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.2565, allocations: 210.7 kB / 443.8 MB, free: 43.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.2566, allocations: 251.9 kB / 444.1 MB, free: 43.42 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.0008334/0.2575, allocations: 0.4904 MB / 444.6 MB, free: 42.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.2577, allocations: 254.5 kB / 444.8 MB, free: 42.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.2591, allocations: 1.159 MB / 446 MB, free: 41.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.429e-05/0.2591, allocations: 27.8 kB / 446 MB, free: 41.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2591, allocations: 4 kB / 446 MB, free: 41.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.2592, allocations: 11.58 kB / 446 MB, free: 41.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/0.2641, allocations: 4.23 MB / 450.3 MB, free: 37.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.2641, allocations: 4 kB / 450.3 MB, free: 37.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.2646, allocations: 241.3 kB / 450.5 MB, free: 37.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003338/0.2649, allocations: 145.3 kB / 450.6 MB, free: 37.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/0.265, allocations: 35.7 kB / 450.7 MB, free: 37.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.2662, allocations: 2.549 MB / 453.2 MB, free: 35.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2662, allocations: 7.359 kB / 453.2 MB, free: 35.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.268, allocations: 1.699 MB / 454.9 MB, free: 33.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.2683, allocations: 202 kB / 455.1 MB, free: 33.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.2684, allocations: 26.81 kB / 455.2 MB, free: 33.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.2688, allocations: 70.55 kB / 455.2 MB, free: 33.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.269, allocations: 102.1 kB / 455.3 MB, free: 33.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.269, allocations: 47.19 kB / 455.4 MB, free: 33.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000855/0.2699, allocations: 0.9316 MB / 456.3 MB, free: 32.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2699, allocations: 0 / 456.3 MB, free: 32.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002066/0.2719, allocations: 0.7265 MB / 457 MB, free: 31.5 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.0002919/0.2722, allocations: 175.9 kB / 457.2 MB, free: 31.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.2748, allocations: 2.185 MB / 459.4 MB, free: 29.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2748, allocations: 0 / 459.4 MB, free: 29.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.2754, allocations: 0.6849 MB / 460.1 MB, free: 28.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/0.2762, allocations: 285.7 kB / 460.3 MB, free: 28.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006812/0.283, allocations: 6.095 MB / 466.4 MB, free: 22.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.2837, allocations: 1.015 MB / 467.5 MB, free: 21.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001438/0.2852, allocations: 1.043 MB / 468.5 MB, free: 20.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.2854, allocations: 168.5 kB / 468.7 MB, free: 19.92 MB / 330.7 MB Notification: Performance of SimCode: time 2.144e-06/0.2855, allocations: 0 / 468.7 MB, free: 19.92 MB / 330.7 MB Notification: Performance of Templates: time 0.04348/0.3289, allocations: 20.19 MB / 488.9 MB, free: 132 kB / 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.5567112730350345]