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.001485/0.001485, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001596/0.001596, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 8.094 MB / 206.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.04754/0.04754, allocations: 9.229 MB / 322.4 MB, free: 10.13 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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.89 kB / 449 MB, free: 14.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09541, allocations: 55.48 MB / 0.4926 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01007/0.1055, allocations: 8.863 MB / 0.5013 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005085/0.1106, allocations: 2.807 MB / 0.504 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009469/0.1115, allocations: 39.88 kB / 0.5041 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008064/0.1123, allocations: 385.4 kB / 0.5044 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.1152, allocations: 1.444 MB / 0.5059 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.1156, allocations: 179.6 kB / 0.506 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.1188, allocations: 2.534 MB / 0.5085 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.12, allocations: 0.7338 MB / 0.5092 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.1213, allocations: 0.93 MB / 0.5101 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.1231, allocations: 1.436 MB / 0.5115 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003589/0.1235, allocations: 232 kB / 0.5118 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.125, allocations: 0.944 MB / 0.5127 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.1262, allocations: 1.227 MB / 0.5139 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1875/0.3137, allocations: 1.563 MB / 0.5154 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007378/0.3211, allocations: 5.056 MB / 0.5203 GB, free: 11.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3211, allocations: 0.75 kB / 0.5203 GB, free: 11.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3211, allocations: 0 / 0.5203 GB, free: 11.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000118/0.3212, allocations: 0 / 0.5203 GB, free: 11.84 MB / 382.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.02172/0.3429, allocations: 5.089 MB / 0.5253 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.343, allocations: 14.27 kB / 0.5253 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009247/0.3522, allocations: 1.786 MB / 0.5271 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.3553, allocations: 1.376 MB / 0.5284 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.3554, allocations: 150.3 kB / 0.5286 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/0.3559, allocations: 193.6 kB / 0.5287 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.3684, allocations: 8.48 MB / 0.537 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.227e-05/0.3684, allocations: 26.23 kB / 0.537 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003203/0.3688, allocations: 93 kB / 0.5371 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002643/0.3714, allocations: 1.882 MB / 0.539 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.384, allocations: 8.149 MB / 0.5469 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03308/0.417, allocations: 25.88 MB / 0.5722 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008926/0.426, allocations: 2.317 MB / 0.5745 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.4276, allocations: 1.025 MB / 0.5755 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005977/0.4336, allocations: 3.173 MB / 0.5786 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.4336, allocations: 43.88 kB / 0.5786 GB, free: 4.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 3.656e-06/0.4336, allocations: 0.5156 kB / 0.5786 GB, free: 4.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=175): time 0.01583/0.4494, allocations: 7.739 MB / 0.5862 GB, free: 13.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.4495, allocations: 68.72 kB / 0.5862 GB, free: 13.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003623/0.4531, allocations: 2.615 MB / 0.5888 GB, free: 10.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.336e-05/0.4532, allocations: 49.7 kB / 0.5888 GB, free: 10.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.4548, allocations: 2.151 MB / 0.5909 GB, free: 8.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/0.4554, allocations: 0.6754 MB / 0.5916 GB, free: 7.566 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.4565, allocations: 0.8203 MB / 0.5924 GB, free: 6.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4566, allocations: 305.1 kB / 0.5927 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.4588, allocations: 1.378 MB / 0.594 GB, free: 5.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003963/0.4628, allocations: 3.539 MB / 0.5975 GB, free: 496 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006607/0.4694, allocations: 5.33 MB / 0.6027 GB, free: 10.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.429e-05/0.4694, allocations: 24 kB / 0.6027 GB, free: 10.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008304/0.4777, allocations: 5.132 MB / 0.6077 GB, free: 5.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.4778, allocations: 36 kB / 0.6078 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.027e-05/0.4779, allocations: 76 kB / 0.6078 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007478/0.4786, allocations: 308.6 kB / 0.6081 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/0.4813, allocations: 0.9046 MB / 0.609 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/0.4854, allocations: 3.183 MB / 0.6121 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.4878, allocations: 203.9 kB / 0.6123 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003257/0.4881, allocations: 236 kB / 0.6125 GB, free: 480 kB / 446.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.0025/0.4906, allocations: 1.581 MB / 0.6141 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/0.491, allocations: 238.4 kB / 0.6143 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/0.4952, allocations: 2.36 MB / 0.6166 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/0.4953, allocations: 31.11 kB / 0.6166 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4953, allocations: 7.922 kB / 0.6166 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.4953, allocations: 4.688 kB / 0.6166 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.5062, allocations: 6.231 MB / 0.6227 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.5062, allocations: 4 kB / 0.6227 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.5073, allocations: 264.6 kB / 0.623 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005626/0.5078, allocations: 201.9 kB / 0.6232 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.5079, allocations: 35.98 kB / 0.6232 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.5113, allocations: 2.763 MB / 0.6259 GB, free: 2.543 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5113, allocations: 8.047 kB / 0.6259 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005422/0.5167, allocations: 3.629 MB / 0.6295 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005751/0.5173, allocations: 239.2 kB / 0.6297 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.5175, allocations: 28 kB / 0.6297 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008237/0.5184, allocations: 63.92 kB / 0.6298 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.5186, allocations: 105 kB / 0.6299 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.5187, allocations: 58.8 kB / 0.6299 GB, free: 14.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002552/0.5212, allocations: 1.692 MB / 0.6316 GB, free: 12.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5212, allocations: 0 / 0.6316 GB, free: 12.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002678/0.5239, allocations: 0.6913 MB / 0.6323 GB, free: 11.96 MB / 478.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.0003694/0.5243, allocations: 196.3 kB / 0.6325 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005228/0.5295, allocations: 3.287 MB / 0.6357 GB, free: 8.488 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5295, allocations: 8 kB / 0.6357 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.5311, allocations: 1.104 MB / 0.6367 GB, free: 7.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.5328, allocations: 402.9 kB / 0.6371 GB, free: 6.984 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.544, allocations: 7.324 MB / 0.6443 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/0.5468, allocations: 2.606 MB / 0.6468 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/0.5475, allocations: 219.4 kB / 0.647 GB, free: 12.75 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5475, allocations: 0 / 0.647 GB, free: 12.75 MB / 494.1 MB Notification: Performance of Templates: time 0.094/0.6415, allocations: 73.92 MB / 0.7192 GB, free: 2.926 MB / 0.545 GB " [Timeout remaining time 659] 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: 11.00640139891766] Failed to read output from testmodel.py, exit status != 0: 0.6496249111369252 0.807434759 0.48378203200000003 Calling exit ...