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.001998/0.001998, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002609/0.002609, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.973 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.06178/0.06178, allocations: 9.237 MB / 321.7 MB, free: 10.04 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.003329/0.003329, allocations: 71.88 kB / 447.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1511, allocations: 55.47 MB / 0.4914 GB, free: 7.488 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01321/0.1643, allocations: 8.862 MB / 0.5001 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007006/0.1713, allocations: 2.809 MB / 0.5028 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.1726, allocations: 35.88 kB / 0.5029 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.1737, allocations: 385.4 kB / 0.5032 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00409/0.1778, allocations: 1.44 MB / 0.5046 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/0.1785, allocations: 191.6 kB / 0.5048 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003781/0.1822, allocations: 2.524 MB / 0.5073 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.1834, allocations: 0.7299 MB / 0.508 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.1849, allocations: 0.9338 MB / 0.5089 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.1869, allocations: 1.448 MB / 0.5103 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004202/0.1874, allocations: 236 kB / 0.5105 GB, free: 3.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.1892, allocations: 0.94 MB / 0.5115 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.1905, allocations: 1.227 MB / 0.5127 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.1923, allocations: 1.557 MB / 0.5142 GB, free: 72 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.258/0.4503, allocations: 5.069 MB / 0.5191 GB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4503, allocations: 0 / 0.5191 GB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4503, allocations: 0 / 0.5191 GB, free: 11.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001315/0.4504, allocations: 0.5312 kB / 0.5191 GB, free: 11.8 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.01868/0.4691, allocations: 5.099 MB / 0.5241 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.4692, allocations: 12.91 kB / 0.5241 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001134/0.4703, allocations: 0.5387 MB / 0.5246 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007186/0.4775, allocations: 1.799 MB / 0.5264 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/0.4813, allocations: 1.388 MB / 0.5278 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.4815, allocations: 148.1 kB / 0.5279 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000748/0.4822, allocations: 193.3 kB / 0.5281 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.4996, allocations: 8.477 MB / 0.5364 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.647e-05/0.4997, allocations: 26.95 kB / 0.5364 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/0.5, allocations: 94.22 kB / 0.5365 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003212/0.5032, allocations: 1.877 MB / 0.5383 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/0.5207, allocations: 8.158 MB / 0.5463 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04744/0.5681, allocations: 25.87 MB / 0.5715 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.5784, allocations: 2.318 MB / 0.5738 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.5805, allocations: 1.021 MB / 0.5748 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007659/0.5881, allocations: 3.162 MB / 0.5779 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.5882, allocations: 52.84 kB / 0.5779 GB, free: 4.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 5.199e-06/0.5882, allocations: 0 / 0.5779 GB, free: 4.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=175): time 0.02063/0.6088, allocations: 8.175 MB / 0.5859 GB, free: 12.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.6089, allocations: 64.72 kB / 0.586 GB, free: 12.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/0.6132, allocations: 2.65 MB / 0.5886 GB, free: 9.695 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002417/0.6135, allocations: 53.7 kB / 0.5886 GB, free: 9.637 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/0.6152, allocations: 2.145 MB / 0.5907 GB, free: 7.496 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008745/0.6161, allocations: 0.6681 MB / 0.5914 GB, free: 6.836 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/0.6173, allocations: 0.821 MB / 0.5922 GB, free: 6.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6175, allocations: 305.1 kB / 0.5925 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/0.6199, allocations: 1.374 MB / 0.5938 GB, free: 4.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004496/0.6244, allocations: 3.546 MB / 0.5973 GB, free: 15.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008266/0.6327, allocations: 5.321 MB / 0.6025 GB, free: 9.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.918e-05/0.6327, allocations: 23.75 kB / 0.6025 GB, free: 9.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01152/0.6443, allocations: 5.131 MB / 0.6075 GB, free: 4.766 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/0.6443, allocations: 38.81 kB / 0.6075 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.977e-05/0.6444, allocations: 76 kB / 0.6076 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008908/0.6453, allocations: 326.1 kB / 0.6079 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/0.6487, allocations: 0.9046 MB / 0.6088 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004565/0.6533, allocations: 3.188 MB / 0.6119 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003583/0.6569, allocations: 198.5 kB / 0.6121 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006147/0.6575, allocations: 235.9 kB / 0.6123 GB, free: 15.71 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.003316/0.6608, allocations: 1.579 MB / 0.6139 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004753/0.6613, allocations: 242.4 kB / 0.6141 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/0.6658, allocations: 2.363 MB / 0.6164 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001121/0.666, allocations: 39.92 kB / 0.6165 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.666, allocations: 4 kB / 0.6165 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.666, allocations: 8.031 kB / 0.6165 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.6794, allocations: 6.216 MB / 0.6225 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.6794, allocations: 4.609 kB / 0.6225 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.6805, allocations: 260 kB / 0.6228 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006759/0.6812, allocations: 212.3 kB / 0.623 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.6813, allocations: 42.27 kB / 0.623 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003731/0.6851, allocations: 2.762 MB / 0.6257 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/0.6851, allocations: 7.938 kB / 0.6257 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006306/0.6914, allocations: 3.619 MB / 0.6293 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008103/0.6922, allocations: 238.4 kB / 0.6295 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/0.6925, allocations: 31.98 kB / 0.6295 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008906/0.6934, allocations: 71.05 kB / 0.6296 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.6937, allocations: 116.9 kB / 0.6297 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.6938, allocations: 48.64 kB / 0.6298 GB, free: 13.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003305/0.6971, allocations: 1.704 MB / 0.6314 GB, free: 11.87 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6971, allocations: 0 / 0.6314 GB, free: 11.87 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00432/0.7014, allocations: 0.7021 MB / 0.6321 GB, free: 11.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.006853/0.7083, allocations: 4.284 MB / 0.6363 GB, free: 6.824 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006634/0.7149, allocations: 3.299 MB / 0.6395 GB, free: 3.527 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.7149, allocations: 0 / 0.6395 GB, free: 3.527 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.7169, allocations: 1.102 MB / 0.6406 GB, free: 2.406 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.7192, allocations: 399 kB / 0.641 GB, free: 2.031 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05518/0.7743, allocations: 29.1 MB / 0.6694 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003909/0.7782, allocations: 2.594 MB / 0.6719 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003444/0.7817, allocations: 1.232 MB / 0.6731 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002285/0.784, allocations: 1.339 MB / 0.6744 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of SimCode: time 2.194e-06/0.784, allocations: 4 kB / 0.6744 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.39/1.174, allocations: 53.62 MB / 0.7268 GB, free: 185 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.54/23.72, allocations: 11.91 kB / 0.7268 GB, free: 185 MB / 0.545 GB " [Timeout remaining time 636] (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: 26.808253077997506] Failed to read output from testmodel.py, exit status != 0: 23.865653802000452 23.886226467 23.431756236 Calling exit ...