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.001411/0.001411, allocations: 107.6 kB / 16.45 MB, free: 6.398 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.001515/0.001515, allocations: 210.4 kB / 19.43 MB, free: 3.73 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.04769/0.04769, allocations: 9.223 MB / 318.1 MB, free: 11.22 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.001944/0.001944, allocations: 63.91 kB / 442.5 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1133, allocations: 55.43 MB / 498 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01234/0.1257, allocations: 8.829 MB / 0.4949 GB, free: 2.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006391/0.1321, allocations: 2.786 MB / 0.4976 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.1333, allocations: 47.75 kB / 0.4977 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.1342, allocations: 377.5 kB / 0.498 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004006/0.1382, allocations: 1.443 MB / 0.4994 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.139, allocations: 179.7 kB / 0.4996 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004077/0.1431, allocations: 2.535 MB / 0.5021 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.1446, allocations: 0.7606 MB / 0.5028 GB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.1467, allocations: 0.9222 MB / 0.5037 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.1496, allocations: 1.444 MB / 0.5051 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008613/0.1504, allocations: 232 kB / 0.5054 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.1525, allocations: 0.9323 MB / 0.5063 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.1542, allocations: 1.234 MB / 0.5075 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00227/0.1564, allocations: 1.565 MB / 0.509 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2613/0.4177, allocations: 5.064 MB / 0.514 GB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4177, allocations: 0 / 0.514 GB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4177, allocations: 0 / 0.514 GB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001758/0.4179, allocations: 2.719 kB / 0.514 GB, free: 11.48 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.02089/0.4388, allocations: 5.168 MB / 0.519 GB, free: 9.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.4388, allocations: 9.688 kB / 0.519 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00103/0.4399, allocations: 0.5373 MB / 0.5195 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007244/0.4471, allocations: 1.805 MB / 0.5213 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.4501, allocations: 1.446 MB / 0.5227 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.4503, allocations: 147.5 kB / 0.5229 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000603/0.4509, allocations: 201.4 kB / 0.523 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.4656, allocations: 8.477 MB / 0.5313 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-05/0.4657, allocations: 24.33 kB / 0.5313 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.466, allocations: 95.3 kB / 0.5314 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002966/0.469, allocations: 1.884 MB / 0.5333 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/0.4854, allocations: 8.146 MB / 0.5412 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04104/0.5265, allocations: 25.95 MB / 0.5666 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.5372, allocations: 2.775 MB / 0.5693 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.5391, allocations: 1.027 MB / 0.5703 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008101/0.5472, allocations: 5.04 MB / 0.5752 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.5473, allocations: 43.88 kB / 0.5753 GB, free: 3.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 4.689e-06/0.5473, allocations: 0 / 0.5753 GB, free: 3.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=175): time 0.02149/0.5688, allocations: 8.484 MB / 0.5835 GB, free: 10.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.5688, allocations: 64.72 kB / 0.5836 GB, free: 10.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.573, allocations: 2.636 MB / 0.5862 GB, free: 7.711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.5732, allocations: 55.94 kB / 0.5862 GB, free: 7.656 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.5748, allocations: 2.149 MB / 0.5883 GB, free: 5.512 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007978/0.5756, allocations: 0.6729 MB / 0.589 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.5768, allocations: 0.8092 MB / 0.5898 GB, free: 4.031 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.577, allocations: 319.4 kB / 0.5901 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/0.5794, allocations: 1.37 MB / 0.5914 GB, free: 2.344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004073/0.5835, allocations: 3.544 MB / 0.5949 GB, free: 13.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007018/0.5905, allocations: 5.32 MB / 0.6001 GB, free: 7.711 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.918e-05/0.5905, allocations: 20 kB / 0.6001 GB, free: 7.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01019/0.6007, allocations: 5.141 MB / 0.6051 GB, free: 2.871 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.144e-05/0.6008, allocations: 44.25 kB / 0.6052 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.6009, allocations: 76 kB / 0.6052 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000889/0.6018, allocations: 313.5 kB / 0.6055 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/0.6052, allocations: 0.9085 MB / 0.6064 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004465/0.6097, allocations: 3.294 MB / 0.6096 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.6128, allocations: 195.9 kB / 0.6098 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/0.6133, allocations: 240 kB / 0.61 GB, free: 13.68 MB / 462.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.003745/0.6171, allocations: 1.582 MB / 0.6116 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006843/0.6177, allocations: 242.4 kB / 0.6118 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/0.6226, allocations: 2.356 MB / 0.6141 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001132/0.6228, allocations: 34.36 kB / 0.6142 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6228, allocations: 0 / 0.6142 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.6228, allocations: 11.91 kB / 0.6142 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.6344, allocations: 6.257 MB / 0.6203 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.6344, allocations: 0 / 0.6203 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.6355, allocations: 259.6 kB / 0.6205 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006948/0.6362, allocations: 218.7 kB / 0.6207 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.6363, allocations: 39.94 kB / 0.6208 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003505/0.6398, allocations: 2.867 MB / 0.6236 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.6398, allocations: 7.938 kB / 0.6236 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006336/0.6462, allocations: 3.614 MB / 0.6271 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000841/0.647, allocations: 319.5 kB / 0.6274 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/0.6473, allocations: 31.98 kB / 0.6274 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009314/0.6482, allocations: 74.11 kB / 0.6275 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.6485, allocations: 97.06 kB / 0.6276 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.6486, allocations: 56.27 kB / 0.6277 GB, free: 11.31 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003314/0.6519, allocations: 1.704 MB / 0.6293 GB, free: 9.594 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6519, allocations: 4 kB / 0.6293 GB, free: 9.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003861/0.6558, allocations: 0.7019 MB / 0.63 GB, free: 8.891 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.006467/0.6623, allocations: 4.279 MB / 0.6342 GB, free: 4.555 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005929/0.6682, allocations: 3.374 MB / 0.6375 GB, free: 1.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6682, allocations: 0 / 0.6375 GB, free: 1.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.6701, allocations: 1.183 MB / 0.6386 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.6721, allocations: 397.4 kB / 0.639 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04883/0.7209, allocations: 29.03 MB / 0.6674 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003126/0.7241, allocations: 2.606 MB / 0.6699 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002964/0.727, allocations: 1.232 MB / 0.6711 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/0.7291, allocations: 1.345 MB / 0.6724 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.403e-06/0.7291, allocations: 0 / 0.6724 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3094/1.038, allocations: 50.23 MB / 0.7215 GB, free: 184.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.89/18.93, allocations: 12.66 kB / 0.7215 GB, free: 184.7 MB / 0.545 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.620338572000037] Failed to read output from testmodel.py, exit status != 0: 19.045495768004912 19.05884329 18.638218804 Calling exit ...