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.001296/0.001296, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.0014/0.0014, allocations: 219.3 kB / 23.03 MB, free: 4.949 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.04899/0.04899, allocations: 9.257 MB / 322.5 MB, free: 9.953 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="cs",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.002616/0.002616, allocations: 59.91 kB / 448.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1557, allocations: 55.47 MB / 0.4921 GB, free: 7.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01446/0.1701, allocations: 7.734 MB / 0.4997 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007949/0.1781, allocations: 2.643 MB / 0.5022 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.1801, allocations: 39.88 kB / 0.5023 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.1815, allocations: 381.4 kB / 0.5026 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005199/0.1867, allocations: 1.44 MB / 0.504 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00084/0.1875, allocations: 183.6 kB / 0.5042 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004826/0.1924, allocations: 2.531 MB / 0.5067 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.1939, allocations: 0.7338 MB / 0.5074 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.1961, allocations: 0.9377 MB / 0.5083 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.1994, allocations: 1.448 MB / 0.5097 GB, free: 5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008847/0.2003, allocations: 236 kB / 0.51 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.2028, allocations: 0.8269 MB / 0.5108 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002041/0.2048, allocations: 1.227 MB / 0.512 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.2068, allocations: 1.087 MB / 0.513 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2951/0.5019, allocations: 5.083 MB / 0.518 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.5019, allocations: 0 / 0.518 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5019, allocations: 0.5312 kB / 0.518 GB, free: 12.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001977/0.5021, allocations: 0 / 0.518 GB, free: 12.51 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.02009/0.5222, allocations: 5.099 MB / 0.523 GB, free: 11.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.5223, allocations: 9.688 kB / 0.523 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001621/0.5224, allocations: 71.31 kB / 0.5231 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001352/0.5238, allocations: 0.54 MB / 0.5236 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007434/0.5312, allocations: 1.799 MB / 0.5253 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/0.5354, allocations: 1.401 MB / 0.5267 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.5356, allocations: 147.8 kB / 0.5268 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000927/0.5365, allocations: 206.2 kB / 0.527 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01923/0.5558, allocations: 8.474 MB / 0.5353 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.795e-05/0.5559, allocations: 21.27 kB / 0.5353 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/0.5562, allocations: 94.14 kB / 0.5354 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003224/0.5595, allocations: 1.883 MB / 0.5373 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/0.5779, allocations: 8.147 MB / 0.5452 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04384/0.6217, allocations: 24.43 MB / 0.5691 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/0.6322, allocations: 2.304 MB / 0.5713 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/0.6341, allocations: 1.026 MB / 0.5723 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006835/0.641, allocations: 2.885 MB / 0.5751 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.937e-05/0.641, allocations: 47.88 kB / 0.5752 GB, free: 8.309 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 5.63e-06/0.641, allocations: 5.219 kB / 0.5752 GB, free: 8.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=175): time 0.02199/0.663, allocations: 8.17 MB / 0.5832 GB, free: 124 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.6631, allocations: 75.44 kB / 0.5832 GB, free: 40 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004717/0.6678, allocations: 2.644 MB / 0.5858 GB, free: 13.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.6681, allocations: 48.52 kB / 0.5859 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001968/0.6701, allocations: 2.153 MB / 0.588 GB, free: 11.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007841/0.6708, allocations: 0.6745 MB / 0.5886 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/0.6722, allocations: 0.8066 MB / 0.5894 GB, free: 9.691 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6724, allocations: 309.1 kB / 0.5897 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.6748, allocations: 1.384 MB / 0.5911 GB, free: 8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004624/0.6795, allocations: 3.545 MB / 0.5945 GB, free: 3.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008002/0.6875, allocations: 5.316 MB / 0.5997 GB, free: 13.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.629e-05/0.6875, allocations: 20 kB / 0.5997 GB, free: 13.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01276/0.7003, allocations: 5.144 MB / 0.6048 GB, free: 8.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.496e-05/0.7004, allocations: 38.97 kB / 0.6048 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/0.7005, allocations: 76 kB / 0.6049 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.7015, allocations: 321.5 kB / 0.6052 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003701/0.7052, allocations: 0.9039 MB / 0.6061 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/0.7099, allocations: 3.16 MB / 0.6091 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.713, allocations: 191.9 kB / 0.6093 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000556/0.7135, allocations: 238.6 kB / 0.6096 GB, free: 3.426 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.003067/0.7166, allocations: 1.58 MB / 0.6111 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004269/0.717, allocations: 250.4 kB / 0.6113 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/0.7216, allocations: 2.366 MB / 0.6137 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001168/0.7217, allocations: 27.98 kB / 0.6137 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.7218, allocations: 4.062 kB / 0.6137 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.7218, allocations: 15.97 kB / 0.6137 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.7335, allocations: 5.89 MB / 0.6194 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.7335, allocations: 352 / 0.6194 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.7347, allocations: 263.6 kB / 0.6197 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006777/0.7354, allocations: 218.3 kB / 0.6199 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.7355, allocations: 35.94 kB / 0.6199 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003399/0.7389, allocations: 2.736 MB / 0.6226 GB, free: 5.855 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.7389, allocations: 12.48 kB / 0.6226 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005589/0.7445, allocations: 3.618 MB / 0.6262 GB, free: 2.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006369/0.7451, allocations: 238.4 kB / 0.6264 GB, free: 1.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.7454, allocations: 32 kB / 0.6264 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008739/0.7463, allocations: 66.97 kB / 0.6265 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.7465, allocations: 113 kB / 0.6266 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.7466, allocations: 51.98 kB / 0.6266 GB, free: 1.672 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002786/0.7494, allocations: 1.704 MB / 0.6283 GB, free: 15.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7494, allocations: 0 / 0.6283 GB, free: 15.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003656/0.7531, allocations: 0.6991 MB / 0.629 GB, free: 15.25 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.006947/0.76, allocations: 4.295 MB / 0.6332 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006242/0.7662, allocations: 3.282 MB / 0.6364 GB, free: 7.629 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.7663, allocations: 4 kB / 0.6364 GB, free: 7.625 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.7681, allocations: 1.106 MB / 0.6375 GB, free: 6.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.7704, allocations: 405.9 kB / 0.6379 GB, free: 6.117 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05197/0.8224, allocations: 29.1 MB / 0.6663 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003131/0.8255, allocations: 2.036 MB / 0.6683 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002973/0.8285, allocations: 1.228 MB / 0.6695 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002077/0.8306, allocations: 1.335 MB / 0.6708 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of SimCode: time 1.884e-06/0.8306, allocations: 0 / 0.6708 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3369/1.168, allocations: 52.33 MB / 0.7219 GB, free: 183.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.44/21.61, allocations: 17.11 kB / 0.7219 GB, free: 183.8 MB / 0.545 GB " [Timeout remaining time 638] (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: 24.724469730979763] Failed to read output from testmodel.py, exit status != 0: 21.813872631988488 21.826748085 21.321654135 Calling exit ...