Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.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_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|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_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 93.42 kB / 16.3 MB, free: 5.996 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.001664/0.001664, allocations: 186.6 kB / 17.2 MB, free: 5.914 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.461/1.461, allocations: 223.2 MB / 241.1 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.136/1.136, allocations: 120.5 MB / 412.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003853, allocations: 8 kB / 0.4955 GB, free: 10.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6423/0.6427, allocations: 82.82 MB / 0.5764 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001253/0.644, allocations: 1.125 MB / 0.5775 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002692/0.6443, allocations: 115.9 kB / 0.5776 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.6443, allocations: 0 / 0.5776 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.6445, allocations: 13.55 kB / 0.5776 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.637e-05/0.6445, allocations: 31.33 kB / 0.5776 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.6447, allocations: 29.39 kB / 0.5776 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.6453, allocations: 0.7473 MB / 0.5784 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.604e-05/0.6454, allocations: 11.84 kB / 0.5784 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.6458, allocations: 451.8 kB / 0.5788 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007143/0.6465, allocations: 0.4977 MB / 0.5793 GB, free: 39.73 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.6467, allocations: 61.53 kB / 0.5794 GB, free: 39.73 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.6468, allocations: 61.03 kB / 0.5794 GB, free: 39.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.6472, allocations: 338.6 kB / 0.5797 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.6474, allocations: 126.6 kB / 0.5799 GB, free: 39.46 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.6479, allocations: 451.1 kB / 0.5803 GB, free: 39.22 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.6479, allocations: 0.9375 kB / 0.5803 GB, free: 39.22 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6479, allocations: 0 / 0.5803 GB, free: 39.22 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.6479, allocations: 0 / 0.5803 GB, free: 39.22 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00457/0.6525, allocations: 1.495 MB / 0.5817 GB, free: 38.32 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.6525, allocations: 8.812 kB / 0.5818 GB, free: 38.32 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.6527, allocations: 60.03 kB / 0.5818 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.6534, allocations: 358.2 kB / 0.5822 GB, free: 38.01 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.6534, allocations: 58.34 kB / 0.5822 GB, free: 37.98 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.6536, allocations: 93.91 kB / 0.5823 GB, free: 37.95 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.6551, allocations: 0.8722 MB / 0.5832 GB, free: 37.44 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6551, allocations: 0 / 0.5832 GB, free: 37.44 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/0.6552, allocations: 24.38 kB / 0.5832 GB, free: 37.42 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.6552, allocations: 17.77 kB / 0.5832 GB, free: 37.41 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.6566, allocations: 0.7662 MB / 0.5839 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005771/0.6623, allocations: 4.356 MB / 0.5882 GB, free: 33.39 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.6637, allocations: 0.9741 MB / 0.5891 GB, free: 32.53 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.837e-05/0.6637, allocations: 13 kB / 0.5892 GB, free: 32.52 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.6638, allocations: 43.56 kB / 0.5892 GB, free: 32.46 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.765e-06/0.6638, allocations: 0 / 0.5892 GB, free: 32.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002358/0.6661, allocations: 1.648 MB / 0.5908 GB, free: 30.81 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.6662, allocations: 72.36 kB / 0.5909 GB, free: 30.73 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.6663, allocations: 144.4 kB / 0.591 GB, free: 30.58 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.307e-05/0.6664, allocations: 49.7 kB / 0.5911 GB, free: 30.52 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.6665, allocations: 153.8 kB / 0.5912 GB, free: 30.37 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.6667, allocations: 414 kB / 0.5916 GB, free: 29.96 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.6668, allocations: 24 kB / 0.5916 GB, free: 29.93 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.6669, allocations: 377 kB / 0.592 GB, free: 29.56 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007647/0.6676, allocations: 0.5686 MB / 0.5925 GB, free: 28.99 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008063/0.6685, allocations: 0.6521 MB / 0.5932 GB, free: 28.33 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008813/0.6693, allocations: 0.6505 MB / 0.5938 GB, free: 27.68 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6694, allocations: 4 kB / 0.5938 GB, free: 27.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001982/0.6713, allocations: 1.457 MB / 0.5952 GB, free: 26.21 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6714, allocations: 8 kB / 0.5952 GB, free: 26.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6714, allocations: 0 / 0.5952 GB, free: 26.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.6714, allocations: 11.97 kB / 0.5953 GB, free: 26.19 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.6735, allocations: 0.523 MB / 0.5958 GB, free: 25.67 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.6735, allocations: 11.89 kB / 0.5958 GB, free: 25.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008387/0.6743, allocations: 127 kB / 0.5959 GB, free: 25.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.6744, allocations: 40 kB / 0.5959 GB, free: 25.49 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 (157): * Single equations (assignments): 157 * 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.0002837/0.6747, allocations: 213.6 kB / 0.5961 GB, free: 25.27 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.6748, allocations: 43.62 kB / 0.5962 GB, free: 25.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.6751, allocations: 144 kB / 0.5963 GB, free: 25.09 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.6752, allocations: 12 kB / 0.5963 GB, free: 25.08 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.6752, allocations: 0 / 0.5963 GB, free: 25.08 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6752, allocations: 7.938 kB / 0.5963 GB, free: 25.07 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009649/0.6762, allocations: 0.7979 MB / 0.5971 GB, free: 24.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6762, allocations: 3.984 kB / 0.5971 GB, free: 24.22 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002484/0.6787, allocations: 0.5191 MB / 0.5976 GB, free: 23.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.6787, allocations: 4 kB / 0.5976 GB, free: 23.7 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.6788, allocations: 47.95 kB / 0.5977 GB, free: 23.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6788, allocations: 4 kB / 0.5977 GB, free: 23.65 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6788, allocations: 0 / 0.5977 GB, free: 23.65 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.6813, allocations: 1.972 MB / 0.5996 GB, free: 21.66 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/0.6814, allocations: 128.5 kB / 0.5997 GB, free: 21.52 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.6816, allocations: 39.95 kB / 0.5998 GB, free: 21.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/0.6823, allocations: 63.7 kB / 0.5998 GB, free: 21.41 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.6824, allocations: 60.91 kB / 0.5999 GB, free: 21.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.6825, allocations: 20 kB / 0.5999 GB, free: 21.34 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.667e-05/0.6826, allocations: 103.2 kB / 0.6 GB, free: 21.23 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6826, allocations: 0 / 0.6 GB, free: 21.23 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006305/0.6832, allocations: 315.7 kB / 0.6003 GB, free: 20.93 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * 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.0002017/0.6834, allocations: 149.7 kB / 0.6005 GB, free: 20.77 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.6851, allocations: 1.326 MB / 0.6017 GB, free: 19.45 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6852, allocations: 0 / 0.6017 GB, free: 19.45 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007828/0.6859, allocations: 0.6458 MB / 0.6024 GB, free: 18.8 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.6865, allocations: 124.7 kB / 0.6025 GB, free: 18.68 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005641/0.6921, allocations: 5.604 MB / 0.608 GB, free: 13.04 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.6924, allocations: 0.9221 MB / 0.6089 GB, free: 12.09 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0009775/0.6934, allocations: 392.5 kB / 0.6092 GB, free: 11.7 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.6937, allocations: 51.44 kB / 0.6093 GB, free: 11.65 MB / 462.3 MB Notification: Performance of SimCode: time 7.21e-07/0.6938, allocations: 0 / 0.6093 GB, free: 11.65 MB / 462.3 MB Notification: Performance of Templates: time 0.01313/0.7069, allocations: 9.915 MB / 0.619 GB, free: 1.852 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches