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.001256/0.001256, allocations: 100.7 kB / 16.5 MB, free: 6.641 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.001302/0.001302, allocations: 197.8 kB / 17.43 MB, free: 6.062 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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9202/0.9202, allocations: 119.3 MB / 410.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 60.09 kB / 0.4916 GB, free: 12.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.4987, allocations: 80.69 MB / 0.5704 GB, free: 43.57 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002291/0.501, allocations: 1.515 MB / 0.5719 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000281/0.5013, allocations: 94.97 kB / 0.5719 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.5014, allocations: 0 / 0.5719 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.5015, allocations: 17.3 kB / 0.572 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.5017, allocations: 61.45 kB / 0.572 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.5019, allocations: 26.83 kB / 0.572 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.5025, allocations: 0.7715 MB / 0.5728 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.113e-05/0.5025, allocations: 5.844 kB / 0.5728 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.5028, allocations: 241.5 kB / 0.573 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004012/0.5032, allocations: 312.8 kB / 0.5733 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.419e-05/0.5033, allocations: 38.25 kB / 0.5734 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.392e-05/0.5034, allocations: 28.47 kB / 0.5734 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.5036, allocations: 187.2 kB / 0.5736 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.5038, allocations: 193.9 kB / 0.5738 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.5041, allocations: 333 kB / 0.5741 GB, free: 41.1 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5041, allocations: 3.938 kB / 0.5741 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5041, allocations: 0 / 0.5741 GB, free: 41.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.5042, allocations: 0 / 0.5741 GB, free: 41.09 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.002288/0.5064, allocations: 0.8536 MB / 0.5749 GB, free: 40.47 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5065, allocations: 9.531 kB / 0.5749 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.5066, allocations: 31.84 kB / 0.575 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.507, allocations: 253.9 kB / 0.5752 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.507, allocations: 31.53 kB / 0.5752 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.5071, allocations: 56.17 kB / 0.5753 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007798/0.5079, allocations: 445.2 kB / 0.5757 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5079, allocations: 192 / 0.5757 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.508, allocations: 14 kB / 0.5757 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.508, allocations: 7.594 kB / 0.5757 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.5086, allocations: 373.7 kB / 0.5761 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.5114, allocations: 2.162 MB / 0.5782 GB, free: 37.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008544/0.5123, allocations: 481.4 kB / 0.5786 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.5128, allocations: 322.3 kB / 0.579 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.635e-05/0.5129, allocations: 5.969 kB / 0.579 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.5129, allocations: 36.78 kB / 0.579 GB, free: 37.43 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.874e-06/0.5129, allocations: 0 / 0.579 GB, free: 37.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001514/0.5144, allocations: 0.8107 MB / 0.5798 GB, free: 37.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.5145, allocations: 56.44 kB / 0.5798 GB, free: 36.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/0.5146, allocations: 131 kB / 0.58 GB, free: 36.87 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.5146, allocations: 36.52 kB / 0.58 GB, free: 36.83 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.5147, allocations: 116.6 kB / 0.5801 GB, free: 36.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.5148, allocations: 205 kB / 0.5803 GB, free: 36.54 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.515, allocations: 115 kB / 0.5804 GB, free: 36.47 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.5151, allocations: 347.6 kB / 0.5808 GB, free: 36.13 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.5155, allocations: 275.9 kB / 0.581 GB, free: 36.01 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.516, allocations: 331 kB / 0.5813 GB, free: 35.85 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009108/0.5169, allocations: 0.6089 MB / 0.5819 GB, free: 35.57 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5169, allocations: 0 / 0.5819 GB, free: 35.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001109/0.518, allocations: 0.7277 MB / 0.5826 GB, free: 35.23 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.5181, allocations: 5.531 kB / 0.5826 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5181, allocations: 0 / 0.5826 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.5181, allocations: 3.688 kB / 0.5826 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.5193, allocations: 256.8 kB / 0.5829 GB, free: 35.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.5193, allocations: 7.156 kB / 0.5829 GB, free: 35.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.5197, allocations: 61.09 kB / 0.583 GB, free: 35.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.5198, allocations: 21.5 kB / 0.583 GB, free: 35.12 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.0001635/0.5199, allocations: 166.7 kB / 0.5831 GB, free: 34.97 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.52, allocations: 24.12 kB / 0.5832 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.5202, allocations: 76.5 kB / 0.5832 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.5202, allocations: 4.438 kB / 0.5832 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.5202, allocations: 1.062 kB / 0.5832 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.5202, allocations: 7.969 kB / 0.5832 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.5207, allocations: 474.2 kB / 0.5837 GB, free: 34.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5207, allocations: 8 kB / 0.5837 GB, free: 34.51 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.5221, allocations: 265 kB / 0.584 GB, free: 34.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5221, allocations: 2.406 kB / 0.584 GB, free: 34.45 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.5222, allocations: 21.61 kB / 0.584 GB, free: 34.44 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5222, allocations: 2.031 kB / 0.584 GB, free: 34.44 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5222, allocations: 0 / 0.584 GB, free: 34.44 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.5236, allocations: 1.004 MB / 0.585 GB, free: 33.91 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.5237, allocations: 108.1 kB / 0.5851 GB, free: 33.79 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.5238, allocations: 16.52 kB / 0.5851 GB, free: 33.78 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.5242, allocations: 31 kB / 0.5851 GB, free: 33.76 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5243, allocations: 31.05 kB / 0.5851 GB, free: 33.75 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.5243, allocations: 8.375 kB / 0.5851 GB, free: 33.75 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.327e-05/0.5244, allocations: 100.5 kB / 0.5852 GB, free: 33.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5244, allocations: 1.156 kB / 0.5852 GB, free: 33.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004478/0.5248, allocations: 154.7 kB / 0.5854 GB, free: 33.64 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.0001217/0.525, allocations: 125.8 kB / 0.5855 GB, free: 33.52 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009549/0.5259, allocations: 0.6329 MB / 0.5861 GB, free: 33.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5259, allocations: 0 / 0.5861 GB, free: 33.2 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.5263, allocations: 322.3 kB / 0.5864 GB, free: 32.88 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.5268, allocations: 79.81 kB / 0.5865 GB, free: 32.8 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.5294, allocations: 2.38 MB / 0.5888 GB, free: 30.39 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.5296, allocations: 0.7959 MB / 0.5896 GB, free: 29.57 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004517/0.53, allocations: 186.8 kB / 0.5898 GB, free: 29.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.5302, allocations: 27.44 kB / 0.5898 GB, free: 29.36 MB / 462.3 MB Notification: Performance of SimCode: time 6.41e-07/0.5302, allocations: 0 / 0.5898 GB, free: 29.36 MB / 462.3 MB Notification: Performance of Templates: time 0.007239/0.5375, allocations: 5.183 MB / 0.5949 GB, free: 24.26 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/jenkins/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