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.001508/0.001508, allocations: 84.73 kB / 19.44 MB, free: 356 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.001687/0.001687, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.05036/0.05036, allocations: 7.173 MB / 266.7 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.834e-06/1.834e-06, allocations: 0 / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.088e-05, allocations: 7.859 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01016/0.01019, allocations: 8.387 MB / 346.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007178/0.01737, allocations: 2.785 MB / 349.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.01913, allocations: 39.88 kB / 349.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.02066, allocations: 417.1 kB / 349.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00584/0.0265, allocations: 1.602 MB / 351.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.0272, allocations: 183.5 kB / 351.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004387/0.03159, allocations: 2.795 MB / 354.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.03323, allocations: 0.8201 MB / 355.1 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.03581, allocations: 1.5 MB / 356.6 MB, free: 7.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.03855, allocations: 1.457 MB / 358.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005259/0.03908, allocations: 260 kB / 358.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.04093, allocations: 0.901 MB / 359.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.0425, allocations: 1.394 MB / 360.7 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.04392, allocations: 0.9108 MB / 361.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008632/0.05255, allocations: 5.591 MB / 367.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.05256, allocations: 0 / 367.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.05256, allocations: 4 kB / 367.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001429/0.0527, allocations: 0 / 367.2 MB, free: 13.39 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.01164/0.06434, allocations: 4.223 MB / 371.4 MB, free: 9.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.06439, allocations: 12.62 kB / 371.4 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008383/0.07277, allocations: 2.366 MB / 373.8 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003641/0.07641, allocations: 1.411 MB / 375.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.07662, allocations: 168.4 kB / 375.3 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006254/0.07724, allocations: 212.2 kB / 375.5 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.09377, allocations: 8.788 MB / 384.3 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.908e-05/0.09386, allocations: 27.7 kB / 384.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003716/0.09423, allocations: 107.8 kB / 384.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00382/0.09805, allocations: 2.099 MB / 386.6 MB, free: 9.523 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/0.1167, allocations: 7.941 MB / 394.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2286/0.3452, allocations: 23.79 MB / 418.3 MB, free: 60.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007872/0.3531, allocations: 1.938 MB / 420.2 MB, free: 60.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.3552, allocations: 0.8186 MB / 421.1 MB, free: 60.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008137/0.3633, allocations: 2.798 MB / 423.9 MB, free: 60.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3633, allocations: 50.91 kB / 423.9 MB, free: 60.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 6.893e-06/0.3634, allocations: 3.344 kB / 423.9 MB, free: 60.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=162): time 0.02344/0.3868, allocations: 7.189 MB / 431.1 MB, free: 57.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3868, allocations: 64.34 kB / 431.2 MB, free: 57.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004515/0.3914, allocations: 2.399 MB / 433.6 MB, free: 56.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.3916, allocations: 49.17 kB / 433.6 MB, free: 56.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.393, allocations: 2.445 MB / 436 MB, free: 54.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006523/0.3936, allocations: 0.6215 MB / 436.7 MB, free: 54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/0.3951, allocations: 0.868 MB / 437.5 MB, free: 53.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3953, allocations: 345.1 kB / 437.9 MB, free: 53.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003449/0.3987, allocations: 1.381 MB / 439.3 MB, free: 52.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004623/0.4033, allocations: 3.776 MB / 443 MB, free: 47.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008834/0.4122, allocations: 5.568 MB / 448.6 MB, free: 40.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-05/0.4122, allocations: 24 kB / 448.6 MB, free: 40.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01623/0.4285, allocations: 5.514 MB / 454.1 MB, free: 35.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.4286, allocations: 40 kB / 454.2 MB, free: 35.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/0.4288, allocations: 84 kB / 454.3 MB, free: 35.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.4303, allocations: 355.2 kB / 454.6 MB, free: 34.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004111/0.4344, allocations: 0.9553 MB / 455.6 MB, free: 34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.4378, allocations: 3.167 MB / 458.7 MB, free: 30.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/0.4411, allocations: 215.8 kB / 458.9 MB, free: 30.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000689/0.4418, allocations: 258.4 kB / 459.2 MB, free: 30.28 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.00303/0.4448, allocations: 1.731 MB / 460.9 MB, free: 28.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006423/0.4454, allocations: 254.3 kB / 461.2 MB, free: 28.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/0.4489, allocations: 2.156 MB / 463.3 MB, free: 26.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-05/0.449, allocations: 27.98 kB / 463.4 MB, free: 26.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.4491, allocations: 4 kB / 463.4 MB, free: 26.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.4491, allocations: 10.91 kB / 463.4 MB, free: 26.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009189/0.4583, allocations: 5.159 MB / 468.5 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.4583, allocations: 0 / 468.5 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/0.4592, allocations: 235.7 kB / 468.8 MB, free: 20.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006364/0.4598, allocations: 249.8 kB / 469 MB, free: 20.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.4599, allocations: 35.94 kB / 469 MB, free: 20.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.4625, allocations: 2.712 MB / 471.8 MB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4625, allocations: 4 kB / 471.8 MB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/0.467, allocations: 3.37 MB / 475.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/0.4676, allocations: 198.6 kB / 475.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/0.468, allocations: 28 kB / 475.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000983/0.469, allocations: 74.72 kB / 475.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.4692, allocations: 101 kB / 475.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.4693, allocations: 47.98 kB / 475.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001627/0.4709, allocations: 1.391 MB / 477 MB, free: 12.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4709, allocations: 4 kB / 477 MB, free: 12.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003031/0.4739, allocations: 0.73 MB / 477.7 MB, free: 11.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.0003624/0.4743, allocations: 170.5 kB / 477.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004501/0.4788, allocations: 3.274 MB / 481.1 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4788, allocations: 0 / 481.1 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.48, allocations: 1.03 MB / 482.2 MB, free: 7.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.4815, allocations: 284.5 kB / 482.4 MB, free: 6.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.4921, allocations: 7.326 MB / 489.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003584/0.4957, allocations: 2.258 MB / 492 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003277/0.499, allocations: 1.191 MB / 493.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.4995, allocations: 164.5 kB / 493.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.4995, allocations: 0 / 493.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of Templates: time 0.04838/0.5479, allocations: 20.22 MB / 0.5016 GB, free: 7.84 MB / 362.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.040108371991664]