Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 88.27 kB / 16.31 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 187.4 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 241.2 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9304/0.9304, allocations: 120.5 MB / 412.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003638, allocations: 8 kB / 0.4956 GB, free: 9.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1982, allocations: 82.85 MB / 0.5765 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001526/0.1998, allocations: 1.15 MB / 0.5776 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003125/0.2001, allocations: 103.7 kB / 0.5777 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.2002, allocations: 0 / 0.5777 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.2003, allocations: 3.984 kB / 0.5777 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.2004, allocations: 63.7 kB / 0.5777 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.2006, allocations: 27.95 kB / 0.5778 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006377/0.2013, allocations: 0.6354 MB / 0.5784 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.2014, allocations: 11.94 kB / 0.5784 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004859/0.2019, allocations: 239.5 kB / 0.5786 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.2025, allocations: 331.4 kB / 0.5789 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.2026, allocations: 32 kB / 0.579 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.2028, allocations: 28 kB / 0.579 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.203, allocations: 191.6 kB / 0.5792 GB, free: 4.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.2032, allocations: 77.58 kB / 0.5793 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.2035, allocations: 223.7 kB / 0.5795 GB, free: 3.746 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2035, allocations: 4 kB / 0.5795 GB, free: 3.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2035, allocations: 0 / 0.5795 GB, free: 3.742 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.2035, allocations: 0 / 0.5795 GB, free: 3.742 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00211/0.2057, allocations: 0.8371 MB / 0.5803 GB, free: 2.855 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2057, allocations: 8.031 kB / 0.5803 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.2059, allocations: 39.58 kB / 0.5803 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.2063, allocations: 250.7 kB / 0.5806 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.2063, allocations: 28.5 kB / 0.5806 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.2064, allocations: 47.91 kB / 0.5807 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008012/0.2073, allocations: 444.5 kB / 0.5811 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2073, allocations: 0 / 0.5811 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.2073, allocations: 19.94 kB / 0.5811 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2073, allocations: 8 kB / 0.5811 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.208, allocations: 374 kB / 0.5815 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.63/0.838, allocations: 2.169 MB / 0.5836 GB, free: 16.25 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.8393, allocations: 481.8 kB / 0.584 GB, free: 16.21 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/0.8399, allocations: 319.8 kB / 0.5843 GB, free: 16.21 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6e-05/0.8399, allocations: 4.938 kB / 0.5843 GB, free: 16.21 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.84, allocations: 45.92 kB / 0.5844 GB, free: 16.17 MB / 446.3 MB Notification: Performance of pre-optimization done (n=49): time 3.016e-06/0.84, allocations: 0 / 0.5844 GB, free: 16.17 MB / 446.3 MB Notification: Performance of matching and sorting (n=49): time 0.001811/0.8418, allocations: 0.8042 MB / 0.5852 GB, free: 16.12 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.8418, allocations: 61.59 kB / 0.5852 GB, free: 16.05 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.842, allocations: 128.7 kB / 0.5854 GB, free: 15.96 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.842, allocations: 38.77 kB / 0.5854 GB, free: 15.93 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.8421, allocations: 123.4 kB / 0.5855 GB, free: 15.84 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.8423, allocations: 205.8 kB / 0.5857 GB, free: 15.72 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.8424, allocations: 12.84 kB / 0.5857 GB, free: 15.72 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8425, allocations: 340.3 kB / 0.586 GB, free: 15.41 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/0.8431, allocations: 274.5 kB / 0.5863 GB, free: 15.41 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/0.8438, allocations: 332 kB / 0.5866 GB, free: 15.39 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.8444, allocations: 320.7 kB / 0.5869 GB, free: 15.29 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8444, allocations: 3.094 kB / 0.5869 GB, free: 15.29 MB / 446.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001382/0.8458, allocations: 0.7163 MB / 0.5876 GB, free: 15.05 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.8458, allocations: 10.55 kB / 0.5876 GB, free: 15.04 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8459, allocations: 2.156 kB / 0.5876 GB, free: 15.04 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.8459, allocations: 7.5 kB / 0.5877 GB, free: 15.04 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.8471, allocations: 257.4 kB / 0.5879 GB, free: 15.04 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.8471, allocations: 3.672 kB / 0.5879 GB, free: 15.04 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.8475, allocations: 60.08 kB / 0.588 GB, free: 15 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.8476, allocations: 20.42 kB / 0.588 GB, free: 15 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (77): * Single equations (assignments): 77 * 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.000215/0.8478, allocations: 164.1 kB / 0.5881 GB, free: 14.87 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.8479, allocations: 20.52 kB / 0.5882 GB, free: 14.86 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.8481, allocations: 80.97 kB / 0.5882 GB, free: 14.79 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.8482, allocations: 7.922 kB / 0.5882 GB, free: 14.79 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.8482, allocations: 1.906 kB / 0.5882 GB, free: 14.79 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.8482, allocations: 2.438 kB / 0.5882 GB, free: 14.79 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007725/0.849, allocations: 467 kB / 0.5887 GB, free: 14.52 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.849, allocations: 0 / 0.5887 GB, free: 14.52 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.8503, allocations: 263.4 kB / 0.5889 GB, free: 14.51 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.8503, allocations: 1.438 kB / 0.5889 GB, free: 14.51 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.8504, allocations: 26.62 kB / 0.589 GB, free: 14.5 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.8504, allocations: 2.406 kB / 0.589 GB, free: 14.5 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8504, allocations: 0.9062 kB / 0.589 GB, free: 14.5 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.8522, allocations: 0.9995 MB / 0.5899 GB, free: 14.07 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.8523, allocations: 109.8 kB / 0.5901 GB, free: 13.95 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/0.8524, allocations: 16.7 kB / 0.5901 GB, free: 13.95 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.8527, allocations: 37.77 kB / 0.5901 GB, free: 13.93 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.8529, allocations: 34.91 kB / 0.5901 GB, free: 13.93 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.8529, allocations: 13.53 kB / 0.5901 GB, free: 13.92 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.274e-05/0.853, allocations: 103.4 kB / 0.5902 GB, free: 13.84 MB / 446.3 MB Notification: Performance of sort global known variables: time 1e-07/0.853, allocations: 0 / 0.5902 GB, free: 13.84 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0005782/0.8536, allocations: 151.7 kB / 0.5904 GB, free: 13.82 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * 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.0001567/0.8537, allocations: 121.8 kB / 0.5905 GB, free: 13.71 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.8551, allocations: 0.6293 MB / 0.5911 GB, free: 13.55 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8551, allocations: 3.938 kB / 0.5911 GB, free: 13.54 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.8557, allocations: 320.1 kB / 0.5914 GB, free: 13.45 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.8562, allocations: 63.19 kB / 0.5915 GB, free: 13.43 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.8602, allocations: 2.732 MB / 0.5942 GB, free: 11.64 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.8607, allocations: 0.7936 MB / 0.5949 GB, free: 10.95 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0008722/0.8616, allocations: 184.1 kB / 0.5951 GB, free: 10.93 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.8618, allocations: 29 kB / 0.5951 GB, free: 10.92 MB / 446.3 MB Notification: Performance of SimCode: time 1.624e-06/0.8619, allocations: 0 / 0.5951 GB, free: 10.92 MB / 446.3 MB Notification: Performance of Templates: time 0.01241/0.8743, allocations: 4.94 MB / 0.6 GB, free: 9.871 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches