Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002766/0.002773, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.081/3.081, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00172/0.00172, allocations: 98.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006713/0.0006716, allocations: 12 kB / 326.9 MB, free: 15.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1639, allocations: 47.59 MB / 374.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001093/0.1651, allocations: 256.4 kB / 374.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005238/0.1704, allocations: 1.764 MB / 376.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.1705, allocations: 0 / 376.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000986/0.1715, allocations: 83.73 kB / 376.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1717, allocations: 27.91 kB / 376.7 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.1722, allocations: 47.94 kB / 376.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1723, allocations: 27.95 kB / 376.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.1724, allocations: 7.984 kB / 376.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1726, allocations: 27.86 kB / 376.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.1727, allocations: 27.91 kB / 376.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.1728, allocations: 0 / 376.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1729, allocations: 11.94 kB / 376.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.1731, allocations: 51.88 kB / 376.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.1732, allocations: 37.64 kB / 376.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.1735, allocations: 84.09 kB / 377 MB, free: 12.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1735, allocations: 0 / 377 MB, free: 12.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1736, allocations: 4 kB / 377 MB, free: 12.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1736, allocations: 0 / 377 MB, free: 12.98 MB / 282.7 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.001167/0.1748, allocations: 468.3 kB / 377.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.1749, allocations: 8.031 kB / 377.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.175, allocations: 11.91 kB / 377.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.1768, allocations: 375.7 kB / 377.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1769, allocations: 3.953 kB / 377.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.1769, allocations: 0 / 377.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.1772, allocations: 81.91 kB / 377.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1772, allocations: 0 / 377.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.1773, allocations: 0 / 377.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1773, allocations: 0 / 377.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.03e-05/0.1773, allocations: 7.984 kB / 377.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008909/0.1783, allocations: 225.5 kB / 378.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.1784, allocations: 26.52 kB / 378.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.1784, allocations: 3.953 kB / 378.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.1785, allocations: 64.33 kB / 378.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 3.306e-06/0.1786, allocations: 3.938 kB / 378.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003092/0.1789, allocations: 49.5 kB / 378.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.1791, allocations: 158.2 kB / 378.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009225/0.18, allocations: 315.8 kB / 378.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.1801, allocations: 29.7 kB / 378.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1803, allocations: 170.6 kB / 378.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.1804, allocations: 3.938 kB / 378.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.1804, allocations: 0 / 378.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.1806, allocations: 314.8 kB / 379.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.1807, allocations: 8 kB / 379.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.1809, allocations: 44.22 kB / 379.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.1809, allocations: 12 kB / 379.3 MB, free: 10.37 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.181, allocations: 0 / 379.3 MB, free: 10.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.1812, allocations: 41.55 kB / 379.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.1812, allocations: 11.95 kB / 379.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1813, allocations: 0 / 379.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.1813, allocations: 3.984 kB / 379.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.1814, allocations: 0 / 379.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.776e-05/0.1815, allocations: 4.094 kB / 379.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.1818, allocations: 12 kB / 379.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1819, allocations: 0 / 379.4 MB, free: 10.29 MB / 282.7 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002626/0.1821, allocations: 129.8 kB / 379.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.72e-05/0.1822, allocations: 15.81 kB / 379.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.914e-05/0.1823, allocations: 28.45 kB / 379.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1824, allocations: 0 / 379.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1824, allocations: 0 / 379.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1824, allocations: 0 / 379.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.1829, allocations: 197.6 kB / 379.7 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.183, allocations: 4 kB / 379.7 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.183, allocations: 0 / 379.7 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1831, allocations: 0 / 379.7 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1831, allocations: 4 kB / 379.8 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.1831, allocations: 7.953 kB / 379.8 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1832, allocations: 0 / 379.8 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.1835, allocations: 76.88 kB / 379.8 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.1838, allocations: 125.1 kB / 380 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.1839, allocations: 7.938 kB / 380 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.1842, allocations: 8 kB / 380 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.1843, allocations: 3.953 kB / 380 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.1843, allocations: 0 / 380 MB, free: 9.602 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007255/0.185, allocations: 249.4 kB / 380.2 MB, free: 9.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.1851, allocations: 0 / 380.2 MB, free: 9.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006201/0.1857, allocations: 20 kB / 380.2 MB, free: 9.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000813/0.1865, allocations: 174.4 kB / 380.4 MB, free: 9.168 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.1868, allocations: 12 kB / 380.4 MB, free: 9.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.1868, allocations: 4.062 kB / 380.4 MB, free: 9.152 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.157e-05/0.1868, allocations: 11.92 kB / 380.4 MB, free: 9.141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1872, allocations: 15.72 kB / 380.5 MB, free: 9.125 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008412/0.188, allocations: 275.6 kB / 380.7 MB, free: 8.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.1886, allocations: 0.7126 MB / 381.4 MB, free: 8.082 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.1888, allocations: 27.42 kB / 381.5 MB, free: 8.059 MB / 282.7 MB Notification: Performance of SimCode: time 1.643e-06/0.1888, allocations: 0 / 381.5 MB, free: 8.059 MB / 282.7 MB Notification: Performance of Templates: time 0.009879/0.1987, allocations: 2.061 MB / 383.5 MB, free: 6 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","../files/Modelica_3.2.3_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches