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.001478/0.001478, 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.001743/0.001743, allocations: 177 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.9513/0.9513, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.02913/0.02913, allocations: 7.191 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.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.212e-06/1.212e-06, allocations: 0 / 286 MB, free: 3.355 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.105e-05, allocations: 2.312 kB / 286 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.1138/0.1138, allocations: 9.24 MB / 295.3 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005412/0.1192, allocations: 2.984 MB / 298.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.1201, allocations: 41.84 kB / 298.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008089/0.121, allocations: 418.1 kB / 298.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.1239, allocations: 1.622 MB / 300.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.1243, allocations: 182.1 kB / 300.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002624/0.1269, allocations: 2.829 MB / 303.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009927/0.1279, allocations: 0.8504 MB / 304.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.1294, allocations: 1.517 MB / 305.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.131, allocations: 1.415 MB / 307.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005649/0.1315, allocations: 259.9 kB / 307.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.1327, allocations: 0.9059 MB / 308.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005867/0.1333, allocations: 1.404 MB / 309.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008164/0.1341, allocations: 0.9187 MB / 310.6 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.1365, allocations: 3.673 MB / 314.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1365, allocations: 0 / 314.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1365, allocations: 0 / 314.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.718e-05/0.1366, allocations: 0 / 314.3 MB, free: 3.809 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.00373/0.1403, allocations: 3.715 MB / 318 MB, free: 48 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.1404, allocations: 12.62 kB / 318 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/0.1431, allocations: 1.093 MB / 319.1 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.1445, allocations: 1.09 MB / 320.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.413e-05/0.1446, allocations: 164.5 kB / 320.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/0.1449, allocations: 220.2 kB / 320.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.1485, allocations: 3.683 MB / 324.2 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/0.1485, allocations: 27.75 kB / 324.3 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.1487, allocations: 106.6 kB / 324.4 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001638/0.1504, allocations: 1.908 MB / 326.3 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003596/0.1539, allocations: 2.138 MB / 328.4 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01574/0.1697, allocations: 19.26 MB / 347.7 MB, free: 1.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.1716, allocations: 1.029 MB / 348.7 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.1721, allocations: 262 kB / 349 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002592/0.1747, allocations: 2.298 MB / 351.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1747, allocations: 43.56 kB / 351.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=146): time 2.615e-06/0.1747, allocations: 0 / 351.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=164): time 0.006054/0.1808, allocations: 3.647 MB / 355 MB, free: 9.977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.1808, allocations: 68.72 kB / 355 MB, free: 9.898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.1822, allocations: 1.891 MB / 356.9 MB, free: 7.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.1823, allocations: 45.7 kB / 357 MB, free: 7.906 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008656/0.1831, allocations: 2.391 MB / 359.4 MB, free: 5.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.1834, allocations: 0.6277 MB / 360 MB, free: 4.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006552/0.1841, allocations: 0.8343 MB / 360.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.1842, allocations: 349.9 kB / 361.2 MB, free: 3.664 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/0.1848, allocations: 450.8 kB / 361.6 MB, free: 3.215 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.1864, allocations: 2.774 MB / 364.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002587/0.1889, allocations: 3.778 MB / 368.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.2e-05/0.189, allocations: 24 kB / 368.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.003283/0.1923, allocations: 2.908 MB / 371.1 MB, free: 7.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.1923, allocations: 47.98 kB / 371.1 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-05/0.1924, allocations: 88.16 kB / 371.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/0.1928, allocations: 249.3 kB / 371.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.1944, allocations: 0.9358 MB / 372.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.196, allocations: 2.175 MB / 374.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.1974, allocations: 172 kB / 374.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/0.1976, allocations: 224 kB / 375 MB, free: 3.309 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.001203/0.1988, allocations: 454.3 kB / 375.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.199, allocations: 155.8 kB / 375.6 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.2001, allocations: 0.9054 MB / 376.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.646e-05/0.2002, allocations: 20 kB / 376.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2002, allocations: 0 / 376.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.2002, allocations: 7.969 kB / 376.5 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004159/0.2044, allocations: 2.944 MB / 379.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.2044, allocations: 8.062 kB / 379.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.2049, allocations: 211.7 kB / 379.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/0.2053, allocations: 218.1 kB / 379.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/0.2054, allocations: 39.97 kB / 379.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.2067, allocations: 1.875 MB / 381.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2067, allocations: 4 kB / 381.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.2085, allocations: 1.318 MB / 383.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.2088, allocations: 178.5 kB / 383.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.2089, allocations: 35.98 kB / 383.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.2093, allocations: 27.98 kB / 383.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.2094, allocations: 105 kB / 383.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.2095, allocations: 39.98 kB / 383.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000615/0.2101, allocations: 0.6796 MB / 384.1 MB, free: 9.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2101, allocations: 4 kB / 384.2 MB, free: 9.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002011/0.2121, allocations: 0.7264 MB / 384.9 MB, free: 9.02 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 (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.0002791/0.2124, allocations: 167.8 kB / 385 MB, free: 8.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.2144, allocations: 1.868 MB / 386.9 MB, free: 6.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.14e-05/0.2145, allocations: 51.94 kB / 387 MB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.215, allocations: 0.548 MB / 387.5 MB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.2158, allocations: 292.3 kB / 387.8 MB, free: 6.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/0.2226, allocations: 6.125 MB / 393.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/0.2234, allocations: 1.015 MB / 394.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008003/0.2242, allocations: 323.3 kB / 395.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005052/0.2247, allocations: 389.2 kB / 395.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2247, allocations: 0 / 395.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Templates: time 0.03362/0.2583, allocations: 21.22 MB / 416.9 MB, free: 9.25 MB / 378.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.234188364818692]