Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001236/0.001236, allocations: 113.2 kB / 17.69 MB, free: 5.309 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.001364/0.001364, allocations: 191 kB / 18.63 MB, free: 4.375 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.273/1.273, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7953/0.7953, allocations: 119.3 MB / 411.8 MB, free: 9.543 MB / 334.2 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.91 kB / 0.4937 GB, free: 11.65 MB / 430.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3999, allocations: 80.68 MB / 0.5725 GB, free: 44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002083/0.402, allocations: 1.46 MB / 0.574 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002433/0.4023, allocations: 98.47 kB / 0.574 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.4023, allocations: 0 / 0.574 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.61e-05/0.4024, allocations: 13.27 kB / 0.5741 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.4025, allocations: 63.94 kB / 0.5741 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.4027, allocations: 33.25 kB / 0.5741 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.4032, allocations: 0.636 MB / 0.5748 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.4032, allocations: 4.938 kB / 0.5748 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.4034, allocations: 243 kB / 0.575 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.4038, allocations: 292.4 kB / 0.5753 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.4038, allocations: 29.16 kB / 0.5753 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.4039, allocations: 30.22 kB / 0.5753 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.404, allocations: 182.2 kB / 0.5755 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.4042, allocations: 198 kB / 0.5757 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.4045, allocations: 333.5 kB / 0.576 GB, free: 41.64 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4045, allocations: 3.984 kB / 0.576 GB, free: 41.64 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4045, allocations: 1.031 kB / 0.576 GB, free: 41.64 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4045, allocations: 0 / 0.576 GB, free: 41.64 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.001956/0.4065, allocations: 0.8452 MB / 0.5769 GB, free: 41.02 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.4065, allocations: 13.48 kB / 0.5769 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.843e-05/0.4066, allocations: 35.84 kB / 0.5769 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.4069, allocations: 261.4 kB / 0.5772 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.407, allocations: 28.06 kB / 0.5772 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.089e-05/0.407, allocations: 47.78 kB / 0.5772 GB, free: 40.72 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.4077, allocations: 451 kB / 0.5777 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.4077, allocations: 192 / 0.5777 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.4077, allocations: 18.72 kB / 0.5777 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.4077, allocations: 6.5 kB / 0.5777 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/0.4083, allocations: 374 kB / 0.578 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.4109, allocations: 2.155 MB / 0.5801 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/0.4116, allocations: 483.9 kB / 0.5806 GB, free: 38.17 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.4121, allocations: 318.2 kB / 0.5809 GB, free: 38.02 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.737e-05/0.4121, allocations: 9.469 kB / 0.5809 GB, free: 38.02 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.4122, allocations: 37.47 kB / 0.5809 GB, free: 37.97 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.884e-06/0.4122, allocations: 0 / 0.5809 GB, free: 37.97 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001285/0.4135, allocations: 0.8103 MB / 0.5817 GB, free: 37.59 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.4135, allocations: 56.88 kB / 0.5818 GB, free: 37.53 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.048e-05/0.4136, allocations: 135.2 kB / 0.5819 GB, free: 37.41 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.4136, allocations: 36.23 kB / 0.582 GB, free: 37.37 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.4137, allocations: 120.7 kB / 0.5821 GB, free: 37.25 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.176e-05/0.4138, allocations: 201.1 kB / 0.5823 GB, free: 37.07 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.4139, allocations: 118 kB / 0.5824 GB, free: 37 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.414, allocations: 344.6 kB / 0.5827 GB, free: 36.67 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.4144, allocations: 275.3 kB / 0.583 GB, free: 36.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.4148, allocations: 335 kB / 0.5833 GB, free: 36.39 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008235/0.4157, allocations: 0.6048 MB / 0.5839 GB, free: 36.1 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4157, allocations: 0 / 0.5839 GB, free: 36.1 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001033/0.4167, allocations: 0.7362 MB / 0.5846 GB, free: 35.75 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4167, allocations: 7 kB / 0.5846 GB, free: 35.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4168, allocations: 0.9688 kB / 0.5846 GB, free: 35.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4168, allocations: 3.312 kB / 0.5846 GB, free: 35.75 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.4178, allocations: 257.5 kB / 0.5849 GB, free: 35.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.4178, allocations: 3.125 kB / 0.5849 GB, free: 35.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.4182, allocations: 54.53 kB / 0.5849 GB, free: 35.67 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.4183, allocations: 21.38 kB / 0.5849 GB, free: 35.66 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.0001473/0.4185, allocations: 167.3 kB / 0.5851 GB, free: 35.51 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.4185, allocations: 23.5 kB / 0.5851 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.4187, allocations: 76.41 kB / 0.5852 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4187, allocations: 4.344 kB / 0.5852 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.4187, allocations: 5.078 kB / 0.5852 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4188, allocations: 0 / 0.5852 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.4192, allocations: 470 kB / 0.5856 GB, free: 35.06 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4192, allocations: 1.25 kB / 0.5856 GB, free: 35.06 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.4206, allocations: 260.1 kB / 0.5859 GB, free: 35.01 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4206, allocations: 6.406 kB / 0.5859 GB, free: 35 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.4206, allocations: 21.14 kB / 0.5859 GB, free: 34.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4206, allocations: 6.062 kB / 0.5859 GB, free: 34.99 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4206, allocations: 0 / 0.5859 GB, free: 34.99 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.4219, allocations: 1.007 MB / 0.5869 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.4219, allocations: 112.6 kB / 0.587 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.422, allocations: 19.92 kB / 0.587 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.4224, allocations: 31.97 kB / 0.5871 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.4225, allocations: 32.39 kB / 0.5871 GB, free: 33.91 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.4225, allocations: 8 kB / 0.5871 GB, free: 33.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.478e-05/0.4225, allocations: 107 kB / 0.5872 GB, free: 33.8 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4225, allocations: 0 / 0.5872 GB, free: 33.8 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003634/0.4229, allocations: 155.8 kB / 0.5874 GB, free: 33.65 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.0001014/0.423, allocations: 127.6 kB / 0.5875 GB, free: 33.52 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008031/0.4238, allocations: 0.6386 MB / 0.5881 GB, free: 32.88 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4238, allocations: 0 / 0.5881 GB, free: 32.88 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.4242, allocations: 314.3 kB / 0.5884 GB, free: 32.57 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.4246, allocations: 64.02 kB / 0.5885 GB, free: 32.51 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.4269, allocations: 2.269 MB / 0.5907 GB, free: 30.21 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.4271, allocations: 0.7917 MB / 0.5914 GB, free: 29.4 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003672/0.4275, allocations: 178.8 kB / 0.5916 GB, free: 29.22 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.4276, allocations: 31.38 kB / 0.5916 GB, free: 29.19 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.4276, allocations: 4 kB / 0.5917 GB, free: 29.19 MB / 462.3 MB Notification: Performance of Templates: time 0.006923/0.4346, allocations: 5.402 MB / 0.5969 GB, free: 23.87 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches