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.001135/0.001135, 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.001026/0.001026, allocations: 177.4 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.9334/0.9334, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.03418/0.03418, allocations: 7.195 MB / 267.5 MB, free: 5.938 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.473e-06/1.473e-06, allocations: 0 / 286 MB, free: 3.359 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.154e-05, allocations: 2.312 kB / 286 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.1141/0.1141, allocations: 9.046 MB / 295.1 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00489/0.119, allocations: 2.968 MB / 298.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008226/0.1198, allocations: 41.31 kB / 298.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007254/0.1205, allocations: 420.8 kB / 298.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002817/0.1233, allocations: 1.619 MB / 300.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.1238, allocations: 171.4 kB / 300.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.1264, allocations: 2.793 MB / 303.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.1274, allocations: 0.8473 MB / 303.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.1292, allocations: 1.511 MB / 305.4 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.1309, allocations: 1.394 MB / 306.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005768/0.1314, allocations: 258.8 kB / 307.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.1327, allocations: 0.8945 MB / 308 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006933/0.1334, allocations: 1.404 MB / 309.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008792/0.1343, allocations: 0.907 MB / 310.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.137, allocations: 3.65 MB / 313.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.137, allocations: 0 / 313.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.137, allocations: 0 / 313.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.023e-05/0.1371, allocations: 0.5938 kB / 313.9 MB, free: 4.109 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.003746/0.1409, allocations: 3.71 MB / 317.7 MB, free: 368 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1409, allocations: 12.62 kB / 317.7 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.1436, allocations: 1.085 MB / 318.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.145, allocations: 1.082 MB / 319.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.1451, allocations: 168.4 kB / 320 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/0.1454, allocations: 217.2 kB / 320.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004227/0.1496, allocations: 3.666 MB / 323.9 MB, free: 9.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.512e-05/0.1496, allocations: 27.7 kB / 323.9 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.1498, allocations: 99.84 kB / 324 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001648/0.1515, allocations: 1.904 MB / 325.9 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004203/0.1557, allocations: 2.132 MB / 328 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.1746, allocations: 19.23 MB / 347.3 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.1767, allocations: 1.033 MB / 348.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.177, allocations: 254 kB / 348.5 MB, free: 460 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003178/0.1802, allocations: 2.287 MB / 350.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1802, allocations: 47.56 kB / 350.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=144): time 2.896e-06/0.1802, allocations: 0 / 350.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=162): time 0.006014/0.1862, allocations: 3.606 MB / 354.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.1863, allocations: 68.66 kB / 354.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.1878, allocations: 1.898 MB / 356.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/0.1879, allocations: 45.7 kB / 356.5 MB, free: 8.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.1891, allocations: 2.375 MB / 358.9 MB, free: 5.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/0.1895, allocations: 0.6317 MB / 359.5 MB, free: 5.305 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006886/0.1902, allocations: 0.8265 MB / 360.3 MB, free: 4.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.1903, allocations: 349.8 kB / 360.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/0.1909, allocations: 450.8 kB / 361.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.1927, allocations: 2.758 MB / 363.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.1955, allocations: 3.77 MB / 367.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.674e-05/0.1956, allocations: 28 kB / 367.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.003743/0.1993, allocations: 2.888 MB / 370.6 MB, free: 7.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.1993, allocations: 40 kB / 370.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.849e-05/0.1994, allocations: 84 kB / 370.7 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.1999, allocations: 261.7 kB / 370.9 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.2014, allocations: 0.9318 MB / 371.9 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.2031, allocations: 2.185 MB / 374 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.2044, allocations: 164 kB / 374.2 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.2046, allocations: 223.8 kB / 374.4 MB, free: 3.805 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.0008871/0.2055, allocations: 452.5 kB / 374.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.2057, allocations: 155.9 kB / 375 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.2068, allocations: 0.883 MB / 375.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003177/0.2071, allocations: 20 kB / 375.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.2071, allocations: 8.062 kB / 375.9 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.2072, allocations: 7.969 kB / 375.9 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004078/0.2112, allocations: 2.924 MB / 378.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.2112, allocations: 448 / 378.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.2117, allocations: 215.7 kB / 379.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004137/0.2121, allocations: 214 kB / 379.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/0.2122, allocations: 35.97 kB / 379.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.2135, allocations: 1.881 MB / 381.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2135, allocations: 4 kB / 381.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.215, allocations: 1.298 MB / 382.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.2152, allocations: 178.6 kB / 382.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.2154, allocations: 31.94 kB / 382.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.2157, allocations: 35.98 kB / 382.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.2158, allocations: 97.08 kB / 382.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.2159, allocations: 47.91 kB / 382.9 MB, free: 11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007629/0.2166, allocations: 0.6713 MB / 383.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2166, allocations: 0 / 383.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00206/0.2187, allocations: 0.7264 MB / 384.3 MB, free: 9.578 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.0002766/0.219, allocations: 164 kB / 384.4 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.2211, allocations: 1.855 MB / 386.3 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.414e-05/0.2212, allocations: 55.94 kB / 386.3 MB, free: 7.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005154/0.2217, allocations: 0.5364 MB / 386.9 MB, free: 6.926 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/0.2224, allocations: 289.9 kB / 387.2 MB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007923/0.2304, allocations: 6.125 MB / 393.3 MB, free: 440 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009289/0.2313, allocations: 0.9991 MB / 394.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009113/0.2322, allocations: 324.1 kB / 394.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.2327, allocations: 385.2 kB / 395 MB, free: 14.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2327, allocations: 0 / 395 MB, free: 14.72 MB / 362.7 MB Notification: Performance of Templates: time 0.03881/0.2715, allocations: 22.11 MB / 417.1 MB, free: 8.977 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 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3662570430897176]