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.001376/0.001376, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001522/0.001522, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.781 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.05131/0.05131, allocations: 9.24 MB / 321.7 MB, free: 9.828 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.002125/0.002125, allocations: 59.91 kB / 448.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1161, allocations: 55.48 MB / 0.4918 GB, free: 6.504 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01145/0.1275, allocations: 7.773 MB / 0.4994 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005948/0.1335, allocations: 2.643 MB / 0.502 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.1346, allocations: 39.88 kB / 0.502 GB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009165/0.1355, allocations: 377.4 kB / 0.5024 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.1388, allocations: 1.451 MB / 0.5038 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.1393, allocations: 191.6 kB / 0.504 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002985/0.1422, allocations: 2.523 MB / 0.5065 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.1434, allocations: 0.7298 MB / 0.5072 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.1447, allocations: 0.93 MB / 0.5081 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.1467, allocations: 1.385 MB / 0.5094 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000383/0.147, allocations: 232 kB / 0.5097 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.1485, allocations: 0.823 MB / 0.5105 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.1498, allocations: 1.223 MB / 0.5117 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.1511, allocations: 1.098 MB / 0.5127 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2078/0.359, allocations: 5.066 MB / 0.5177 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.359, allocations: 0 / 0.5177 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.394e-05/0.359, allocations: 3 kB / 0.5177 GB, free: 12.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001115/0.3591, allocations: 0 / 0.5177 GB, free: 12.62 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.01712/0.3762, allocations: 5.09 MB / 0.5226 GB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3762, allocations: 8.875 kB / 0.5227 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006966/0.3832, allocations: 1.796 MB / 0.5244 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003559/0.3868, allocations: 1.389 MB / 0.5258 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.3869, allocations: 147.8 kB / 0.5259 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005963/0.3875, allocations: 194.6 kB / 0.5261 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/0.4059, allocations: 8.477 MB / 0.5344 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.406, allocations: 24.77 kB / 0.5344 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004026/0.4064, allocations: 91.45 kB / 0.5345 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003701/0.4101, allocations: 1.882 MB / 0.5363 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.4285, allocations: 8.127 MB / 0.5443 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04255/0.4711, allocations: 23.47 MB / 0.5672 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.4816, allocations: 2.319 MB / 0.5694 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.4837, allocations: 1.025 MB / 0.5704 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007808/0.4915, allocations: 2.826 MB / 0.5732 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.996e-05/0.4916, allocations: 43.88 kB / 0.5732 GB, free: 9.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 5.21e-06/0.4916, allocations: 0 / 0.5732 GB, free: 9.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=175): time 0.02161/0.5132, allocations: 7.707 MB / 0.5808 GB, free: 2.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.5132, allocations: 72.7 kB / 0.5808 GB, free: 1.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005497/0.5187, allocations: 2.214 MB / 0.583 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003076/0.519, allocations: 53.7 kB / 0.5831 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002303/0.5213, allocations: 2.173 MB / 0.5852 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00125/0.5226, allocations: 0.682 MB / 0.5858 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002498/0.5251, allocations: 0.8212 MB / 0.5866 GB, free: 11.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.5253, allocations: 345.9 kB / 0.587 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003704/0.5291, allocations: 1.378 MB / 0.5883 GB, free: 10.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005567/0.5346, allocations: 3.547 MB / 0.5918 GB, free: 5.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008577/0.5432, allocations: 5.314 MB / 0.597 GB, free: 15.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.271e-05/0.5433, allocations: 24 kB / 0.597 GB, free: 15.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01139/0.5547, allocations: 5.091 MB / 0.602 GB, free: 10.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.387e-05/0.5548, allocations: 40.12 kB / 0.602 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/0.5549, allocations: 80 kB / 0.6021 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008876/0.5558, allocations: 313.5 kB / 0.6024 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003409/0.5592, allocations: 0.9046 MB / 0.6033 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.5639, allocations: 3.143 MB / 0.6063 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/0.5672, allocations: 199.9 kB / 0.6065 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008003/0.568, allocations: 244 kB / 0.6068 GB, free: 5.703 MB / 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.003611/0.5716, allocations: 1.576 MB / 0.6083 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005561/0.5722, allocations: 202.6 kB / 0.6085 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/0.5771, allocations: 2.324 MB / 0.6108 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001166/0.5772, allocations: 35.41 kB / 0.6108 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.5772, allocations: 4 kB / 0.6108 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.5772, allocations: 3.984 kB / 0.6108 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.5906, allocations: 5.153 MB / 0.6158 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.5906, allocations: 0 / 0.6158 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.5918, allocations: 259.6 kB / 0.6161 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007225/0.5925, allocations: 204.9 kB / 0.6163 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/0.5927, allocations: 45.7 kB / 0.6163 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004148/0.5969, allocations: 2.711 MB / 0.619 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.5969, allocations: 7.938 kB / 0.619 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00632/0.6032, allocations: 3.583 MB / 0.6225 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/0.6038, allocations: 186.7 kB / 0.6227 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004469/0.6043, allocations: 37.86 kB / 0.6227 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.6053, allocations: 67.92 kB / 0.6228 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.6056, allocations: 101.1 kB / 0.6228 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.6057, allocations: 55.45 kB / 0.6229 GB, free: 4.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002703/0.6084, allocations: 1.301 MB / 0.6242 GB, free: 3.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6084, allocations: 0 / 0.6242 GB, free: 3.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003496/0.6119, allocations: 0.6796 MB / 0.6248 GB, free: 2.98 MB / 462.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.0004853/0.6124, allocations: 193.1 kB / 0.625 GB, free: 2.789 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006374/0.6187, allocations: 3.282 MB / 0.6282 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.6187, allocations: 8.188 kB / 0.6282 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.6207, allocations: 1.103 MB / 0.6293 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.6225, allocations: 266.3 kB / 0.6296 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/0.6363, allocations: 6.902 MB / 0.6363 GB, free: 7.195 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003802/0.6401, allocations: 2.04 MB / 0.6383 GB, free: 5.125 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00328/0.6434, allocations: 1.178 MB / 0.6394 GB, free: 3.941 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006804/0.644, allocations: 163.4 kB / 0.6396 GB, free: 3.781 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.644, allocations: 0 / 0.6396 GB, free: 3.781 MB / 478.1 MB Notification: Performance of Templates: time 0.0533/0.6973, allocations: 25.39 MB / 0.6644 GB, free: 10.72 MB / 0.4981 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: 5.861036574468017] Failed to read output from testmodel.py, exit status != 0: 0.7070274446159601 0.722916012 0.36052123899999994 Calling exit ...