Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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.0009968/0.0009968, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.002268, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001028/0.001028, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002411, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9267/0.9267, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0893/1.016, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.02839/0.02839, allocations: 7.184 MB / 251.2 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004526/0.03292, allocations: 2.553 MB / 253.7 MB, free: 5.305 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.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 255 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.984e-05, allocations: 2.312 kB / 255 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.009489/0.009509, allocations: 9.351 MB / 264.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.01324, allocations: 2.985 MB / 267.3 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004439/0.01369, allocations: 51.81 kB / 267.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.01421, allocations: 441 kB / 267.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.01591, allocations: 1.582 MB / 269.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.01615, allocations: 179.6 kB / 269.5 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.01798, allocations: 2.825 MB / 272.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005955/0.01857, allocations: 0.8446 MB / 273.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.0196, allocations: 1.591 MB / 274.8 MB, free: 104 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1517/0.1713, allocations: 1.393 MB / 276.2 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006907/0.172, allocations: 262.8 kB / 276.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.1739, allocations: 0.9249 MB / 277.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.175, allocations: 1.252 MB / 278.6 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.1761, allocations: 0.7604 MB / 279.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003864/0.18, allocations: 3.423 MB / 282.8 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.656e-05/0.18, allocations: 0 / 282.8 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.18, allocations: 1.344 kB / 282.8 MB, free: 3.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.086e-05/0.1801, allocations: 0 / 282.8 MB, free: 3.336 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: 1316 * Number of variables: 1316 Notification: Performance of Generate backend data structure: time 0.005468/0.1855, allocations: 4.426 MB / 287.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1856, allocations: 12.38 kB / 287.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.1893, allocations: 1.097 MB / 288.3 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.1906, allocations: 1.084 MB / 289.4 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.181e-05/0.1907, allocations: 165.4 kB / 289.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.1911, allocations: 223 kB / 289.8 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.1951, allocations: 3.676 MB / 293.5 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/0.1951, allocations: 19.28 kB / 293.5 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.1954, allocations: 107.4 kB / 293.6 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00184/0.1972, allocations: 1.919 MB / 295.5 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004829/0.2021, allocations: 2.215 MB / 297.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01868/0.2207, allocations: 19.24 MB / 317 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.2232, allocations: 1.011 MB / 318 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.2236, allocations: 261.2 kB / 318.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00311/0.2267, allocations: 2.287 MB / 320.5 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.2267, allocations: 52.34 kB / 320.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of pre-optimization done (n=146): time 3.397e-06/0.2267, allocations: 0 / 320.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=164): time 0.007136/0.2338, allocations: 3.614 MB / 324.2 MB, free: 4.285 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2339, allocations: 68.66 kB / 324.3 MB, free: 4.207 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.2356, allocations: 1.894 MB / 326.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/0.2356, allocations: 45.7 kB / 326.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009815/0.2366, allocations: 2.39 MB / 328.6 MB, free: 260 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.2369, allocations: 0.6341 MB / 329.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007555/0.2377, allocations: 0.828 MB / 330.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.2378, allocations: 350.3 kB / 330.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/0.2383, allocations: 446.8 kB / 330.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.24, allocations: 2.768 MB / 333.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/0.2427, allocations: 3.791 MB / 337.4 MB, free: 5.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.639e-05/0.2427, allocations: 24 kB / 337.4 MB, free: 5.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.00311/0.2458, allocations: 2.907 MB / 340.3 MB, free: 2.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.2458, allocations: 40 kB / 340.4 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.763e-05/0.2459, allocations: 88.09 kB / 340.4 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003749/0.2463, allocations: 255.2 kB / 340.7 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.2479, allocations: 1.059 MB / 341.8 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.2494, allocations: 2.182 MB / 343.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.2505, allocations: 164 kB / 344.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.2507, allocations: 220 kB / 344.3 MB, free: 14.52 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],slipBasedWheelJoint.wheel.colorRim[3],slipBasedWheelJoint.wheel.colorRim[2],slipBasedWheelJoint.wheel.colorRim[1],slipBasedWheelJoint.color[3],slipBasedWheelJoint.color[2],slipBasedWheelJoint.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 525 * 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.0009078/0.2516, allocations: 471.6 kB / 344.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.2518, allocations: 154.2 kB / 344.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.2528, allocations: 0.8831 MB / 345.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/0.2529, allocations: 24 kB / 345.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2529, allocations: 0 / 345.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.2529, allocations: 11.97 kB / 345.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.2565, allocations: 2.946 MB / 348.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.2565, allocations: 8.062 kB / 348.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/0.257, allocations: 257.4 kB / 349 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.2572, allocations: 181.7 kB / 349.2 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003596/0.2576, allocations: 223 kB / 349.4 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.2576, allocations: 32 kB / 349.5 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.2588, allocations: 1.878 MB / 351.3 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.2588, allocations: 4 kB / 351.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.26, allocations: 1.303 MB / 352.7 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.2602, allocations: 35.98 kB / 352.7 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.2606, allocations: 32.03 kB / 352.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2607, allocations: 104 kB / 352.8 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.687e-05/0.2607, allocations: 39.98 kB / 352.9 MB, free: 5.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005496/0.2613, allocations: 0.6792 MB / 353.5 MB, free: 5.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2613, allocations: 0 / 353.5 MB, free: 5.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002074/0.2633, allocations: 0.7303 MB / 354.3 MB, free: 4.617 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 (130): * Single equations (assignments): 124 * 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.0002592/0.2636, allocations: 160.2 kB / 354.4 MB, free: 4.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.2654, allocations: 1.873 MB / 356.3 MB, free: 2.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001104/0.2655, allocations: 70.55 kB / 356.4 MB, free: 2.551 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.266, allocations: 0.5448 MB / 356.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.2669, allocations: 450 kB / 357.4 MB, free: 1.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00917/0.276, allocations: 6.255 MB / 363.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008092/0.2768, allocations: 1.008 MB / 364.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007426/0.2776, allocations: 334 kB / 364.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004862/0.2781, allocations: 393.2 kB / 365.3 MB, free: 9.484 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2781, allocations: 0 / 365.3 MB, free: 9.484 MB / 346.7 MB Notification: Performance of Templates: time 0.03206/0.3101, allocations: 21.67 MB / 387 MB, free: 4.184 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2921088971197605]