Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.001115/0.001115, allocations: 178.7 kB / 18.21 MB, free: 5.68 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.344/1.344, allocations: 223.3 MB / 242.3 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9443/0.9443, allocations: 120.5 MB / 413.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 12 kB / 0.4969 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5314/0.5318, allocations: 82.83 MB / 0.5778 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.00129/0.5331, allocations: 1.171 MB / 0.5789 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000253/0.5334, allocations: 103.3 kB / 0.579 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.5335, allocations: 1.375 kB / 0.579 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.5336, allocations: 13.3 kB / 0.579 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.5337, allocations: 57.52 kB / 0.5791 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.5339, allocations: 30.77 kB / 0.5791 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006482/0.5345, allocations: 0.7062 MB / 0.5798 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.191e-05/0.5346, allocations: 9.484 kB / 0.5798 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.5348, allocations: 198.1 kB / 0.58 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004486/0.5353, allocations: 311.5 kB / 0.5803 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.942e-05/0.5354, allocations: 29.53 kB / 0.5803 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.5355, allocations: 28.56 kB / 0.5804 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.5356, allocations: 191.4 kB / 0.5805 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.5359, allocations: 215.3 kB / 0.5807 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.536, allocations: 232.5 kB / 0.581 GB, free: 40.25 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5361, allocations: 0 / 0.581 GB, free: 40.25 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5361, allocations: 3.188 kB / 0.581 GB, free: 40.25 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.5361, allocations: 3.938 kB / 0.581 GB, free: 40.24 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.002059/0.5381, allocations: 0.8235 MB / 0.5818 GB, free: 39.65 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5382, allocations: 8.812 kB / 0.5818 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.5383, allocations: 39.48 kB / 0.5818 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.5386, allocations: 254.5 kB / 0.5821 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.5387, allocations: 27.47 kB / 0.5821 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.054e-05/0.5388, allocations: 49.31 kB / 0.5821 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007036/0.5395, allocations: 454 kB / 0.5826 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5395, allocations: 192 / 0.5826 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.5395, allocations: 14.47 kB / 0.5826 GB, free: 39.08 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5396, allocations: 7.531 kB / 0.5826 GB, free: 39.08 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/0.5402, allocations: 373.7 kB / 0.5829 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.543, allocations: 2.173 MB / 0.5851 GB, free: 37.05 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.5439, allocations: 485.3 kB / 0.5855 GB, free: 36.81 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.5444, allocations: 326.7 kB / 0.5858 GB, free: 36.66 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.5444, allocations: 5.688 kB / 0.5858 GB, free: 36.66 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.5444, allocations: 45 kB / 0.5859 GB, free: 36.61 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 2.033e-06/0.5445, allocations: 0 / 0.5859 GB, free: 36.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001455/0.5459, allocations: 0.8075 MB / 0.5867 GB, free: 36.23 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.546, allocations: 60.84 kB / 0.5867 GB, free: 36.16 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.5461, allocations: 139.2 kB / 0.5869 GB, free: 36.04 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.5461, allocations: 40.23 kB / 0.5869 GB, free: 35.99 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.5462, allocations: 120.7 kB / 0.587 GB, free: 35.88 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.5463, allocations: 205.1 kB / 0.5872 GB, free: 35.7 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.5464, allocations: 66.45 kB / 0.5873 GB, free: 35.65 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.66e-05/0.5465, allocations: 339.4 kB / 0.5876 GB, free: 35.32 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.5469, allocations: 284.8 kB / 0.5879 GB, free: 35.19 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.5474, allocations: 329.2 kB / 0.5882 GB, free: 34.97 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.5482, allocations: 0.6117 MB / 0.5888 GB, free: 34.36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5482, allocations: 4 kB / 0.5888 GB, free: 34.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009695/0.5492, allocations: 0.7272 MB / 0.5895 GB, free: 33.62 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5492, allocations: 7.938 kB / 0.5895 GB, free: 33.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5492, allocations: 0 / 0.5895 GB, free: 33.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5492, allocations: 4 kB / 0.5895 GB, free: 33.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.5502, allocations: 255.7 kB / 0.5898 GB, free: 33.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5502, allocations: 4 kB / 0.5898 GB, free: 33.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.5507, allocations: 67.53 kB / 0.5898 GB, free: 33.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.5507, allocations: 19.94 kB / 0.5898 GB, free: 33.27 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.0001567/0.5509, allocations: 157.7 kB / 0.59 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.5509, allocations: 27.66 kB / 0.59 GB, free: 33.08 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.5512, allocations: 82.27 kB / 0.5901 GB, free: 33 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5512, allocations: 4 kB / 0.5901 GB, free: 33 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.5512, allocations: 8 kB / 0.5901 GB, free: 32.99 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.5512, allocations: 3.984 kB / 0.5901 GB, free: 32.99 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.5517, allocations: 469.3 kB / 0.5906 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5518, allocations: 4 kB / 0.5906 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.553, allocations: 267.7 kB / 0.5908 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.553, allocations: 0 / 0.5908 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.553, allocations: 19.98 kB / 0.5908 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.553, allocations: 0 / 0.5908 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.553, allocations: 0 / 0.5908 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.5543, allocations: 1.013 MB / 0.5918 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.5544, allocations: 108.7 kB / 0.5919 GB, free: 31.04 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.5545, allocations: 15.98 kB / 0.5919 GB, free: 31.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.5549, allocations: 27.89 kB / 0.592 GB, free: 30.99 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.555, allocations: 24.39 kB / 0.592 GB, free: 30.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.555, allocations: 23.92 kB / 0.592 GB, free: 30.95 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.16e-05/0.555, allocations: 103.3 kB / 0.5921 GB, free: 30.84 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5551, allocations: 0 / 0.5921 GB, free: 30.84 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004047/0.5555, allocations: 147.8 kB / 0.5923 GB, free: 30.7 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.0001237/0.5556, allocations: 127 kB / 0.5924 GB, free: 30.56 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008791/0.5565, allocations: 0.6387 MB / 0.593 GB, free: 29.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5565, allocations: 4.062 kB / 0.593 GB, free: 29.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.5569, allocations: 314.3 kB / 0.5933 GB, free: 29.62 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.5573, allocations: 67.83 kB / 0.5934 GB, free: 29.55 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.5601, allocations: 2.774 MB / 0.5961 GB, free: 26.74 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.5604, allocations: 0.8036 MB / 0.5969 GB, free: 25.91 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.5607, allocations: 31.44 kB / 0.5969 GB, free: 25.88 MB / 462.3 MB Notification: Performance of SimCode: time 5.41e-07/0.5607, allocations: 0 / 0.5969 GB, free: 25.88 MB / 462.3 MB Notification: Performance of Templates: time 0.006545/0.5672, allocations: 5.372 MB / 0.6021 GB, free: 20.53 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches