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.0008811/0.0008811, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008939/0.0008939, allocations: 173 kB / 23.36 MB, free: 1.129 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.9868/0.9868, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.03097/0.03097, allocations: 7.193 MB / 267.4 MB, free: 5.953 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.493e-06/1.493e-06, allocations: 0 / 286.1 MB, free: 3.316 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.08e-05, allocations: 6.312 kB / 286.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.1206/0.1206, allocations: 9.087 MB / 295.2 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005682/0.1263, allocations: 2.971 MB / 298.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008935/0.1272, allocations: 40.91 kB / 298.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007707/0.1279, allocations: 421.2 kB / 298.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002907/0.1308, allocations: 1.596 MB / 300.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.1313, allocations: 165.1 kB / 300.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002669/0.134, allocations: 2.796 MB / 303.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.135, allocations: 0.8419 MB / 304 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.1366, allocations: 1.508 MB / 305.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.1384, allocations: 1.399 MB / 306.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005391/0.1389, allocations: 259.1 kB / 307.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.1401, allocations: 0.9177 MB / 308.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006165/0.1407, allocations: 1.401 MB / 309.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008034/0.1415, allocations: 0.907 MB / 310.4 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.1442, allocations: 3.661 MB / 314 MB, free: 4.027 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1442, allocations: 0 / 314 MB, free: 4.027 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1442, allocations: 4 kB / 314 MB, free: 4.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.032e-05/0.1443, allocations: 0 / 314 MB, free: 4.023 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.003625/0.148, allocations: 3.698 MB / 317.7 MB, free: 288 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.148, allocations: 12.62 kB / 317.7 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/0.1512, allocations: 1.097 MB / 318.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.1526, allocations: 1.082 MB / 319.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.1527, allocations: 164.4 kB / 320.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.1529, allocations: 216.2 kB / 320.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/0.1568, allocations: 3.666 MB / 324 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.918e-05/0.1568, allocations: 27.7 kB / 324 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.157, allocations: 103.8 kB / 324.1 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001825/0.1588, allocations: 1.897 MB / 326 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004178/0.163, allocations: 2.134 MB / 328.1 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/0.1812, allocations: 19.23 MB / 347.4 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.1832, allocations: 1.036 MB / 348.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.1835, allocations: 255.1 kB / 348.6 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002948/0.1865, allocations: 2.283 MB / 350.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1865, allocations: 43.56 kB / 351 MB, free: 14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=144): time 2.835e-06/0.1865, allocations: 0 / 351 MB, free: 14 MB / 314.7 MB Notification: Performance of matching and sorting (n=162): time 0.006963/0.1935, allocations: 3.609 MB / 354.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.1935, allocations: 64.72 kB / 354.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.195, allocations: 1.894 MB / 356.5 MB, free: 8.316 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/0.195, allocations: 45.7 kB / 356.6 MB, free: 8.266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.1961, allocations: 2.383 MB / 359 MB, free: 5.859 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.1965, allocations: 0.6199 MB / 359.6 MB, free: 5.234 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008003/0.1973, allocations: 0.8304 MB / 360.4 MB, free: 4.391 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.1973, allocations: 349.9 kB / 360.8 MB, free: 4.043 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.1979, allocations: 454.7 kB / 361.2 MB, free: 3.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.1998, allocations: 2.758 MB / 364 MB, free: 15.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/0.2029, allocations: 3.761 MB / 367.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.682e-05/0.2029, allocations: 24 kB / 367.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.003758/0.2066, allocations: 2.895 MB / 370.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.2067, allocations: 40 kB / 370.7 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.721e-05/0.2068, allocations: 88.16 kB / 370.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000474/0.2072, allocations: 266 kB / 371 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.209, allocations: 0.9709 MB / 372 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.2111, allocations: 2.186 MB / 374.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.2126, allocations: 168 kB / 374.3 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.2128, allocations: 216 kB / 374.5 MB, free: 3.688 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.0009493/0.2137, allocations: 468.4 kB / 375 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.2139, allocations: 151.8 kB / 375.2 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.2151, allocations: 0.8869 MB / 376 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.824e-05/0.2152, allocations: 20 kB / 376.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2152, allocations: 0 / 376.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.2152, allocations: 7.969 kB / 376.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.2191, allocations: 2.924 MB / 379 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.2191, allocations: 4 kB / 379 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.2196, allocations: 223.7 kB / 379.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004193/0.22, allocations: 222.9 kB / 379.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/0.2201, allocations: 28 kB / 379.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.2217, allocations: 1.882 MB / 381.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2217, allocations: 0 / 381.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.2231, allocations: 1.302 MB / 382.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.2233, allocations: 189.4 kB / 382.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.2234, allocations: 31.98 kB / 382.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.2238, allocations: 24 kB / 382.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.2239, allocations: 105 kB / 383 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/0.224, allocations: 39.98 kB / 383 MB, free: 10.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006139/0.2246, allocations: 0.6753 MB / 383.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2246, allocations: 0 / 383.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00192/0.2265, allocations: 0.7264 MB / 384.4 MB, free: 9.441 MB / 346.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.0002611/0.2268, allocations: 160.1 kB / 384.6 MB, free: 9.277 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002006/0.2288, allocations: 1.862 MB / 386.4 MB, free: 7.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.615e-05/0.2289, allocations: 51.94 kB / 386.5 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.2294, allocations: 0.5317 MB / 387 MB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.2301, allocations: 288.6 kB / 387.3 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007948/0.2381, allocations: 6.123 MB / 393.4 MB, free: 304 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009515/0.239, allocations: 1.011 MB / 394.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009841/0.24, allocations: 325.5 kB / 394.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008181/0.2408, allocations: 385.2 kB / 395.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2408, allocations: 0 / 395.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Templates: time 0.03601/0.2768, allocations: 21.16 MB / 416.3 MB, free: 9.789 MB / 378.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2674883152358234]