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.001502/0.001503, allocations: 179.3 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007235/0.0007235, allocations: 95.78 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.0002668, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1954, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0005528/0.196, allocations: 251.1 kB / 374.8 MB, free: 45.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1977, allocations: 1.771 MB / 376.6 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.1977, allocations: 0.9375 kB / 376.6 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.1983, allocations: 97.28 kB / 376.6 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.968e-05/0.1983, allocations: 28.81 kB / 376.7 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.1985, allocations: 41.92 kB / 376.7 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.235e-05/0.1986, allocations: 40.73 kB / 376.8 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.1986, allocations: 10.27 kB / 376.8 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.1987, allocations: 20.97 kB / 376.8 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1988, allocations: 42.05 kB / 376.8 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1988, allocations: 1.219 kB / 376.8 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.582e-05/0.1989, allocations: 10.38 kB / 376.8 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.199, allocations: 55.53 kB / 376.9 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.199, allocations: 33.08 kB / 376.9 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.444e-05/0.1991, allocations: 39.22 kB / 377 MB, free: 43.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1991, allocations: 0 / 377 MB, free: 43.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1991, allocations: 0 / 377 MB, free: 43.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.1991, allocations: 0 / 377 MB, free: 43.59 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.0002856/0.1994, allocations: 392.6 kB / 377.3 MB, free: 43.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1994, allocations: 9.188 kB / 377.4 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.1995, allocations: 8.344 kB / 377.4 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1998, allocations: 317.8 kB / 377.7 MB, free: 42.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1998, allocations: 5.078 kB / 377.7 MB, free: 42.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.1999, allocations: 0 / 377.7 MB, free: 42.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.782e-05/0.2, allocations: 73.23 kB / 377.8 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.2, allocations: 0 / 377.8 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2, allocations: 5.078 kB / 377.8 MB, free: 42.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2, allocations: 1.25 kB / 377.8 MB, free: 42.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.549e-05/0.2, allocations: 2.156 kB / 377.8 MB, free: 42.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.2003, allocations: 178.4 kB / 377.9 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.875e-05/0.2003, allocations: 25.78 kB / 378 MB, free: 42.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.2003, allocations: 18.97 kB / 378 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.2003, allocations: 0 / 378 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.2004, allocations: 57.48 kB / 378 MB, free: 42.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.2004, allocations: 1 kB / 378 MB, free: 42.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001111/0.2005, allocations: 44.84 kB / 378.1 MB, free: 42.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.2005, allocations: 155.5 kB / 378.2 MB, free: 42.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.2007, allocations: 164.8 kB / 378.4 MB, free: 42.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.2007, allocations: 34.89 kB / 378.4 MB, free: 42.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.2007, allocations: 91.64 kB / 378.5 MB, free: 41.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.2007, allocations: 5.359 kB / 378.5 MB, free: 41.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.2008, allocations: 0 / 378.5 MB, free: 41.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.325e-05/0.2008, allocations: 317.2 kB / 378.8 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.2008, allocations: 2.688 kB / 378.8 MB, free: 41.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.808e-05/0.2009, allocations: 42.56 kB / 378.9 MB, free: 41.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.2009, allocations: 12.55 kB / 378.9 MB, free: 41.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2009, allocations: 0 / 378.9 MB, free: 41.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.197e-05/0.201, allocations: 54.83 kB / 378.9 MB, free: 41.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.201, allocations: 4.594 kB / 378.9 MB, free: 41.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.201, allocations: 0 / 378.9 MB, free: 41.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.201, allocations: 1.062 kB / 378.9 MB, free: 41.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.639e-05/0.201, allocations: 6.969 kB / 379 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.201, allocations: 0 / 379 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.2011, allocations: 7.094 kB / 379 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.2011, allocations: 4 kB / 379 MB, free: 41.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/0.2012, allocations: 129.3 kB / 379.1 MB, free: 41.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.2012, allocations: 11.92 kB / 379.1 MB, free: 41.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.2013, allocations: 14.88 kB / 379.1 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2013, allocations: 0 / 379.1 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2013, allocations: 0 / 379.1 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2013, allocations: 1.25 kB / 379.1 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.2014, allocations: 172.6 kB / 379.3 MB, free: 41.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2014, allocations: 4 kB / 379.3 MB, free: 41.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.2015, allocations: 1.531 kB / 379.3 MB, free: 41.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2015, allocations: 0 / 379.3 MB, free: 41.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.2015, allocations: 9.203 kB / 379.3 MB, free: 41.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2015, allocations: 0 / 379.3 MB, free: 41.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2015, allocations: 0 / 379.3 MB, free: 41.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.12e-05/0.2016, allocations: 76.12 kB / 379.4 MB, free: 41.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.2016, allocations: 98.81 kB / 379.5 MB, free: 40.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.2017, allocations: 6.609 kB / 379.5 MB, free: 40.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.053e-05/0.2017, allocations: 9.328 kB / 379.5 MB, free: 40.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.2017, allocations: 1.344 kB / 379.5 MB, free: 40.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.2018, allocations: 0 / 379.5 MB, free: 40.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.865e-05/0.2018, allocations: 129.8 kB / 379.6 MB, free: 40.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2018, allocations: 0 / 379.6 MB, free: 40.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.202, allocations: 16.28 kB / 379.6 MB, free: 40.88 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 (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.0002941/0.2023, allocations: 169.2 kB / 379.8 MB, free: 40.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.697e-05/0.2024, allocations: 12.5 kB / 379.8 MB, free: 40.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2024, allocations: 4.969 kB / 379.8 MB, free: 40.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.2024, allocations: 11.17 kB / 379.8 MB, free: 40.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.2026, allocations: 8.438 kB / 379.8 MB, free: 40.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.2028, allocations: 190.3 kB / 380 MB, free: 40.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.203, allocations: 0.6926 MB / 380.7 MB, free: 39.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.203, allocations: 12.78 kB / 380.7 MB, free: 39.85 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.203, allocations: 0 / 380.7 MB, free: 39.85 MB / 298.7 MB Notification: Performance of Templates: time 0.002578/0.2056, allocations: 1.461 MB / 382.2 MB, free: 39.1 MB / 298.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/jenkins/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