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.001335/0.001335, allocations: 115.5 kB / 17.69 MB, free: 5.312 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.001316/0.001316, allocations: 191 kB / 18.63 MB, free: 4.379 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.301/1.301, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8308/0.8308, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.91 kB / 0.4937 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3978, allocations: 80.68 MB / 0.5725 GB, free: 44.12 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002066/0.3999, allocations: 1.457 MB / 0.5739 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002384/0.4001, allocations: 97.84 kB / 0.574 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.4002, allocations: 0 / 0.574 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.4003, allocations: 13.19 kB / 0.574 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.714e-05/0.4004, allocations: 64.3 kB / 0.5741 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.4006, allocations: 32.94 kB / 0.5741 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.401, allocations: 0.5714 MB / 0.5747 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.401, allocations: 9.75 kB / 0.5747 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.4012, allocations: 207.2 kB / 0.5749 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.4015, allocations: 283 kB / 0.5752 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-05/0.4016, allocations: 28.69 kB / 0.5752 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.471e-05/0.4017, allocations: 29.78 kB / 0.5752 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.4018, allocations: 179.2 kB / 0.5754 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.402, allocations: 193 kB / 0.5756 GB, free: 42 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.4022, allocations: 337.5 kB / 0.5759 GB, free: 41.81 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4022, allocations: 5.156 kB / 0.5759 GB, free: 41.81 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4022, allocations: 0 / 0.5759 GB, free: 41.81 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.4022, allocations: 0 / 0.5759 GB, free: 41.81 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.001911/0.4042, allocations: 0.8487 MB / 0.5767 GB, free: 41.19 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.4042, allocations: 14.17 kB / 0.5768 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.4043, allocations: 31.06 kB / 0.5768 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.4046, allocations: 265.6 kB / 0.577 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.4046, allocations: 26.69 kB / 0.5771 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.603e-05/0.4047, allocations: 53.14 kB / 0.5771 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.4053, allocations: 450.2 kB / 0.5775 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4054, allocations: 192 / 0.5775 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.4054, allocations: 18.06 kB / 0.5776 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.4054, allocations: 6.75 kB / 0.5776 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005565/0.406, allocations: 375.3 kB / 0.5779 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.4085, allocations: 2.154 MB / 0.58 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.4093, allocations: 485.6 kB / 0.5805 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.4097, allocations: 324.2 kB / 0.5808 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/0.4098, allocations: 9.5 kB / 0.5808 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.4098, allocations: 41.47 kB / 0.5809 GB, free: 38.13 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.894e-06/0.4098, allocations: 0 / 0.5809 GB, free: 38.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001282/0.4111, allocations: 0.8077 MB / 0.5816 GB, free: 37.76 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.4111, allocations: 56.88 kB / 0.5817 GB, free: 37.69 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.4112, allocations: 132.3 kB / 0.5818 GB, free: 37.57 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.4112, allocations: 45.36 kB / 0.5819 GB, free: 37.53 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.4113, allocations: 124.7 kB / 0.582 GB, free: 37.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.4114, allocations: 200 kB / 0.5822 GB, free: 37.23 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.4116, allocations: 119.6 kB / 0.5823 GB, free: 37.16 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.4116, allocations: 339.6 kB / 0.5826 GB, free: 36.83 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.412, allocations: 275.8 kB / 0.5829 GB, free: 36.71 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.4125, allocations: 335.3 kB / 0.5832 GB, free: 36.55 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008351/0.4133, allocations: 0.6134 MB / 0.5838 GB, free: 36.25 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4133, allocations: 0 / 0.5838 GB, free: 36.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001024/0.4144, allocations: 0.7326 MB / 0.5845 GB, free: 35.91 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4144, allocations: 8.641 kB / 0.5845 GB, free: 35.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4144, allocations: 1.344 kB / 0.5845 GB, free: 35.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4144, allocations: 2.594 kB / 0.5845 GB, free: 35.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.4155, allocations: 257.3 kB / 0.5848 GB, free: 35.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4155, allocations: 7.875 kB / 0.5848 GB, free: 35.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.4158, allocations: 51.3 kB / 0.5848 GB, free: 35.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/0.4159, allocations: 19.94 kB / 0.5848 GB, free: 35.81 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.000138/0.416, allocations: 168.7 kB / 0.585 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.4161, allocations: 22.5 kB / 0.585 GB, free: 35.65 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.4162, allocations: 75.92 kB / 0.5851 GB, free: 35.58 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.4163, allocations: 5.031 kB / 0.5851 GB, free: 35.58 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4163, allocations: 1 kB / 0.5851 GB, free: 35.58 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4163, allocations: 3.984 kB / 0.5851 GB, free: 35.58 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.4167, allocations: 482.7 kB / 0.5856 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4168, allocations: 0 / 0.5856 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.418, allocations: 264.9 kB / 0.5858 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.418, allocations: 2.125 kB / 0.5858 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.4181, allocations: 21.64 kB / 0.5858 GB, free: 35.13 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4181, allocations: 2.156 kB / 0.5858 GB, free: 35.13 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4181, allocations: 3.938 kB / 0.5858 GB, free: 35.13 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.4193, allocations: 1.011 MB / 0.5868 GB, free: 34.31 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.4194, allocations: 108.6 kB / 0.5869 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.4195, allocations: 23.92 kB / 0.587 GB, free: 34.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.4198, allocations: 19.97 kB / 0.587 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.4199, allocations: 32.39 kB / 0.587 GB, free: 34.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.42, allocations: 12 kB / 0.587 GB, free: 34.1 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.42, allocations: 95.83 kB / 0.5871 GB, free: 34 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.42, allocations: 0 / 0.5871 GB, free: 34 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003585/0.4204, allocations: 155.9 kB / 0.5873 GB, free: 33.85 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.0001054/0.4205, allocations: 127.6 kB / 0.5874 GB, free: 33.71 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007909/0.4213, allocations: 0.6425 MB / 0.588 GB, free: 33.07 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4213, allocations: 0 / 0.588 GB, free: 33.07 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.4217, allocations: 322.3 kB / 0.5883 GB, free: 32.76 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.4221, allocations: 67.39 kB / 0.5884 GB, free: 32.7 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.4243, allocations: 2.245 MB / 0.5906 GB, free: 30.43 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.4244, allocations: 0.7917 MB / 0.5913 GB, free: 29.61 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.4248, allocations: 182.8 kB / 0.5915 GB, free: 29.43 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.425, allocations: 31.44 kB / 0.5916 GB, free: 29.4 MB / 462.3 MB Notification: Performance of SimCode: time 9.01e-07/0.425, allocations: 0 / 0.5916 GB, free: 29.4 MB / 462.3 MB Notification: Performance of Templates: time 0.007/0.432, allocations: 5.406 MB / 0.5968 GB, free: 24.07 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches