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.001348/0.001348, 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.001559/0.001559, allocations: 216 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.436/1.436, allocations: 230.6 MB / 256 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.04849/0.04849, allocations: 9.248 MB / 321.7 MB, free: 9.863 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.002029/0.002029, allocations: 71.89 kB / 447.7 MB, free: 14.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1112, allocations: 55.47 MB / 0.4913 GB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.009861/0.1211, allocations: 7.515 MB / 0.4987 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005172/0.1263, allocations: 2.5 MB / 0.5011 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007844/0.127, allocations: 39.88 kB / 0.5012 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008046/0.1279, allocations: 365.5 kB / 0.5015 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.1307, allocations: 1.311 MB / 0.5028 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.1311, allocations: 119.8 kB / 0.5029 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.1338, allocations: 2.42 MB / 0.5053 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009446/0.1348, allocations: 0.6902 MB / 0.5059 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.1359, allocations: 0.8989 MB / 0.5068 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.1375, allocations: 1.323 MB / 0.5081 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.1379, allocations: 224 kB / 0.5083 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.1391, allocations: 0.667 MB / 0.509 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.1402, allocations: 1.192 MB / 0.5101 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.1414, allocations: 1.056 MB / 0.5112 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2033/0.3447, allocations: 4.853 MB / 0.5159 GB, free: 12.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3447, allocations: 0 / 0.5159 GB, free: 12.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3447, allocations: 2.281 kB / 0.5159 GB, free: 12.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001096/0.3448, allocations: 0 / 0.5159 GB, free: 12.13 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.01554/0.3603, allocations: 4.833 MB / 0.5206 GB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3604, allocations: 9.469 kB / 0.5206 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000717/0.3611, allocations: 0.5268 MB / 0.5211 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006839/0.3679, allocations: 1.79 MB / 0.5229 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.3713, allocations: 1.347 MB / 0.5242 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.3715, allocations: 146.5 kB / 0.5244 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007985/0.3723, allocations: 193 kB / 0.5245 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01425/0.3865, allocations: 8.151 MB / 0.5325 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.4e-05/0.3866, allocations: 18.69 kB / 0.5325 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003132/0.3869, allocations: 91.45 kB / 0.5326 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002764/0.3897, allocations: 1.834 MB / 0.5344 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.406, allocations: 7.787 MB / 0.542 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03502/0.441, allocations: 23.27 MB / 0.5647 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008913/0.4499, allocations: 2.129 MB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/0.4515, allocations: 0.9425 MB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005627/0.4571, allocations: 2.58 MB / 0.5702 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.4571, allocations: 43.56 kB / 0.5703 GB, free: 11.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=142): time 4.418e-06/0.4572, allocations: 0 / 0.5703 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.01678/0.4739, allocations: 7.583 MB / 0.5777 GB, free: 4.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.474, allocations: 67.34 kB / 0.5777 GB, free: 3.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.478, allocations: 2.653 MB / 0.5803 GB, free: 1.285 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.4782, allocations: 45.7 kB / 0.5804 GB, free: 1.234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.4797, allocations: 2.081 MB / 0.5824 GB, free: 15.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006058/0.4803, allocations: 0.6397 MB / 0.583 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.4814, allocations: 0.7786 MB / 0.5838 GB, free: 13.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4815, allocations: 301.1 kB / 0.5841 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.4837, allocations: 1.335 MB / 0.5854 GB, free: 12.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004095/0.4878, allocations: 3.393 MB / 0.5887 GB, free: 7.754 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006545/0.4943, allocations: 5.104 MB / 0.5937 GB, free: 1.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.643e-05/0.4944, allocations: 20 kB / 0.5937 GB, free: 1.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009136/0.5035, allocations: 5.036 MB / 0.5986 GB, free: 13.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.016e-05/0.5036, allocations: 42.91 kB / 0.5987 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-05/0.5037, allocations: 68.56 kB / 0.5987 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.5049, allocations: 429.4 kB / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/0.5077, allocations: 0.8383 MB / 0.6 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007753/0.5155, allocations: 5.674 MB / 0.6055 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/0.5183, allocations: 177.5 kB / 0.6057 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004712/0.5187, allocations: 228 kB / 0.6059 GB, free: 5.473 MB / 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.002689/0.5214, allocations: 1.548 MB / 0.6074 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.5218, allocations: 230.5 kB / 0.6076 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.526, allocations: 2.342 MB / 0.6099 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/0.5262, allocations: 39.03 kB / 0.6099 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5262, allocations: 4 kB / 0.6099 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.5262, allocations: 11.91 kB / 0.61 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.5368, allocations: 5.668 MB / 0.6155 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5368, allocations: 4 kB / 0.6155 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009109/0.5377, allocations: 223.7 kB / 0.6157 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008127/0.5385, allocations: 287.2 kB / 0.616 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-05/0.5386, allocations: 28.28 kB / 0.616 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005297/0.5439, allocations: 4.446 MB / 0.6204 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5439, allocations: 8.172 kB / 0.6204 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005758/0.5497, allocations: 3.539 MB / 0.6238 GB, free: 2.754 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007028/0.5504, allocations: 226.5 kB / 0.624 GB, free: 2.531 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.5507, allocations: 35.98 kB / 0.6241 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/0.5515, allocations: 59.94 kB / 0.6241 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/0.5517, allocations: 103.8 kB / 0.6242 GB, free: 2.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.5519, allocations: 51.98 kB / 0.6243 GB, free: 2.285 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002597/0.5544, allocations: 1.638 MB / 0.6259 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5544, allocations: 0 / 0.6259 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002722/0.5572, allocations: 0.6758 MB / 0.6265 GB, free: 15.95 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.006033/0.5632, allocations: 4.187 MB / 0.6306 GB, free: 11.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006086/0.5693, allocations: 3.395 MB / 0.6339 GB, free: 8.309 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.5693, allocations: 0 / 0.6339 GB, free: 8.309 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.5714, allocations: 1.258 MB / 0.6352 GB, free: 7.027 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.5733, allocations: 379.8 kB / 0.6355 GB, free: 6.668 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04542/0.6187, allocations: 28.22 MB / 0.6631 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/0.6215, allocations: 1.988 MB / 0.665 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002832/0.6243, allocations: 1.172 MB / 0.6662 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/0.6262, allocations: 1.261 MB / 0.6674 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.6262, allocations: 0 / 0.6674 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/0.7328, allocations: 49.91 MB / 0.7161 GB, free: 1.859 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.21, allocations: 10.95 kB / 0.7162 GB, free: 1.852 MB / 0.545 GB " [Timeout remaining time 645] (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: 18.175523575861007] Failed to read output from testmodel.py, exit status != 0: 15.347514570690691 15.563698035 15.21612936 Calling exit ...