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.001375/0.001376, allocations: 108.3 kB / 16.92 MB, free: 6.145 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.001448/0.001448, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.298/1.298, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9039/0.9039, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 0.4923 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4655, allocations: 80.67 MB / 0.5711 GB, free: 43.79 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002042/0.4676, allocations: 1.467 MB / 0.5725 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002445/0.4679, allocations: 87.5 kB / 0.5726 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.4679, allocations: 0 / 0.5726 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.541e-05/0.468, allocations: 12.92 kB / 0.5726 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.4681, allocations: 68.92 kB / 0.5727 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.4683, allocations: 33.5 kB / 0.5727 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000456/0.4688, allocations: 0.6283 MB / 0.5733 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.4688, allocations: 13.42 kB / 0.5733 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.469, allocations: 242.7 kB / 0.5736 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.4694, allocations: 288.3 kB / 0.5739 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.4694, allocations: 29.66 kB / 0.5739 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.4695, allocations: 29.22 kB / 0.5739 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.4696, allocations: 191 kB / 0.5741 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.4698, allocations: 197.2 kB / 0.5743 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.4701, allocations: 332.1 kB / 0.5746 GB, free: 41.41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4701, allocations: 0 / 0.5746 GB, free: 41.41 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4701, allocations: 0 / 0.5746 GB, free: 41.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.4701, allocations: 0 / 0.5746 GB, free: 41.41 MB / 462.3 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.001946/0.4721, allocations: 0.8511 MB / 0.5754 GB, free: 40.8 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.4721, allocations: 11.36 kB / 0.5754 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.895e-05/0.4722, allocations: 32.19 kB / 0.5755 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.4724, allocations: 261.6 kB / 0.5757 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.4725, allocations: 28.12 kB / 0.5757 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.4726, allocations: 44.25 kB / 0.5758 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.4732, allocations: 450.6 kB / 0.5762 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4732, allocations: 192 / 0.5762 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.4732, allocations: 14.91 kB / 0.5762 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4732, allocations: 7.125 kB / 0.5762 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.4738, allocations: 374.2 kB / 0.5766 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.4762, allocations: 2.166 MB / 0.5787 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007563/0.477, allocations: 471.9 kB / 0.5792 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/0.4774, allocations: 320.4 kB / 0.5795 GB, free: 37.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.4774, allocations: 8.547 kB / 0.5795 GB, free: 37.8 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.4775, allocations: 42.53 kB / 0.5795 GB, free: 37.75 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.452e-06/0.4775, allocations: 3.938 kB / 0.5795 GB, free: 37.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001272/0.4787, allocations: 0.7981 MB / 0.5803 GB, free: 37.38 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.4788, allocations: 56.91 kB / 0.5804 GB, free: 37.32 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.4788, allocations: 138 kB / 0.5805 GB, free: 37.2 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.4789, allocations: 40.23 kB / 0.5805 GB, free: 37.15 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.4789, allocations: 120.7 kB / 0.5806 GB, free: 37.04 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.649e-05/0.479, allocations: 205 kB / 0.5808 GB, free: 36.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.4792, allocations: 110.1 kB / 0.5809 GB, free: 36.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.395e-05/0.4793, allocations: 343.7 kB / 0.5813 GB, free: 36.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.4797, allocations: 280.5 kB / 0.5815 GB, free: 36.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.4801, allocations: 330.2 kB / 0.5818 GB, free: 36.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008514/0.481, allocations: 0.6052 MB / 0.5824 GB, free: 35.89 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.481, allocations: 3.984 kB / 0.5824 GB, free: 35.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001053/0.482, allocations: 0.7317 MB / 0.5832 GB, free: 35.54 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4821, allocations: 7.75 kB / 0.5832 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4821, allocations: 1.438 kB / 0.5832 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4821, allocations: 3.625 kB / 0.5832 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009742/0.4831, allocations: 256.7 kB / 0.5834 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4831, allocations: 3.562 kB / 0.5834 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.4834, allocations: 61.88 kB / 0.5835 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.4835, allocations: 17.03 kB / 0.5835 GB, free: 35.45 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.4836, allocations: 167.4 kB / 0.5837 GB, free: 35.29 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.4837, allocations: 28.08 kB / 0.5837 GB, free: 35.28 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.4838, allocations: 75.5 kB / 0.5838 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4839, allocations: 5.719 kB / 0.5838 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4839, allocations: 0 / 0.5838 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4839, allocations: 5.078 kB / 0.5838 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.4843, allocations: 473.6 kB / 0.5842 GB, free: 34.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4843, allocations: 1.594 kB / 0.5842 GB, free: 34.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.4856, allocations: 260.4 kB / 0.5845 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4856, allocations: 5.219 kB / 0.5845 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.4856, allocations: 21.19 kB / 0.5845 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.4856, allocations: 2.656 kB / 0.5845 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4856, allocations: 0 / 0.5845 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.487, allocations: 1.008 MB / 0.5855 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.487, allocations: 108.2 kB / 0.5856 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.4871, allocations: 24.05 kB / 0.5856 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.4874, allocations: 27.95 kB / 0.5856 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.4875, allocations: 24.41 kB / 0.5857 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.4876, allocations: 19.98 kB / 0.5857 GB, free: 34.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.194e-05/0.4876, allocations: 95.27 kB / 0.5858 GB, free: 33.93 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4876, allocations: 0 / 0.5858 GB, free: 33.93 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003449/0.488, allocations: 151.8 kB / 0.5859 GB, free: 33.78 MB / 462.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 (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.0001004/0.4881, allocations: 131.6 kB / 0.586 GB, free: 33.64 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009441/0.489, allocations: 0.7949 MB / 0.5868 GB, free: 32.85 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.489, allocations: 0 / 0.5868 GB, free: 32.85 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.4894, allocations: 322.2 kB / 0.5871 GB, free: 32.54 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.4898, allocations: 71.94 kB / 0.5872 GB, free: 32.46 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.4922, allocations: 2.269 MB / 0.5894 GB, free: 30.17 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.4924, allocations: 0.7917 MB / 0.5902 GB, free: 29.35 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003841/0.4928, allocations: 178.8 kB / 0.5903 GB, free: 29.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.4929, allocations: 31.44 kB / 0.5904 GB, free: 29.14 MB / 462.3 MB Notification: Performance of SimCode: time 2.11e-07/0.4929, allocations: 0 / 0.5904 GB, free: 29.14 MB / 462.3 MB Notification: Performance of Templates: time 0.006896/0.4998, allocations: 5.417 MB / 0.5957 GB, free: 23.82 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (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) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches