Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007318/0.000732, allocations: 99.36 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002073/0.0002074, allocations: 4 kB / 360.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1976, allocations: 51.42 MB / 412 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0004852/0.1981, allocations: 247.9 kB / 412.3 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1997, allocations: 2.1 MB / 414.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.1997, allocations: 4 kB / 414.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004968/0.2047, allocations: 138.7 kB / 414.5 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.2047, allocations: 28.91 kB / 414.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.2049, allocations: 54.86 kB / 414.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.465e-05/0.205, allocations: 39.86 kB / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.205, allocations: 7.984 kB / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.27e-05/0.2051, allocations: 23.86 kB / 414.7 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.2051, allocations: 27.91 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2052, allocations: 4.781 kB / 414.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.382e-05/0.2052, allocations: 12 kB / 414.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.2053, allocations: 51.94 kB / 414.8 MB, free: 23.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.2053, allocations: 42.14 kB / 414.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.2054, allocations: 59.69 kB / 414.9 MB, free: 22.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2055, allocations: 0 / 414.9 MB, free: 22.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2055, allocations: 0 / 414.9 MB, free: 22.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.2055, allocations: 0 / 414.9 MB, free: 22.99 MB / 298.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.0002833/0.2058, allocations: 386.5 kB / 415.2 MB, free: 22.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.2058, allocations: 8.031 kB / 415.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.2058, allocations: 8.844 kB / 415.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.206, allocations: 208.2 kB / 415.5 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.2061, allocations: 4.312 kB / 415.5 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2061, allocations: 12.28 kB / 415.5 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.628e-05/0.2062, allocations: 74.23 kB / 415.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2062, allocations: 0 / 415.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2062, allocations: 4 kB / 415.6 MB, free: 22.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2062, allocations: 3.938 kB / 415.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.531e-05/0.2062, allocations: 3.984 kB / 415.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.2065, allocations: 181.7 kB / 415.7 MB, free: 21.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.517e-05/0.2065, allocations: 18.58 kB / 415.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.2066, allocations: 8.859 kB / 415.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.2066, allocations: 3.938 kB / 415.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.2066, allocations: 68.25 kB / 415.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.2066, allocations: 0 / 415.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001079/0.2067, allocations: 41.7 kB / 415.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.2068, allocations: 158.2 kB / 416 MB, free: 21.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2069, allocations: 170.4 kB / 416.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.2069, allocations: 25.7 kB / 416.2 MB, free: 21.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.2069, allocations: 92.14 kB / 416.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.2069, allocations: 3.906 kB / 416.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.2069, allocations: 0 / 416.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.207, allocations: 322.8 kB / 416.6 MB, free: 20.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.207, allocations: 128 / 416.6 MB, free: 20.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.207, allocations: 52.22 kB / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.2071, allocations: 12.86 kB / 416.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2071, allocations: 0 / 416.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.536e-05/0.2072, allocations: 49.59 kB / 416.7 MB, free: 20.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.2072, allocations: 7.938 kB / 416.8 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2072, allocations: 96 / 416.8 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2072, allocations: 8 kB / 416.8 MB, free: 20.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.2072, allocations: 0 / 416.8 MB, free: 20.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2072, allocations: 3.938 kB / 416.8 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.2073, allocations: 4 kB / 416.8 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.2073, allocations: 0 / 416.8 MB, free: 20.8 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/0.2074, allocations: 134.4 kB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.2074, allocations: 11.84 kB / 416.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.2074, allocations: 15.86 kB / 416.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2074, allocations: 3.938 kB / 416.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2074, allocations: 4 kB / 416.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2074, allocations: 4 kB / 416.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.2076, allocations: 173.7 kB / 417.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2076, allocations: 0 / 417.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.2076, allocations: 0 / 417.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2076, allocations: 3.938 kB / 417.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.2076, allocations: 4 kB / 417.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2076, allocations: 0 / 417.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2076, allocations: 48 / 417.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.118e-05/0.2077, allocations: 81.02 kB / 417.2 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.2078, allocations: 100.8 kB / 417.3 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.2078, allocations: 0 / 417.3 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.405e-05/0.2078, allocations: 7.984 kB / 417.3 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.2079, allocations: 0 / 417.3 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.2079, allocations: 0 / 417.3 MB, free: 20.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.17e-05/0.2079, allocations: 131.2 kB / 417.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2079, allocations: 0 / 417.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.2081, allocations: 20.09 kB / 417.4 MB, free: 20.02 MB / 298.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 (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.00024/0.2084, allocations: 162.3 kB / 417.6 MB, free: 19.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.734e-05/0.2084, allocations: 12 kB / 417.6 MB, free: 19.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2085, allocations: 0 / 417.6 MB, free: 19.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.857e-06/0.2085, allocations: 7.984 kB / 417.6 MB, free: 19.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.2086, allocations: 8 kB / 417.6 MB, free: 19.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.2089, allocations: 272.8 kB / 417.9 MB, free: 19.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.209, allocations: 0.7082 MB / 418.6 MB, free: 18.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.507e-05/0.209, allocations: 15.73 kB / 418.6 MB, free: 18.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.2091, allocations: 15.42 kB / 418.6 MB, free: 18.78 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2091, allocations: 0 / 418.6 MB, free: 18.78 MB / 298.7 MB Notification: Performance of Templates: time 0.002925/0.212, allocations: 1.095 MB / 419.7 MB, free: 17.7 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches