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.001449/0.001449, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001231/0.001231, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9793/0.9793, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.03491/0.03491, allocations: 7.185 MB / 268.2 MB, free: 5.898 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.353e-06/1.353e-06, allocations: 0 / 340.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.723e-05, allocations: 2.312 kB / 340.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.008114/0.008142, allocations: 9.232 MB / 349.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005929/0.01407, allocations: 2.869 MB / 352.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.01527, allocations: 43.88 kB / 352.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008584/0.01613, allocations: 409.1 kB / 352.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.01926, allocations: 1.621 MB / 354.3 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.01973, allocations: 183.5 kB / 354.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.02245, allocations: 2.821 MB / 357.3 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.02351, allocations: 0.84 MB / 358.1 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.02519, allocations: 1.524 MB / 359.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.02696, allocations: 1.465 MB / 361.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004804/0.02744, allocations: 260 kB / 361.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.02881, allocations: 0.9088 MB / 362.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009606/0.02977, allocations: 1.41 MB / 363.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.03088, allocations: 0.9148 MB / 364.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004287/0.03517, allocations: 3.669 MB / 368.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.03517, allocations: 0 / 368.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03518, allocations: 0 / 368.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001408/0.03532, allocations: 0 / 368.2 MB, free: 13.64 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.006473/0.04179, allocations: 4.478 MB / 372.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.04183, allocations: 12.62 kB / 372.7 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003473/0.0453, allocations: 1.352 MB / 374.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.0476, allocations: 1.295 MB / 375.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.04773, allocations: 168.5 kB / 375.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005367/0.04827, allocations: 220.2 kB / 375.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00583/0.0541, allocations: 3.936 MB / 379.7 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.449e-05/0.05416, allocations: 31.69 kB / 379.7 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.05437, allocations: 103.8 kB / 379.8 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001723/0.0561, allocations: 1.9 MB / 381.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004705/0.0608, allocations: 2.127 MB / 383.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02365/0.08445, allocations: 26.13 MB / 410 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.08699, allocations: 1.009 MB / 411 MB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.08736, allocations: 307.2 kB / 411.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1337/0.221, allocations: 2.594 MB / 413.9 MB, free: 70.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.2211, allocations: 51.36 kB / 413.9 MB, free: 70.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 4.96e-06/0.2211, allocations: 0 / 413.9 MB, free: 70.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=164): time 0.007265/0.2283, allocations: 3.755 MB / 417.7 MB, free: 69.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.2284, allocations: 67.53 kB / 417.8 MB, free: 69.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.2309, allocations: 2.103 MB / 419.9 MB, free: 69.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/0.231, allocations: 48.14 kB / 419.9 MB, free: 69.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.2322, allocations: 2.575 MB / 422.5 MB, free: 68.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/0.2327, allocations: 0.6611 MB / 423.1 MB, free: 67.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008323/0.2335, allocations: 0.9478 MB / 424.1 MB, free: 67.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2336, allocations: 0.5264 MB / 424.6 MB, free: 67.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.2342, allocations: 372.6 kB / 425 MB, free: 67.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.2356, allocations: 3.932 MB / 428.9 MB, free: 62.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/0.2386, allocations: 4.804 MB / 433.7 MB, free: 57.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.584e-05/0.2386, allocations: 29.19 kB / 433.7 MB, free: 57.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.003912/0.2425, allocations: 3.397 MB / 437.1 MB, free: 56.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.2426, allocations: 45.03 kB / 437.2 MB, free: 56.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.807e-05/0.2426, allocations: 84 kB / 437.3 MB, free: 56.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004733/0.2431, allocations: 263.1 kB / 437.5 MB, free: 56.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.2446, allocations: 0.9445 MB / 438.5 MB, free: 55.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.2463, allocations: 2.776 MB / 441.2 MB, free: 52.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.2479, allocations: 167.7 kB / 441.4 MB, free: 52.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.248, allocations: 227 kB / 441.6 MB, free: 52.57 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.0008963/0.2489, allocations: 496 kB / 442.1 MB, free: 52.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.2491, allocations: 258.6 kB / 442.4 MB, free: 51.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.2503, allocations: 1.069 MB / 443.4 MB, free: 50.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.762e-05/0.2503, allocations: 20 kB / 443.5 MB, free: 50.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2503, allocations: 4 kB / 443.5 MB, free: 50.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.2504, allocations: 11.2 kB / 443.5 MB, free: 50.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004139/0.2545, allocations: 3.332 MB / 446.8 MB, free: 48.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2545, allocations: 4 kB / 446.8 MB, free: 48.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.255, allocations: 214.5 kB / 447 MB, free: 47.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003027/0.2553, allocations: 155.3 kB / 447.2 MB, free: 47.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.2553, allocations: 28 kB / 447.2 MB, free: 47.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.2564, allocations: 2.447 MB / 449.6 MB, free: 45.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2564, allocations: 4 kB / 449.6 MB, free: 45.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.2579, allocations: 1.579 MB / 451.2 MB, free: 43.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.2581, allocations: 193.8 kB / 451.4 MB, free: 43.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.2583, allocations: 28 kB / 451.4 MB, free: 43.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.2587, allocations: 35.97 kB / 451.5 MB, free: 43.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2588, allocations: 109 kB / 451.6 MB, free: 43.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.2588, allocations: 39.98 kB / 451.6 MB, free: 43.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005928/0.2594, allocations: 0.868 MB / 452.5 MB, free: 42.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2594, allocations: 0 / 452.5 MB, free: 42.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002324/0.2617, allocations: 0.7264 MB / 453.2 MB, free: 41.74 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.000278/0.262, allocations: 186.8 kB / 453.4 MB, free: 41.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.2642, allocations: 2.045 MB / 455.4 MB, free: 39.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2642, allocations: 0 / 455.4 MB, free: 39.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005294/0.2648, allocations: 0.6484 MB / 456.1 MB, free: 38.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000842/0.2656, allocations: 304.7 kB / 456.4 MB, free: 38.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006955/0.2726, allocations: 6.066 MB / 462.5 MB, free: 32.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.2734, allocations: 1.015 MB / 463.5 MB, free: 31.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009965/0.2744, allocations: 335.6 kB / 463.8 MB, free: 31.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.2748, allocations: 422.1 kB / 464.2 MB, free: 30.6 MB / 330.7 MB Notification: Performance of SimCode: time 2.084e-06/0.2748, allocations: 0 / 464.2 MB, free: 30.6 MB / 330.7 MB Notification: Performance of Templates: time 0.03206/0.3069, allocations: 21.73 MB / 485.9 MB, free: 9.199 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.7832710640504956]