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.001178/0.001178, allocations: 92.53 kB / 16.3 MB, free: 5.527 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.001337/0.001337, allocations: 184.5 kB / 17.2 MB, free: 5.461 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.359/1.359, allocations: 223.2 MB / 241.1 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.124/1.124, allocations: 120.5 MB / 412.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004985, allocations: 8 kB / 0.4955 GB, free: 10.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6646/0.6651, allocations: 82.84 MB / 0.5764 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001295/0.6665, allocations: 1.112 MB / 0.5774 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000283/0.6668, allocations: 102.2 kB / 0.5775 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.6668, allocations: 1.375 kB / 0.5775 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.667, allocations: 13.3 kB / 0.5776 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.667, allocations: 28.05 kB / 0.5776 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.6672, allocations: 28.08 kB / 0.5776 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.6676, allocations: 354.9 kB / 0.5779 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.289e-05/0.6676, allocations: 5.5 kB / 0.578 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.6678, allocations: 188.3 kB / 0.5781 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.6681, allocations: 255.6 kB / 0.5784 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.559e-05/0.6682, allocations: 30.25 kB / 0.5784 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.6683, allocations: 28.88 kB / 0.5784 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.6684, allocations: 165 kB / 0.5786 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.228e-05/0.6685, allocations: 79.08 kB / 0.5787 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.6688, allocations: 218.2 kB / 0.5789 GB, free: 40.67 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.6688, allocations: 0 / 0.5789 GB, free: 40.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6688, allocations: 0 / 0.5789 GB, free: 40.67 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.6688, allocations: 0 / 0.5789 GB, free: 40.67 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.002279/0.6711, allocations: 0.8322 MB / 0.5797 GB, free: 40.08 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.6711, allocations: 9.219 kB / 0.5797 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.6712, allocations: 38.02 kB / 0.5797 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.6716, allocations: 268.6 kB / 0.58 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.6717, allocations: 26.38 kB / 0.58 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.6718, allocations: 48.7 kB / 0.5801 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.6725, allocations: 438 kB / 0.5805 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.6725, allocations: 0 / 0.5805 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.6726, allocations: 14.5 kB / 0.5805 GB, free: 39.51 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.6726, allocations: 6.344 kB / 0.5805 GB, free: 39.51 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006726/0.6733, allocations: 381.7 kB / 0.5809 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.6763, allocations: 2.173 MB / 0.583 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008533/0.6771, allocations: 479.2 kB / 0.5834 GB, free: 37.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.6772, allocations: 10.17 kB / 0.5835 GB, free: 37.23 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.6772, allocations: 41.66 kB / 0.5835 GB, free: 37.18 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.613e-06/0.6772, allocations: 0 / 0.5835 GB, free: 37.18 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001542/0.6788, allocations: 0.8104 MB / 0.5843 GB, free: 36.81 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.6788, allocations: 57.59 kB / 0.5843 GB, free: 36.75 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.6789, allocations: 142.7 kB / 0.5845 GB, free: 36.62 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.679, allocations: 40.17 kB / 0.5845 GB, free: 36.57 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.6791, allocations: 117.8 kB / 0.5846 GB, free: 36.46 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.6792, allocations: 204.3 kB / 0.5848 GB, free: 36.28 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.6792, allocations: 10.22 kB / 0.5848 GB, free: 36.27 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6793, allocations: 343 kB / 0.5852 GB, free: 35.94 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/0.6798, allocations: 276.8 kB / 0.5854 GB, free: 35.82 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.6803, allocations: 335.1 kB / 0.5857 GB, free: 35.65 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005276/0.6809, allocations: 316.8 kB / 0.586 GB, free: 35.52 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6809, allocations: 0 / 0.586 GB, free: 35.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001215/0.6821, allocations: 0.7265 MB / 0.5868 GB, free: 35.17 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6821, allocations: 4 kB / 0.5868 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6822, allocations: 32 / 0.5868 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6822, allocations: 8 kB / 0.5868 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009999/0.6832, allocations: 259.7 kB / 0.587 GB, free: 34.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.6832, allocations: 4 kB / 0.587 GB, free: 34.9 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.6836, allocations: 59.5 kB / 0.5871 GB, free: 34.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.6837, allocations: 23.94 kB / 0.5871 GB, free: 34.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.6838, allocations: 166.1 kB / 0.5873 GB, free: 34.64 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.6839, allocations: 19.81 kB / 0.5873 GB, free: 34.62 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.684, allocations: 82.27 kB / 0.5873 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.6841, allocations: 4 kB / 0.5874 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.6841, allocations: 7.891 kB / 0.5874 GB, free: 34.54 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6841, allocations: 0 / 0.5874 GB, free: 34.54 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.6845, allocations: 473.3 kB / 0.5878 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6846, allocations: 4 kB / 0.5878 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.6858, allocations: 255.8 kB / 0.5881 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6858, allocations: 4 kB / 0.5881 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.6858, allocations: 23.98 kB / 0.5881 GB, free: 33.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.6858, allocations: 0 / 0.5881 GB, free: 33.75 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6859, allocations: 3.953 kB / 0.5881 GB, free: 33.74 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.6871, allocations: 1.005 MB / 0.5891 GB, free: 32.71 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.6872, allocations: 108.7 kB / 0.5892 GB, free: 32.59 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.141e-05/0.6872, allocations: 19.98 kB / 0.5892 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.6876, allocations: 23.98 kB / 0.5892 GB, free: 32.55 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.6877, allocations: 36.33 kB / 0.5893 GB, free: 32.51 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.6878, allocations: 19.94 kB / 0.5893 GB, free: 32.49 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.375e-05/0.6878, allocations: 95.97 kB / 0.5894 GB, free: 32.4 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6878, allocations: 0 / 0.5894 GB, free: 32.4 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003924/0.6882, allocations: 151.8 kB / 0.5895 GB, free: 32.25 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 (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.0001343/0.6883, allocations: 123.7 kB / 0.5896 GB, free: 32.12 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008516/0.6892, allocations: 0.6348 MB / 0.5902 GB, free: 31.49 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6892, allocations: 0 / 0.5902 GB, free: 31.49 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.6896, allocations: 322.2 kB / 0.5906 GB, free: 31.17 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.69, allocations: 67.94 kB / 0.5906 GB, free: 31.11 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.6927, allocations: 2.708 MB / 0.5933 GB, free: 28.36 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.693, allocations: 0.8037 MB / 0.594 GB, free: 27.53 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004293/0.6934, allocations: 174.8 kB / 0.5942 GB, free: 27.36 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.6936, allocations: 27.44 kB / 0.5942 GB, free: 27.33 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.6936, allocations: 4 kB / 0.5942 GB, free: 27.33 MB / 462.3 MB Notification: Performance of Templates: time 0.007235/0.7008, allocations: 4.914 MB / 0.599 GB, free: 22.49 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/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