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.001413/0.001413, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001612/0.001612, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.0314/0.0314, allocations: 7.189 MB / 267.4 MB, free: 5.957 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 4.258e-06/4.258e-06, allocations: 4 kB / 286.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.925e-05, allocations: 2.312 kB / 286.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.1237/0.1237, allocations: 9.292 MB / 295.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005254/0.129, allocations: 2.982 MB / 298.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009717/0.13, allocations: 41.47 kB / 298.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008189/0.1308, allocations: 420.6 kB / 298.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.1339, allocations: 1.61 MB / 300.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.1345, allocations: 173.6 kB / 300.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002946/0.1374, allocations: 2.821 MB / 303.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.1385, allocations: 0.8499 MB / 304.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1403, allocations: 1.515 MB / 305.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.142, allocations: 1.416 MB / 307.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005196/0.1425, allocations: 260.7 kB / 307.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.144, allocations: 0.9311 MB / 308.4 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006792/0.1446, allocations: 1.402 MB / 309.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008738/0.1455, allocations: 0.9226 MB / 310.7 MB, free: 7.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00265/0.1482, allocations: 3.665 MB / 314.4 MB, free: 3.684 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1482, allocations: 4 kB / 314.4 MB, free: 3.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1482, allocations: 0 / 314.4 MB, free: 3.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.484e-05/0.1482, allocations: 0 / 314.4 MB, free: 3.68 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.003717/0.152, allocations: 3.721 MB / 318.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.152, allocations: 8.625 kB / 318.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/0.1551, allocations: 1.097 MB / 319.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.1563, allocations: 1.082 MB / 320.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/0.1564, allocations: 168.5 kB / 320.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.1566, allocations: 216.2 kB / 320.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/0.1602, allocations: 3.683 MB / 324.3 MB, free: 9.266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.278e-05/0.1603, allocations: 39.67 kB / 324.4 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.1605, allocations: 100.6 kB / 324.5 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001586/0.1621, allocations: 1.904 MB / 326.4 MB, free: 7.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.1655, allocations: 2.139 MB / 328.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/0.1809, allocations: 19.26 MB / 347.8 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.1828, allocations: 1.033 MB / 348.8 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.1831, allocations: 258 kB / 349.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002456/0.1856, allocations: 2.298 MB / 351.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1856, allocations: 43.56 kB / 351.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=146): time 2.976e-06/0.1856, allocations: 0 / 351.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=164): time 0.005866/0.1915, allocations: 3.647 MB / 355 MB, free: 9.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1915, allocations: 64.72 kB / 355.1 MB, free: 9.785 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.1929, allocations: 1.899 MB / 357 MB, free: 7.836 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.193, allocations: 45.7 kB / 357.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008824/0.1939, allocations: 2.387 MB / 359.4 MB, free: 5.375 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.1942, allocations: 0.6277 MB / 360.1 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006734/0.1948, allocations: 0.8382 MB / 360.9 MB, free: 3.891 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.1949, allocations: 349.8 kB / 361.3 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.1955, allocations: 450.8 kB / 361.7 MB, free: 3.094 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.197, allocations: 2.77 MB / 364.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/0.1996, allocations: 3.781 MB / 368.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.497e-05/0.1996, allocations: 24 kB / 368.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.003133/0.2028, allocations: 2.909 MB / 371.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.2028, allocations: 40 kB / 371.2 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.167e-05/0.2029, allocations: 88.31 kB / 371.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004298/0.2033, allocations: 258.5 kB / 371.6 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.205, allocations: 0.9825 MB / 372.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.2066, allocations: 2.18 MB / 374.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.2079, allocations: 168 kB / 374.9 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.2081, allocations: 220 kB / 375.1 MB, free: 3.145 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.0007958/0.2089, allocations: 457.4 kB / 375.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.2091, allocations: 155.8 kB / 375.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.2102, allocations: 0.8938 MB / 376.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.874e-05/0.2103, allocations: 27.97 kB / 376.6 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2103, allocations: 4 kB / 376.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2103, allocations: 3.984 kB / 376.6 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/0.2141, allocations: 2.944 MB / 379.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2141, allocations: 4 kB / 379.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.2146, allocations: 227.7 kB / 379.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003853/0.215, allocations: 226.2 kB / 380 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.215, allocations: 35.92 kB / 380 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.2163, allocations: 1.872 MB / 381.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2163, allocations: 7.938 kB / 381.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.2176, allocations: 1.322 MB / 383.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.2178, allocations: 178.6 kB / 383.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.218, allocations: 35.98 kB / 383.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.2183, allocations: 24 kB / 383.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.2184, allocations: 101.1 kB / 383.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.2185, allocations: 43.92 kB / 383.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000566/0.219, allocations: 0.6835 MB / 384.3 MB, free: 9.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.219, allocations: 0 / 384.3 MB, free: 9.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001957/0.221, allocations: 0.7264 MB / 385 MB, free: 8.84 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.0002698/0.2213, allocations: 163.9 kB / 385.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.2232, allocations: 1.877 MB / 387.1 MB, free: 6.781 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.354e-05/0.2233, allocations: 51.94 kB / 387.1 MB, free: 6.727 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.2238, allocations: 0.5519 MB / 387.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.2246, allocations: 285.2 kB / 388 MB, free: 5.887 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006849/0.2314, allocations: 6.123 MB / 394.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008754/0.2323, allocations: 1.015 MB / 395.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008082/0.2331, allocations: 327.2 kB / 395.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/0.2337, allocations: 385.2 kB / 395.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2337, allocations: 0 / 395.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of Templates: time 0.03351/0.2672, allocations: 21.27 MB / 417.1 MB, free: 9.027 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.483180670067668]