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.001428/0.001428, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001746/0.001746, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.793 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.04841/0.04841, allocations: 9.245 MB / 321.7 MB, free: 9.82 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: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) [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.002103/0.002103, allocations: 70.09 kB / 447.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1165, allocations: 55.47 MB / 0.4913 GB, free: 6.996 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01083/0.1273, allocations: 7.789 MB / 0.4989 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.1332, allocations: 2.636 MB / 0.5015 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.1343, allocations: 43.81 kB / 0.5016 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009357/0.1352, allocations: 381.5 kB / 0.5019 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.1387, allocations: 1.451 MB / 0.5033 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.1393, allocations: 171.7 kB / 0.5035 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003335/0.1426, allocations: 2.524 MB / 0.506 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.1438, allocations: 0.7377 MB / 0.5067 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.1454, allocations: 0.9261 MB / 0.5076 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.1475, allocations: 1.389 MB / 0.509 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005422/0.1481, allocations: 232 kB / 0.5092 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.1498, allocations: 0.8152 MB / 0.51 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.1513, allocations: 1.231 MB / 0.5112 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.153, allocations: 1.102 MB / 0.5123 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2757/0.4288, allocations: 5.08 MB / 0.5172 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4288, allocations: 0 / 0.5172 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4288, allocations: 1.5 kB / 0.5172 GB, free: 12.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002001/0.429, allocations: 0 / 0.5172 GB, free: 12.4 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.01994/0.4489, allocations: 5.086 MB / 0.5222 GB, free: 10.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.449, allocations: 12.3 kB / 0.5222 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001086/0.45, allocations: 0.5383 MB / 0.5227 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00733/0.4574, allocations: 1.799 MB / 0.5245 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/0.4613, allocations: 1.406 MB / 0.5258 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.4615, allocations: 151.3 kB / 0.526 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009462/0.4624, allocations: 194 kB / 0.5262 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.4825, allocations: 8.474 MB / 0.5345 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000199/0.4827, allocations: 29.7 kB / 0.5345 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.4838, allocations: 92.02 kB / 0.5346 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003559/0.4873, allocations: 1.882 MB / 0.5364 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01833/0.5057, allocations: 8.121 MB / 0.5443 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04578/0.5514, allocations: 24.42 MB / 0.5682 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.562, allocations: 2.309 MB / 0.5704 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.5642, allocations: 1.025 MB / 0.5714 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009038/0.5732, allocations: 2.889 MB / 0.5743 GB, free: 8.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.5733, allocations: 47.88 kB / 0.5743 GB, free: 8.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 5.32e-06/0.5733, allocations: 0 / 0.5743 GB, free: 8.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=175): time 0.02144/0.5947, allocations: 8.18 MB / 0.5823 GB, free: 128 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.5948, allocations: 64.72 kB / 0.5824 GB, free: 52 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005658/0.6004, allocations: 2.772 MB / 0.5851 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002995/0.6007, allocations: 48.52 kB / 0.5851 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002397/0.6031, allocations: 2.159 MB / 0.5872 GB, free: 11.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.6043, allocations: 0.6814 MB / 0.5879 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002106/0.6064, allocations: 0.8065 MB / 0.5887 GB, free: 9.566 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6066, allocations: 309 kB / 0.589 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002892/0.6094, allocations: 1.378 MB / 0.5903 GB, free: 7.879 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/0.6145, allocations: 3.543 MB / 0.5938 GB, free: 3.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008036/0.6225, allocations: 5.325 MB / 0.599 GB, free: 13.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/0.6226, allocations: 23.98 kB / 0.599 GB, free: 13.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01172/0.6343, allocations: 5.132 MB / 0.604 GB, free: 8.352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.6344, allocations: 40 kB / 0.604 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/0.6346, allocations: 76 kB / 0.6041 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.6356, allocations: 314.1 kB / 0.6044 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/0.6391, allocations: 0.9046 MB / 0.6053 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/0.6437, allocations: 3.163 MB / 0.6084 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/0.6473, allocations: 194.7 kB / 0.6086 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008343/0.6482, allocations: 240 kB / 0.6088 GB, free: 3.332 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.003891/0.6521, allocations: 1.582 MB / 0.6104 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007212/0.6528, allocations: 242.4 kB / 0.6106 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005067/0.6579, allocations: 2.363 MB / 0.6129 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001121/0.658, allocations: 27.98 kB / 0.6129 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.658, allocations: 4 kB / 0.6129 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.658, allocations: 10.59 kB / 0.6129 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.6723, allocations: 5.897 MB / 0.6187 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.6723, allocations: 4 kB / 0.6187 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.6735, allocations: 252.6 kB / 0.6189 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007043/0.6742, allocations: 222.4 kB / 0.6191 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/0.6744, allocations: 38.48 kB / 0.6192 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003864/0.6782, allocations: 2.737 MB / 0.6219 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.6782, allocations: 7.938 kB / 0.6219 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00656/0.6848, allocations: 3.629 MB / 0.6254 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.6859, allocations: 235.1 kB / 0.6256 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007527/0.6866, allocations: 31.98 kB / 0.6257 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.6881, allocations: 65.25 kB / 0.6257 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.6884, allocations: 109 kB / 0.6258 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.6885, allocations: 51.98 kB / 0.6259 GB, free: 1.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004068/0.6926, allocations: 1.708 MB / 0.6275 GB, free: 15.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6926, allocations: 4 kB / 0.6276 GB, free: 15.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004611/0.6972, allocations: 0.6928 MB / 0.6282 GB, free: 15.17 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.007328/0.7045, allocations: 4.3 MB / 0.6324 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006735/0.7112, allocations: 3.3 MB / 0.6356 GB, free: 7.527 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/0.7113, allocations: 0 / 0.6356 GB, free: 7.527 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.7133, allocations: 1.094 MB / 0.6367 GB, free: 6.414 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/0.7162, allocations: 400.9 kB / 0.6371 GB, free: 6.035 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06501/0.7813, allocations: 29.1 MB / 0.6655 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00469/0.7859, allocations: 2.041 MB / 0.6675 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003778/0.7897, allocations: 1.229 MB / 0.6687 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002883/0.7926, allocations: 1.335 MB / 0.67 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.723e-06/0.7926, allocations: 0 / 0.67 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3933/1.186, allocations: 50.77 MB / 0.7196 GB, free: 186.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.49, allocations: 2.734 kB / 0.7196 GB, free: 186.2 MB / 0.545 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.328147431835532] Failed to read output from testmodel.py, exit status != 0: 15.640834231860936 15.656313331 15.224140724 Calling exit ...