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.0009645/0.0009645, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.000999/0.000999, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9942/0.9942, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.03205/0.03205, allocations: 7.19 MB / 268.2 MB, free: 5.898 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.413e-06/1.413e-06, allocations: 0 / 340.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.314e-05, allocations: 6.25 kB / 340.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.006913/0.006926, allocations: 9.029 MB / 349.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.01121, allocations: 2.845 MB / 352 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006455/0.01185, allocations: 43.88 kB / 352 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007322/0.01259, allocations: 413.1 kB / 352.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.01517, allocations: 1.61 MB / 354 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.0155, allocations: 171.6 kB / 354.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002408/0.01791, allocations: 2.801 MB / 357 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008039/0.01872, allocations: 0.8318 MB / 357.8 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.02037, allocations: 1.508 MB / 359.3 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.02194, allocations: 1.465 MB / 360.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003054/0.02224, allocations: 260 kB / 361 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.0233, allocations: 0.8971 MB / 361.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009215/0.02422, allocations: 1.402 MB / 363.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007497/0.02497, allocations: 0.9109 MB / 364.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.02816, allocations: 3.646 MB / 367.9 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.02816, allocations: 4 kB / 367.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.02816, allocations: 0 / 367.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.02818, allocations: 0 / 367.9 MB, free: 13.99 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.005931/0.03412, allocations: 4.462 MB / 372.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.03415, allocations: 12.62 kB / 372.4 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004916/0.03907, allocations: 1.348 MB / 373.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.04058, allocations: 1.287 MB / 375 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.04069, allocations: 164.4 kB / 375.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.04104, allocations: 220.2 kB / 375.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004764/0.04581, allocations: 3.928 MB / 379.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/0.04586, allocations: 23.75 kB / 379.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.04613, allocations: 99.84 kB / 379.4 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002171/0.0483, allocations: 1.9 MB / 381.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00401/0.05231, allocations: 2.122 MB / 383.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02164/0.07395, allocations: 26.09 MB / 409.5 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.07643, allocations: 1.006 MB / 410.6 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.07688, allocations: 303.3 kB / 410.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1413/0.2182, allocations: 2.588 MB / 413.4 MB, free: 70.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.2182, allocations: 47.84 kB / 413.5 MB, free: 70.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 4.168e-06/0.2182, allocations: 0 / 413.5 MB, free: 70.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=162): time 0.008407/0.2267, allocations: 3.71 MB / 417.2 MB, free: 70.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.2267, allocations: 73.12 kB / 417.3 MB, free: 70.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.2296, allocations: 2.097 MB / 419.4 MB, free: 69.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.2297, allocations: 47.58 kB / 419.4 MB, free: 69.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.2312, allocations: 2.569 MB / 422 MB, free: 68.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005732/0.2318, allocations: 0.6474 MB / 422.6 MB, free: 68.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.2329, allocations: 0.9556 MB / 423.6 MB, free: 67.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.233, allocations: 0.517 MB / 424.1 MB, free: 67.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003748/0.2368, allocations: 370.3 kB / 424.5 MB, free: 67.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.2389, allocations: 3.924 MB / 428.4 MB, free: 62.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003884/0.2428, allocations: 4.791 MB / 433.2 MB, free: 58.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-05/0.2428, allocations: 31.27 kB / 433.2 MB, free: 58.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.006202/0.249, allocations: 3.383 MB / 436.6 MB, free: 57.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.2491, allocations: 49.09 kB / 436.6 MB, free: 57.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.2492, allocations: 82.62 kB / 436.7 MB, free: 57.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.2498, allocations: 255.3 kB / 437 MB, free: 57.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.2513, allocations: 0.9395 MB / 437.9 MB, free: 56.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.2529, allocations: 2.78 MB / 440.7 MB, free: 53.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.2547, allocations: 163.8 kB / 440.8 MB, free: 53.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.2549, allocations: 223.3 kB / 441.1 MB, free: 53.11 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.0009389/0.2559, allocations: 0.4916 MB / 441.6 MB, free: 52.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.2562, allocations: 254.6 kB / 441.8 MB, free: 52.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.2574, allocations: 1.048 MB / 442.9 MB, free: 51.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.851e-05/0.2574, allocations: 20 kB / 442.9 MB, free: 51.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2574, allocations: 0 / 442.9 MB, free: 51.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.2574, allocations: 7.453 kB / 442.9 MB, free: 51.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004531/0.262, allocations: 3.314 MB / 446.2 MB, free: 48.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.262, allocations: 3.938 kB / 446.2 MB, free: 48.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/0.2625, allocations: 214.5 kB / 446.4 MB, free: 48.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003084/0.2628, allocations: 150.3 kB / 446.6 MB, free: 48.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.2628, allocations: 38.86 kB / 446.6 MB, free: 48.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.2641, allocations: 2.443 MB / 449 MB, free: 45.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2641, allocations: 7.938 kB / 449 MB, free: 45.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.2659, allocations: 1.56 MB / 450.6 MB, free: 44.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.2662, allocations: 185.7 kB / 450.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.2664, allocations: 35.7 kB / 450.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.2668, allocations: 28 kB / 450.8 MB, free: 44.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.2669, allocations: 107.4 kB / 450.9 MB, free: 43.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/0.2669, allocations: 43.98 kB / 451 MB, free: 43.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007129/0.2676, allocations: 0.8634 MB / 451.9 MB, free: 43.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2676, allocations: 0 / 451.9 MB, free: 43.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002376/0.27, allocations: 0.7264 MB / 452.6 MB, free: 42.32 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.0002591/0.2703, allocations: 178.9 kB / 452.8 MB, free: 42.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.2726, allocations: 2.027 MB / 454.8 MB, free: 40.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2726, allocations: 4 kB / 454.8 MB, free: 40.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.2731, allocations: 0.6478 MB / 455.4 MB, free: 39.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009152/0.274, allocations: 296.9 kB / 455.7 MB, free: 39.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008272/0.2823, allocations: 6.055 MB / 461.8 MB, free: 32.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008083/0.2831, allocations: 1.011 MB / 462.8 MB, free: 31.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009642/0.284, allocations: 330.9 kB / 463.1 MB, free: 31.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/0.2845, allocations: 422.1 kB / 463.5 MB, free: 31.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.2845, allocations: 0 / 463.5 MB, free: 31.22 MB / 330.7 MB Notification: Performance of Templates: time 0.03358/0.3181, allocations: 22.6 MB / 486.1 MB, free: 8.945 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.654433087911457]