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.001605/0.001605, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001846/0.001846, allocations: 165 kB / 22.46 MB, free: 5.375 MB / 14.72 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04679/0.04679, allocations: 7.128 MB / 266.3 MB, free: 9.758 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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 / 392.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.516e-05, allocations: 10.16 kB / 392.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.0102/0.01022, allocations: 7.788 MB / 400.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005908/0.01613, allocations: 2.639 MB / 403.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.01729, allocations: 39.88 kB / 403.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009922/0.01829, allocations: 385.3 kB / 403.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003529/0.02182, allocations: 1.497 MB / 405.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.02232, allocations: 179.6 kB / 405.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003602/0.02592, allocations: 2.59 MB / 408 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.02713, allocations: 0.7376 MB / 408.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.02917, allocations: 1.395 MB / 410.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.03105, allocations: 1.336 MB / 411.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003711/0.03142, allocations: 232 kB / 411.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.03305, allocations: 0.8737 MB / 412.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.0344, allocations: 1.266 MB / 413.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.03553, allocations: 0.8214 MB / 414.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007627/0.04316, allocations: 5.073 MB / 419.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.04317, allocations: 0 / 419.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.04317, allocations: 0 / 419.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000172/0.04334, allocations: 0 / 419.7 MB, free: 14.26 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01937/0.06271, allocations: 5.082 MB / 424.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.06276, allocations: 12.62 kB / 424.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007331/0.07009, allocations: 1.863 MB / 426.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.0731, allocations: 1.368 MB / 428 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.07325, allocations: 148 kB / 428.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005143/0.07376, allocations: 200.2 kB / 428.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.09017, allocations: 8.453 MB / 436.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.834e-05/0.09026, allocations: 35.69 kB / 436.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003337/0.09059, allocations: 99.8 kB / 437 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003463/0.09406, allocations: 1.88 MB / 438.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.1119, allocations: 8.074 MB / 446.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1889/0.3008, allocations: 23.48 MB / 470.4 MB, free: 43.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009282/0.3101, allocations: 2.402 MB / 472.8 MB, free: 43.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.3114, allocations: 1.017 MB / 473.8 MB, free: 42.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005026/0.3165, allocations: 2.854 MB / 476.7 MB, free: 41.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3165, allocations: 43.62 kB / 476.7 MB, free: 41.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 4.678e-06/0.3165, allocations: 0 / 476.7 MB, free: 41.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=175): time 0.01449/0.331, allocations: 7.782 MB / 484.5 MB, free: 36.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.331, allocations: 68.72 kB / 484.6 MB, free: 36.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/0.3334, allocations: 2.196 MB / 486.8 MB, free: 34.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.069e-05/0.3335, allocations: 49.61 kB / 486.8 MB, free: 34.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007574/0.3343, allocations: 2.165 MB / 489 MB, free: 32.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.3347, allocations: 0.6535 MB / 489.6 MB, free: 31.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008798/0.3356, allocations: 0.8141 MB / 490.4 MB, free: 30.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.3356, allocations: 349.9 kB / 490.8 MB, free: 30.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.3373, allocations: 1.37 MB / 492.1 MB, free: 29.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.3396, allocations: 3.538 MB / 495.7 MB, free: 24.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004256/0.3439, allocations: 5.306 MB / 0.4893 GB, free: 18.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.88e-05/0.3439, allocations: 27.44 kB / 0.4893 GB, free: 18.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.006559/0.3505, allocations: 5.089 MB / 0.4942 GB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.3505, allocations: 38.81 kB / 0.4943 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.868e-05/0.3506, allocations: 76 kB / 0.4944 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006534/0.3512, allocations: 313.1 kB / 0.4947 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.3536, allocations: 0.9049 MB / 0.4955 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/0.3565, allocations: 3.125 MB / 0.4986 GB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/0.3587, allocations: 203.6 kB / 0.4988 GB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/0.3589, allocations: 243.9 kB / 0.499 GB, free: 8.137 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 9 (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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 487 * 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.001728/0.3607, allocations: 1.573 MB / 0.5006 GB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.3609, allocations: 198.6 kB / 0.5007 GB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/0.3641, allocations: 2.313 MB / 0.503 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.693e-05/0.3642, allocations: 31.81 kB / 0.503 GB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3642, allocations: 0 / 0.503 GB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.3642, allocations: 11.97 kB / 0.503 GB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007806/0.372, allocations: 5.156 MB / 0.5081 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.372, allocations: 4 kB / 0.5081 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.3731, allocations: 268 kB / 0.5083 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000623/0.3738, allocations: 201.5 kB / 0.5085 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.3739, allocations: 39.92 kB / 0.5086 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/0.3773, allocations: 2.709 MB / 0.5112 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/0.3773, allocations: 11.88 kB / 0.5112 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005633/0.3829, allocations: 3.545 MB / 0.5147 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.3833, allocations: 182.7 kB / 0.5149 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.3836, allocations: 39.67 kB / 0.5149 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008522/0.3844, allocations: 67.92 kB / 0.515 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.3846, allocations: 109 kB / 0.5151 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.3847, allocations: 48 kB / 0.5151 GB, free: 7.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001967/0.3867, allocations: 1.285 MB / 0.5164 GB, free: 6.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3867, allocations: 4 kB / 0.5164 GB, free: 6.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002854/0.3896, allocations: 0.6835 MB / 0.517 GB, free: 5.449 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (140): * Single equations (assignments): 134 * 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.0004091/0.39, allocations: 181.5 kB / 0.5172 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00562/0.3956, allocations: 3.279 MB / 0.5204 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3956, allocations: 4 kB / 0.5204 GB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.3974, allocations: 1.097 MB / 0.5215 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.3988, allocations: 266 kB / 0.5217 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.4104, allocations: 6.719 MB / 0.5283 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/0.4132, allocations: 2.044 MB / 0.5303 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002785/0.416, allocations: 1.182 MB / 0.5315 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.4164, allocations: 160.5 kB / 0.5316 GB, free: 6.43 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4164, allocations: 4 kB / 0.5316 GB, free: 6.426 MB / 398.1 MB Notification: Performance of Templates: time 0.04442/0.4609, allocations: 22.27 MB / 0.5534 GB, free: 476 kB / 414.1 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.375068761408329] Failed to read output from testmodel.py, exit status != 0: 0.46970395743846893 0.484807346 0.438349377 Calling exit ...