Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.001773/0.001773, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001852/0.001852, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.04755/0.04755, allocations: 9.234 MB / 318.1 MB, free: 11.21 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.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",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.001971/0.001971, allocations: 83.86 kB / 442.5 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1195, allocations: 55.42 MB / 498 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01075/0.1302, allocations: 8.522 MB / 0.4946 GB, free: 2.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006069/0.1363, allocations: 2.651 MB / 0.4972 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.1375, allocations: 43.81 kB / 0.4973 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009443/0.1384, allocations: 369.5 kB / 0.4976 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.1425, allocations: 1.299 MB / 0.4989 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.143, allocations: 111.9 kB / 0.499 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004154/0.1471, allocations: 2.425 MB / 0.5013 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.1486, allocations: 0.7134 MB / 0.502 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.1505, allocations: 0.8872 MB / 0.5029 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.1532, allocations: 1.39 MB / 0.5043 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006522/0.1538, allocations: 224 kB / 0.5045 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.1557, allocations: 0.7723 MB / 0.5052 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.1571, allocations: 1.188 MB / 0.5064 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001893/0.159, allocations: 1.503 MB / 0.5079 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2664/0.4254, allocations: 4.855 MB / 0.5126 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.4254, allocations: 0.5938 kB / 0.5126 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4254, allocations: 0 / 0.5126 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000218/0.4256, allocations: 4.281 kB / 0.5126 GB, free: 11.08 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.0167/0.4423, allocations: 4.908 MB / 0.5174 GB, free: 9.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4424, allocations: 10 kB / 0.5174 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006849/0.443, allocations: 0.5248 MB / 0.5179 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007087/0.4501, allocations: 1.785 MB / 0.5197 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/0.4532, allocations: 1.403 MB / 0.521 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.4533, allocations: 143.8 kB / 0.5212 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005202/0.4538, allocations: 196 kB / 0.5214 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/0.47, allocations: 8.147 MB / 0.5293 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.4701, allocations: 23.86 kB / 0.5293 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00039/0.4705, allocations: 90.97 kB / 0.5294 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003752/0.4742, allocations: 1.829 MB / 0.5312 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/0.4909, allocations: 7.811 MB / 0.5388 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04208/0.533, allocations: 24.72 MB / 0.563 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009819/0.5428, allocations: 2.569 MB / 0.5655 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.5446, allocations: 0.9416 MB / 0.5664 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006801/0.5514, allocations: 4.348 MB / 0.5707 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.5514, allocations: 47.55 kB / 0.5707 GB, free: 6.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=142): time 3.917e-06/0.5514, allocations: 0 / 0.5707 GB, free: 6.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.0179/0.5693, allocations: 7.81 MB / 0.5783 GB, free: 15.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.5694, allocations: 72.7 kB / 0.5784 GB, free: 14.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003996/0.5734, allocations: 2.525 MB / 0.5809 GB, free: 12.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.5735, allocations: 49.17 kB / 0.5809 GB, free: 12.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.5753, allocations: 2.08 MB / 0.5829 GB, free: 10.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007381/0.576, allocations: 0.6414 MB / 0.5836 GB, free: 9.645 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.5771, allocations: 0.7695 MB / 0.5843 GB, free: 8.871 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5772, allocations: 301.1 kB / 0.5846 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002351/0.5796, allocations: 1.336 MB / 0.5859 GB, free: 7.238 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004158/0.5837, allocations: 3.391 MB / 0.5892 GB, free: 2.887 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007113/0.5909, allocations: 5.11 MB / 0.5942 GB, free: 13.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.216e-05/0.5909, allocations: 20 kB / 0.5942 GB, free: 13.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01095/0.6019, allocations: 5.034 MB / 0.5991 GB, free: 8.352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.6019, allocations: 36 kB / 0.5992 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.804e-05/0.602, allocations: 72.88 kB / 0.5992 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.6033, allocations: 443.2 kB / 0.5997 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002958/0.6062, allocations: 0.8355 MB / 0.6005 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008165/0.6144, allocations: 5.923 MB / 0.6063 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/0.6176, allocations: 184 kB / 0.6064 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006074/0.6182, allocations: 224 kB / 0.6067 GB, free: 376 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * 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 (456): * Single equations (assignments): 450 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002826/0.621, allocations: 1.546 MB / 0.6082 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005066/0.6215, allocations: 230.5 kB / 0.6084 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004445/0.626, allocations: 2.344 MB / 0.6107 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001104/0.6261, allocations: 30.8 kB / 0.6107 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.587e-06/0.6261, allocations: 5.531 kB / 0.6107 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.6261, allocations: 11.91 kB / 0.6107 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.6376, allocations: 6.055 MB / 0.6166 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.6376, allocations: 4.281 kB / 0.6166 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/0.6386, allocations: 223.7 kB / 0.6169 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008503/0.6394, allocations: 295.2 kB / 0.6171 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.6395, allocations: 35.94 kB / 0.6172 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005944/0.6455, allocations: 4.683 MB / 0.6217 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.6455, allocations: 4 kB / 0.6217 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005947/0.6514, allocations: 3.539 MB / 0.6252 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007418/0.6522, allocations: 315.5 kB / 0.6255 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.6524, allocations: 24 kB / 0.6255 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008208/0.6532, allocations: 55.94 kB / 0.6256 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.6535, allocations: 103.7 kB / 0.6257 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.6536, allocations: 48 kB / 0.6257 GB, free: 12.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002675/0.6563, allocations: 1.638 MB / 0.6273 GB, free: 10.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6563, allocations: 0 / 0.6273 GB, free: 10.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003158/0.6594, allocations: 0.6757 MB / 0.628 GB, free: 10.05 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006388/0.6658, allocations: 4.192 MB / 0.6321 GB, free: 5.801 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006731/0.6725, allocations: 3.388 MB / 0.6354 GB, free: 2.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.6725, allocations: 0 / 0.6354 GB, free: 2.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.6748, allocations: 1.253 MB / 0.6366 GB, free: 1.133 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.677, allocations: 385.5 kB / 0.637 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04516/0.7222, allocations: 28.16 MB / 0.6645 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/0.7253, allocations: 2.553 MB / 0.667 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003044/0.7283, allocations: 1.165 MB / 0.6681 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/0.7304, allocations: 1.269 MB / 0.6693 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/0.7304, allocations: 0 / 0.6693 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/0.8335, allocations: 49.2 MB / 0.7174 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.29/18.12, allocations: 3.984 kB / 0.7174 GB, free: 11.95 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.310454259990365] Failed to read output from testmodel.py, exit status != 0: 18.23715401699883 18.445733697 17.823835415 Calling exit ...