Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001235, allocations: 106.7 kB / 16.92 MB, free: 5.781 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.001348/0.001348, allocations: 191.5 kB / 17.85 MB, free: 5.195 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.261/1.261, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.77/0.77, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 0.4924 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3967, allocations: 80.68 MB / 0.5712 GB, free: 43.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002184/0.3989, allocations: 1.463 MB / 0.5726 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002503/0.3992, allocations: 91.7 kB / 0.5727 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.3992, allocations: 0 / 0.5727 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.771e-05/0.3993, allocations: 17.27 kB / 0.5727 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.3995, allocations: 62.56 kB / 0.5728 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3996, allocations: 34.91 kB / 0.5728 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000684/0.4003, allocations: 1.093 MB / 0.5739 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.4004, allocations: 10.95 kB / 0.5739 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.4008, allocations: 394.1 kB / 0.5743 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006871/0.4015, allocations: 0.5248 MB / 0.5748 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.4018, allocations: 61.56 kB / 0.5748 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.402, allocations: 61.28 kB / 0.5749 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.4022, allocations: 370 kB / 0.5753 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004759/0.4027, allocations: 389.8 kB / 0.5756 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.4031, allocations: 0.6553 MB / 0.5763 GB, free: 40.71 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4031, allocations: 5.375 kB / 0.5763 GB, free: 40.71 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4031, allocations: 0 / 0.5763 GB, free: 40.71 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.4031, allocations: 0 / 0.5763 GB, free: 40.71 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.003927/0.4071, allocations: 1.429 MB / 0.5777 GB, free: 39.8 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4071, allocations: 10.16 kB / 0.5777 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.4073, allocations: 99.89 kB / 0.5778 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.4074, allocations: 61.28 kB / 0.5778 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.4078, allocations: 347.2 kB / 0.5782 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.4079, allocations: 59.25 kB / 0.5782 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.4081, allocations: 102.2 kB / 0.5783 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.4093, allocations: 0.8814 MB / 0.5792 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4093, allocations: 7.922 kB / 0.5792 GB, free: 38.83 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/0.4094, allocations: 25.06 kB / 0.5792 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.4094, allocations: 13.88 kB / 0.5792 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.4105, allocations: 0.7718 MB / 0.58 GB, free: 38.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004955/0.4155, allocations: 4.312 MB / 0.5842 GB, free: 34.79 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.4168, allocations: 0.9865 MB / 0.5852 GB, free: 34.31 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000829/0.4176, allocations: 0.6754 MB / 0.5858 GB, free: 33.97 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.866e-05/0.4177, allocations: 14.12 kB / 0.5858 GB, free: 33.96 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.4177, allocations: 47.62 kB / 0.5859 GB, free: 33.91 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.374e-06/0.4177, allocations: 0 / 0.5859 GB, free: 33.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002265/0.42, allocations: 1.655 MB / 0.5875 GB, free: 32.29 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.42, allocations: 64.41 kB / 0.5876 GB, free: 32.22 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.4201, allocations: 154.1 kB / 0.5877 GB, free: 32.06 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.4202, allocations: 49.7 kB / 0.5877 GB, free: 32.01 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.4202, allocations: 149.8 kB / 0.5879 GB, free: 31.86 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.4204, allocations: 418 kB / 0.5883 GB, free: 31.44 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.4207, allocations: 227 kB / 0.5885 GB, free: 31.21 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.4208, allocations: 362.8 kB / 0.5889 GB, free: 30.85 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.4215, allocations: 0.5764 MB / 0.5894 GB, free: 30.27 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007628/0.4223, allocations: 0.6676 MB / 0.5901 GB, free: 29.6 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.4238, allocations: 1.27 MB / 0.5913 GB, free: 28.33 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4238, allocations: 3.938 kB / 0.5913 GB, free: 28.33 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001837/0.4257, allocations: 1.48 MB / 0.5928 GB, free: 26.84 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4257, allocations: 4 kB / 0.5928 GB, free: 26.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4257, allocations: 0 / 0.5928 GB, free: 26.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4257, allocations: 8 kB / 0.5928 GB, free: 26.83 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.4277, allocations: 0.5307 MB / 0.5933 GB, free: 26.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/0.4278, allocations: 8 kB / 0.5933 GB, free: 26.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/0.4285, allocations: 111 kB / 0.5934 GB, free: 26.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.4286, allocations: 40 kB / 0.5934 GB, free: 26.14 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002228/0.4288, allocations: 217.6 kB / 0.5936 GB, free: 25.92 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.4289, allocations: 47.47 kB / 0.5937 GB, free: 25.87 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.4293, allocations: 148 kB / 0.5938 GB, free: 25.72 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4293, allocations: 15.94 kB / 0.5938 GB, free: 25.71 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4293, allocations: 0 / 0.5938 GB, free: 25.71 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.4293, allocations: 3.984 kB / 0.5938 GB, free: 25.7 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007974/0.4301, allocations: 0.794 MB / 0.5946 GB, free: 24.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4301, allocations: 0 / 0.5946 GB, free: 24.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/0.4325, allocations: 0.5269 MB / 0.5951 GB, free: 24.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.4326, allocations: 4 kB / 0.5951 GB, free: 24.33 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.4327, allocations: 43.95 kB / 0.5952 GB, free: 24.29 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.4327, allocations: 4 kB / 0.5952 GB, free: 24.29 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4327, allocations: 0 / 0.5952 GB, free: 24.29 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.435, allocations: 1.972 MB / 0.5971 GB, free: 22.3 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.4351, allocations: 124.4 kB / 0.5972 GB, free: 22.16 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.4353, allocations: 43.97 kB / 0.5973 GB, free: 22.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007147/0.436, allocations: 47.94 kB / 0.5973 GB, free: 22.07 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.4362, allocations: 56.91 kB / 0.5974 GB, free: 22.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.4362, allocations: 36 kB / 0.5974 GB, free: 21.97 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.454e-05/0.4363, allocations: 91.27 kB / 0.5975 GB, free: 21.88 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4363, allocations: 0 / 0.5975 GB, free: 21.88 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005238/0.4368, allocations: 315.8 kB / 0.5978 GB, free: 21.57 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 (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.002504/0.4393, allocations: 2.566 MB / 0.6003 GB, free: 18.98 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.4416, allocations: 1.959 MB / 0.6022 GB, free: 17.02 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4416, allocations: 0 / 0.6022 GB, free: 17.02 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.4423, allocations: 0.6576 MB / 0.6029 GB, free: 16.37 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.4429, allocations: 135.9 kB / 0.603 GB, free: 16.23 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.4533, allocations: 11.13 MB / 0.6139 GB, free: 5.004 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.4536, allocations: 0.9158 MB / 0.6148 GB, free: 4.066 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0008657/0.4544, allocations: 388.5 kB / 0.6151 GB, free: 3.684 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.4549, allocations: 191.3 kB / 0.6153 GB, free: 3.496 MB / 462.3 MB Notification: Performance of SimCode: time 3.81e-07/0.4549, allocations: 0 / 0.6153 GB, free: 3.496 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.417/1.872, allocations: 17.28 MB / 0.6322 GB, free: 2.473 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/13.32, allocations: 11.56 kB / 0.6322 GB, free: 2.465 MB / 478.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches