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.001181/0.001181, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001256/0.001256, allocations: 165 kB / 23.02 MB, free: 1.555 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.9593/0.9593, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.02984/0.02984, allocations: 7.179 MB / 267.1 MB, free: 6.055 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.783e-06/1.783e-06, allocations: 0 / 338.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.904e-05, allocations: 5.594 kB / 338.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.007804/0.007834, allocations: 9.467 MB / 348.3 MB, free: 1.758 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004752/0.01259, allocations: 2.885 MB / 351.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007431/0.01333, allocations: 39.88 kB / 351.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006296/0.01396, allocations: 413.1 kB / 351.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.0163, allocations: 1.617 MB / 353.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.01665, allocations: 175.6 kB / 353.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.01876, allocations: 2.822 MB / 356.3 MB, free: 9.793 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007412/0.0195, allocations: 0.836 MB / 357.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.02063, allocations: 1.52 MB / 358.6 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.02187, allocations: 1.473 MB / 360.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002862/0.02216, allocations: 260 kB / 360.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009756/0.02313, allocations: 0.901 MB / 361.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007504/0.02388, allocations: 1.406 MB / 362.7 MB, free: 3.363 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006387/0.02452, allocations: 0.9187 MB / 363.6 MB, free: 2.441 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.02723, allocations: 3.669 MB / 367.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.02723, allocations: 0 / 367.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02723, allocations: 4 kB / 367.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.591e-05/0.02728, allocations: 0 / 367.2 MB, free: 14.75 MB / 346.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.005012/0.03229, allocations: 4.541 MB / 371.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.03234, allocations: 16.56 kB / 371.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004113/0.03645, allocations: 2.311 MB / 374.1 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.0379, allocations: 1.339 MB / 375.5 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.298e-05/0.03799, allocations: 168.5 kB / 375.6 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.03824, allocations: 212.2 kB / 375.8 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004896/0.04314, allocations: 4.343 MB / 380.2 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/0.04318, allocations: 27.7 kB / 380.2 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.04338, allocations: 107.8 kB / 380.3 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001859/0.04524, allocations: 2.095 MB / 382.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005274/0.05052, allocations: 2.641 MB / 385 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02233/0.07285, allocations: 26.35 MB / 411.4 MB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.07532, allocations: 1.105 MB / 412.5 MB, free: 180 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.07582, allocations: 361.1 kB / 412.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003221/0.07904, allocations: 2.731 MB / 415.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.07908, allocations: 46.39 kB / 415.6 MB, free: 12.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=146): time 3.537e-06/0.07908, allocations: 0 / 415.6 MB, free: 12.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=164): time 0.00759/0.08667, allocations: 4.478 MB / 420.1 MB, free: 8.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.08671, allocations: 64.72 kB / 420.2 MB, free: 8.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.08886, allocations: 2.118 MB / 422.3 MB, free: 6.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.08892, allocations: 49.7 kB / 422.3 MB, free: 6.145 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.09009, allocations: 2.553 MB / 424.9 MB, free: 3.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003884/0.09048, allocations: 0.6474 MB / 425.5 MB, free: 2.914 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008223/0.0913, allocations: 0.9373 MB / 426.5 MB, free: 1.961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.09145, allocations: 0.516 MB / 427 MB, free: 1.438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/0.09222, allocations: 484.4 kB / 427.5 MB, free: 0.957 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/0.09467, allocations: 3.993 MB / 431.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/0.0983, allocations: 4.92 MB / 436.4 MB, free: 4.812 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.663e-05/0.09833, allocations: 27.94 kB / 436.4 MB, free: 4.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.004875/0.1032, allocations: 3.654 MB / 440 MB, free: 1.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.667e-05/0.1033, allocations: 40 kB / 440.1 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.719e-05/0.1033, allocations: 84 kB / 440.2 MB, free: 1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/0.1039, allocations: 266.3 kB / 440.4 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1445/0.2484, allocations: 0.9607 MB / 441.4 MB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.2505, allocations: 2.869 MB / 444.3 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.2526, allocations: 208.2 kB / 444.5 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003863/0.253, allocations: 259 kB / 444.7 MB, free: 120.5 MB / 410.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.001312/0.2543, allocations: 499.1 kB / 445.2 MB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.2546, allocations: 260.7 kB / 445.5 MB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.2564, allocations: 1.167 MB / 446.6 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.57e-05/0.2564, allocations: 32.7 kB / 446.7 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2564, allocations: 6.719 kB / 446.7 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.2564, allocations: 6.797 kB / 446.7 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005872/0.2623, allocations: 4.26 MB / 450.9 MB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.2623, allocations: 3.25 kB / 450.9 MB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.2629, allocations: 239.5 kB / 451.2 MB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003468/0.2632, allocations: 160.9 kB / 451.3 MB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.2633, allocations: 31.41 kB / 451.4 MB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.2647, allocations: 2.542 MB / 453.9 MB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2647, allocations: 2.906 kB / 453.9 MB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.2666, allocations: 1.724 MB / 455.6 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.2669, allocations: 195.3 kB / 455.8 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.2671, allocations: 29.06 kB / 455.8 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.2675, allocations: 71.36 kB / 455.9 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.2677, allocations: 104.7 kB / 456 MB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-05/0.2677, allocations: 55.45 kB / 456.1 MB, free: 117.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.2688, allocations: 0.9305 MB / 457 MB, free: 116.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2688, allocations: 0 / 457 MB, free: 116.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002379/0.2711, allocations: 0.7268 MB / 457.7 MB, free: 116.9 MB / 410.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.0003572/0.2715, allocations: 190.7 kB / 457.9 MB, free: 116.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003025/0.2745, allocations: 2.189 MB / 460.1 MB, free: 116.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2745, allocations: 4 kB / 460.1 MB, free: 116.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007131/0.2752, allocations: 0.6873 MB / 460.8 MB, free: 116.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.2762, allocations: 299.7 kB / 461.1 MB, free: 116.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008763/0.285, allocations: 6.088 MB / 467.2 MB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009902/0.286, allocations: 1.014 MB / 468.2 MB, free: 112.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001782/0.2878, allocations: 1.042 MB / 469.2 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/0.2881, allocations: 173.6 kB / 469.4 MB, free: 112.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/0.2881, allocations: 0 / 469.4 MB, free: 112.8 MB / 410.7 MB Notification: Performance of Templates: time 0.03074/0.3189, allocations: 20.27 MB / 489.7 MB, free: 109.8 MB / 410.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.656726106069982]