Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.001872/0.001872, allocations: 127 kB / 17.79 MB, free: 5.242 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.002508/0.002508, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.541/1.541, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.92 MB / 357 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003957/0.003957, allocations: 79.88 kB / 0.4909 GB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1698, allocations: 66.05 MB / 0.5554 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001827/0.1717, allocations: 494.3 kB / 0.5559 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.1741, allocations: 1.618 MB / 0.5575 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.1741, allocations: 0 / 0.5575 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.1741, allocations: 0 / 0.5575 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.1741, allocations: 4 kB / 0.5575 GB, free: 3.461 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.1749, allocations: 267.2 kB / 0.5578 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.328e-05/0.175, allocations: 8 kB / 0.5578 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.175, allocations: 0 / 0.5578 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.519e-05/0.175, allocations: 3.984 kB / 0.5578 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.568e-05/0.1751, allocations: 0 / 0.5578 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.719e-06/0.1751, allocations: 0 / 0.5578 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007485/0.1758, allocations: 0.5418 MB / 0.5583 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-06/0.1758, allocations: 0 / 0.5583 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.1758, allocations: 3.938 kB / 0.5583 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.1763, allocations: 319.2 kB / 0.5586 GB, free: 2.328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1763, allocations: 0 / 0.5586 GB, free: 2.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1763, allocations: 0 / 0.5586 GB, free: 2.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1763, allocations: 0 / 0.5586 GB, free: 2.328 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004256/0.1767, allocations: 380.8 kB / 0.559 GB, free: 1.902 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1768, allocations: 8.031 kB / 0.559 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.1768, allocations: 30.75 kB / 0.559 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.1768, allocations: 0.9375 kB / 0.559 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1769, allocations: 168.4 kB / 0.5592 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.177, allocations: 384 / 0.5592 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.177, allocations: 384 / 0.5592 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.083e-05/0.177, allocations: 45.75 kB / 0.5592 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1771, allocations: 0 / 0.5592 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1771, allocations: 4 kB / 0.5592 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1771, allocations: 0 / 0.5592 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.1771, allocations: 0 / 0.5592 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.1772, allocations: 145.6 kB / 0.5594 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.968e-05/0.1773, allocations: 18.61 kB / 0.5594 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.1773, allocations: 4.859 kB / 0.5594 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-06/0.1773, allocations: 3.938 kB / 0.5594 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.755e-05/0.1774, allocations: 80.19 kB / 0.5595 GB, free: 1.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1774, allocations: 0 / 0.5595 GB, free: 1.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001614/0.1775, allocations: 59.41 kB / 0.5595 GB, free: 1.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.1776, allocations: 77.11 kB / 0.5596 GB, free: 1.109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.1776, allocations: 93.81 kB / 0.5597 GB, free: 1.008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1776, allocations: 25.7 kB / 0.5597 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.1777, allocations: 80.14 kB / 0.5598 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.1777, allocations: 0 / 0.5598 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.1777, allocations: 25.83 kB / 0.5598 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1779, allocations: 310.8 kB / 0.5601 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.1779, allocations: 0 / 0.5601 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.1779, allocations: 0 / 0.5601 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.086e-05/0.1779, allocations: 64.2 kB / 0.5602 GB, free: 484 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1779, allocations: 4 kB / 0.5602 GB, free: 480 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.509e-05/0.178, allocations: 67.39 kB / 0.5602 GB, free: 400 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.1781, allocations: 35.36 kB / 0.5603 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1781, allocations: 8.094 kB / 0.5603 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1781, allocations: 0 / 0.5603 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1781, allocations: 0 / 0.5603 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.1781, allocations: 0 / 0.5603 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.1781, allocations: 0 / 0.5603 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1781, allocations: 0 / 0.5603 GB, free: 352 kB / 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.602e-05/0.1782, allocations: 135.5 kB / 0.5604 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.1782, allocations: 7.922 kB / 0.5604 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-06/0.1782, allocations: 3.125 kB / 0.5604 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1782, allocations: 4 kB / 0.5604 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1782, allocations: 0 / 0.5604 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.1782, allocations: 4 kB / 0.5604 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1783, allocations: 145.7 kB / 0.5606 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1783, allocations: 0 / 0.5606 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1783, allocations: 3.938 kB / 0.5606 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1783, allocations: 7.922 kB / 0.5606 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.1784, allocations: 0 / 0.5606 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1784, allocations: 4 kB / 0.5606 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1784, allocations: 0 / 0.5606 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.1785, allocations: 90.78 kB / 0.5607 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.1785, allocations: 89.03 kB / 0.5607 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1785, allocations: 0 / 0.5607 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.1785, allocations: 3.938 kB / 0.5607 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.1785, allocations: 0 / 0.5607 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.1785, allocations: 0 / 0.5607 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.307e-05/0.1786, allocations: 75.28 kB / 0.5608 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1786, allocations: 4 kB / 0.5608 GB, free: 15.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000315/0.1789, allocations: 63.83 kB / 0.5609 GB, free: 15.61 MB / 430.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000808/0.1797, allocations: 0.7255 MB / 0.5616 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.1798, allocations: 55.41 kB / 0.5616 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1798, allocations: 0 / 0.5616 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.1798, allocations: 55.41 kB / 0.5617 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.1799, allocations: 4.125 kB / 0.5617 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.1803, allocations: 138.4 kB / 0.5618 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1806, allocations: 0.6729 MB / 0.5625 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.92e-06/0.1806, allocations: 0 / 0.5625 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.1806, allocations: 7.438 kB / 0.5625 GB, free: 13.84 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1806, allocations: 0 / 0.5625 GB, free: 13.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.2046, allocations: 2.115 MB / 0.5646 GB, free: 11.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.087, allocations: 2.594 kB / 0.5646 GB, free: 11.78 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.245844900025986] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.154959363047965 8.168656153 7.989417949 Calling exit ...