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.001028/0.001028, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001074/0.001074, allocations: 173 kB / 23.49 MB, free: 1.059 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.9319/0.9319, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.02998/0.02998, allocations: 7.185 MB / 267.5 MB, free: 6.102 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 2.154e-06/2.154e-06, allocations: 3.984 kB / 338.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.839e-05, allocations: 4.703 kB / 338.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.007955/0.007974, allocations: 9.444 MB / 348.3 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004519/0.01249, allocations: 2.869 MB / 351.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.01305, allocations: 39.88 kB / 351.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007783/0.01383, allocations: 413.1 kB / 351.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002644/0.01647, allocations: 1.621 MB / 353.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.01686, allocations: 175.6 kB / 353.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.01874, allocations: 2.818 MB / 356.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007497/0.01949, allocations: 0.8361 MB / 357.1 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.02058, allocations: 1.512 MB / 358.6 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.02187, allocations: 1.476 MB / 360.1 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.02216, allocations: 260 kB / 360.3 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008143/0.02298, allocations: 0.9049 MB / 361.2 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000747/0.02372, allocations: 1.402 MB / 362.6 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000712/0.02444, allocations: 0.9225 MB / 363.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.02736, allocations: 3.665 MB / 367.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.02737, allocations: 0 / 367.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.02737, allocations: 0 / 367.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.375e-05/0.02746, allocations: 0 / 367.2 MB, free: 14.06 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: 1316 * Number of variables: 1316 Notification: Performance of Generate backend data structure: time 0.005457/0.03292, allocations: 4.553 MB / 371.8 MB, free: 9.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.03295, allocations: 12.56 kB / 371.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004191/0.03714, allocations: 2.307 MB / 374.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.03851, allocations: 1.336 MB / 375.4 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/0.0386, allocations: 172.4 kB / 375.6 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/0.03887, allocations: 224.2 kB / 375.8 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004623/0.04349, allocations: 4.328 MB / 380.1 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.0436, allocations: 35.75 kB / 380.2 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.04381, allocations: 99.84 kB / 380.3 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001936/0.04574, allocations: 2.099 MB / 382.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004696/0.05044, allocations: 2.653 MB / 385 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02355/0.07399, allocations: 26.35 MB / 411.4 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1174/0.1914, allocations: 1.104 MB / 412.5 MB, free: 75.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/0.192, allocations: 353.9 kB / 412.8 MB, free: 75.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003526/0.1956, allocations: 2.728 MB / 415.5 MB, free: 74.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1956, allocations: 48.5 kB / 415.6 MB, free: 74.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 3.707e-06/0.1956, allocations: 0 / 415.6 MB, free: 74.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=164): time 0.008844/0.2044, allocations: 4.481 MB / 420.1 MB, free: 73.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.2045, allocations: 64.47 kB / 420.1 MB, free: 73.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.2067, allocations: 2.121 MB / 422.3 MB, free: 73.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.2067, allocations: 45.45 kB / 422.3 MB, free: 73.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008837/0.2076, allocations: 2.551 MB / 424.9 MB, free: 71.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.2079, allocations: 0.6597 MB / 425.5 MB, free: 70.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008771/0.2088, allocations: 0.9236 MB / 426.4 MB, free: 70.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.2089, allocations: 0.5255 MB / 427 MB, free: 69.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009192/0.2098, allocations: 473.8 kB / 427.4 MB, free: 69.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.2116, allocations: 3.985 MB / 431.4 MB, free: 65.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003131/0.2147, allocations: 4.926 MB / 436.3 MB, free: 59.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.402e-05/0.2147, allocations: 24 kB / 436.4 MB, free: 59.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.004683/0.2194, allocations: 3.664 MB / 440 MB, free: 56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.2194, allocations: 44 kB / 440.1 MB, free: 55.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.374e-05/0.2195, allocations: 87.66 kB / 440.2 MB, free: 55.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.22, allocations: 270 kB / 440.4 MB, free: 55.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.222, allocations: 0.9635 MB / 441.4 MB, free: 54.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.2239, allocations: 2.867 MB / 444.2 MB, free: 51.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.2256, allocations: 202.1 kB / 444.4 MB, free: 51.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002304/0.2259, allocations: 265.4 kB / 444.7 MB, free: 51.55 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],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 (529): * Single equations (assignments): 523 * 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.0007544/0.2266, allocations: 494.6 kB / 445.2 MB, free: 51.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.2269, allocations: 266.5 kB / 445.4 MB, free: 50.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.2286, allocations: 1.171 MB / 446.6 MB, free: 49.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-05/0.2286, allocations: 29.03 kB / 446.6 MB, free: 49.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2286, allocations: 0 / 446.6 MB, free: 49.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.2287, allocations: 10.97 kB / 446.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005516/0.2342, allocations: 4.274 MB / 450.9 MB, free: 45.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.2342, allocations: 4.438 kB / 450.9 MB, free: 45.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/0.2349, allocations: 243.7 kB / 451.2 MB, free: 45.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003736/0.2352, allocations: 147.2 kB / 451.3 MB, free: 45.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.2353, allocations: 35.98 kB / 451.3 MB, free: 44.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.2368, allocations: 2.535 MB / 453.9 MB, free: 42.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.2368, allocations: 14.55 kB / 453.9 MB, free: 42.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.2389, allocations: 1.716 MB / 455.6 MB, free: 40.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.2391, allocations: 194.6 kB / 455.8 MB, free: 40.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.2393, allocations: 27.94 kB / 455.8 MB, free: 40.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.2398, allocations: 83.34 kB / 455.9 MB, free: 40.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.24, allocations: 101.1 kB / 456 MB, free: 40.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.24, allocations: 44 kB / 456.1 MB, free: 40.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001002/0.241, allocations: 0.9306 MB / 457 MB, free: 39.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.241, allocations: 0 / 457 MB, free: 39.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002208/0.2432, allocations: 0.7381 MB / 457.7 MB, free: 38.38 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.0002798/0.2435, allocations: 174.4 kB / 457.9 MB, free: 38.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.2461, allocations: 2.189 MB / 460.1 MB, free: 36.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2461, allocations: 0 / 460.1 MB, free: 36.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007127/0.2469, allocations: 0.6964 MB / 460.8 MB, free: 35.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009921/0.2478, allocations: 291.1 kB / 461.1 MB, free: 35.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006755/0.2546, allocations: 6.103 MB / 467.2 MB, free: 28.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008306/0.2554, allocations: 1.019 MB / 468.2 MB, free: 27.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001499/0.2569, allocations: 1.047 MB / 469.2 MB, free: 26.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.2572, allocations: 164.5 kB / 469.4 MB, free: 26.56 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2572, allocations: 0 / 469.4 MB, free: 26.56 MB / 330.7 MB Notification: Performance of Templates: time 0.02477/0.2819, allocations: 20.26 MB / 489.7 MB, free: 6.66 MB / 330.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.52666096505709]