Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2484/0.2484, allocations: 46.93 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003077/0.003077, allocations: 79.88 kB / 0.4917 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1721, allocations: 66.05 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.002209/0.1743, allocations: 0.522 MB / 0.5567 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005833/0.1749, allocations: 168 kB / 0.5568 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.1749, allocations: 0 / 0.5568 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.1749, allocations: 0 / 0.5568 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.1753, allocations: 35.83 kB / 0.5569 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.819e-06/0.1753, allocations: 0 / 0.5569 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.2e-05/0.1754, allocations: 19.92 kB / 0.5569 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.509e-05/0.1754, allocations: 4 kB / 0.5569 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.1754, allocations: 7.938 kB / 0.5569 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.1755, allocations: 27.84 kB / 0.5569 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1755, allocations: 0 / 0.5569 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.1757, allocations: 47.95 kB / 0.557 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.1757, allocations: 3.984 kB / 0.557 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1758, allocations: 15.88 kB / 0.557 GB, free: 4.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1759, allocations: 47.8 kB / 0.557 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1759, allocations: 0 / 0.557 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1759, allocations: 3.938 kB / 0.557 GB, free: 4.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1759, allocations: 0 / 0.557 GB, free: 4.652 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004671/0.1764, allocations: 347.3 kB / 0.5574 GB, free: 4.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1764, allocations: 11.97 kB / 0.5574 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.907e-05/0.1765, allocations: 30.75 kB / 0.5574 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.1765, allocations: 8.922 kB / 0.5574 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.1767, allocations: 160.4 kB / 0.5576 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1767, allocations: 8.375 kB / 0.5576 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.1767, allocations: 4.375 kB / 0.5576 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1769, allocations: 62.17 kB / 0.5576 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1769, allocations: 3.938 kB / 0.5576 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1769, allocations: 4 kB / 0.5576 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1769, allocations: 8 kB / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1771, allocations: 47.95 kB / 0.5577 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.1774, allocations: 169.6 kB / 0.5579 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1776, allocations: 74.83 kB / 0.5579 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.1776, allocations: 28.8 kB / 0.558 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004983/0.1781, allocations: 255.3 kB / 0.5582 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.1782, allocations: 34.56 kB / 0.5582 GB, free: 3.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.1782, allocations: 4 kB / 0.5582 GB, free: 3.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003384/0.1785, allocations: 105.5 kB / 0.5583 GB, free: 3.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1786, allocations: 51.41 kB / 0.5584 GB, free: 3.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.859e-05/0.1787, allocations: 93.86 kB / 0.5585 GB, free: 2.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1787, allocations: 29.7 kB / 0.5585 GB, free: 2.879 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.1787, allocations: 80.52 kB / 0.5586 GB, free: 2.797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.1788, allocations: 43.75 kB / 0.5586 GB, free: 2.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/0.1789, allocations: 29.64 kB / 0.5586 GB, free: 2.719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.179, allocations: 314.8 kB / 0.5589 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.675e-05/0.1791, allocations: 19.92 kB / 0.559 GB, free: 2.383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.1791, allocations: 20 kB / 0.559 GB, free: 2.363 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1793, allocations: 52.78 kB / 0.559 GB, free: 2.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1793, allocations: 0 / 0.559 GB, free: 2.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002173/0.1795, allocations: 85.58 kB / 0.5591 GB, free: 2.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1795, allocations: 11.94 kB / 0.5591 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1795, allocations: 4 kB / 0.5591 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1795, allocations: 0 / 0.5591 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1797, allocations: 15.98 kB / 0.5591 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1797, allocations: 4 kB / 0.5592 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/0.1797, allocations: 0 / 0.5592 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1797, allocations: 0 / 0.5592 GB, free: 2.184 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.1799, allocations: 113.8 kB / 0.5593 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.1799, allocations: 7.891 kB / 0.5593 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.1802, allocations: 105.6 kB / 0.5594 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1802, allocations: 384 / 0.5594 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1802, allocations: 0 / 0.5594 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.1802, allocations: 11.97 kB / 0.5594 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.1804, allocations: 161.7 kB / 0.5595 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1804, allocations: 3.938 kB / 0.5595 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1805, allocations: 27.92 kB / 0.5596 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1805, allocations: 3.938 kB / 0.5596 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1805, allocations: 4 kB / 0.5596 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1805, allocations: 0 / 0.5596 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1805, allocations: 0 / 0.5596 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1807, allocations: 113 kB / 0.5597 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/0.1808, allocations: 89.03 kB / 0.5598 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1808, allocations: 3.938 kB / 0.5598 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.1809, allocations: 4 kB / 0.5598 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.1809, allocations: 4 kB / 0.5598 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.1809, allocations: 0 / 0.5598 GB, free: 1.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.1809, allocations: 83.28 kB / 0.5599 GB, free: 1.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1809, allocations: 0 / 0.5599 GB, free: 1.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003669/0.1813, allocations: 19.98 kB / 0.5599 GB, free: 1.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006804/0.182, allocations: 0.6591 MB / 0.5605 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1822, allocations: 51.92 kB / 0.5606 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.1822, allocations: 4.094 kB / 0.5606 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.1823, allocations: 32.3 kB / 0.5606 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1825, allocations: 4.188 kB / 0.5606 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006195/0.1831, allocations: 174.6 kB / 0.5608 GB, free: 360 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.1835, allocations: 0.6807 MB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.567e-05/0.1836, allocations: 11.77 kB / 0.5615 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.1836, allocations: 15.44 kB / 0.5615 GB, free: 15.62 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1836, allocations: 0 / 0.5615 GB, free: 15.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.2044, allocations: 1.578 MB / 0.563 GB, free: 14.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.132, allocations: 7.938 kB / 0.563 GB, free: 14.14 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.399522243998945] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'sqrtx', 'sqrtx_a', 'x2', 'x2_a', 'x3', 'x3_a', 'sqrtxerr', 'x2err', 'x3err'] 8.200876078102738 8.223761159 8.043421368 Calling exit ...