Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_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.001204/0.001204, allocations: 106.6 kB / 16.92 MB, free: 5.777 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.001198/0.001198, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.222/1.222, allocations: 222.9 MB / 241.6 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7336/0.7336, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.91 kB / 0.4924 GB, free: 12.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3839, allocations: 80.68 MB / 0.5712 GB, free: 43.73 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001916/0.3858, allocations: 1.464 MB / 0.5726 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002311/0.3861, allocations: 95.62 kB / 0.5727 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.3861, allocations: 0 / 0.5727 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.373e-05/0.3862, allocations: 13.16 kB / 0.5727 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.311e-05/0.3863, allocations: 59.59 kB / 0.5728 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.3865, allocations: 37.52 kB / 0.5728 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006881/0.3872, allocations: 1.213 MB / 0.574 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.3872, allocations: 7.812 kB / 0.574 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.3876, allocations: 466.7 kB / 0.5745 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.3882, allocations: 0.5496 MB / 0.575 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.3883, allocations: 60.94 kB / 0.5751 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.3884, allocations: 61.66 kB / 0.5751 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.3887, allocations: 369.9 kB / 0.5755 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.389, allocations: 393.8 kB / 0.5759 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.3894, allocations: 0.6521 MB / 0.5765 GB, free: 40.35 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3894, allocations: 0 / 0.5765 GB, free: 40.35 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3894, allocations: 0 / 0.5765 GB, free: 40.35 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3894, allocations: 0 / 0.5765 GB, free: 40.35 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.003861/0.3933, allocations: 1.43 MB / 0.5779 GB, free: 39.45 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3933, allocations: 17.06 kB / 0.5779 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.3935, allocations: 100.8 kB / 0.578 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.3936, allocations: 64.38 kB / 0.5781 GB, free: 39.33 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.394, allocations: 348.5 kB / 0.5784 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.3941, allocations: 57.75 kB / 0.5784 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.3942, allocations: 102.8 kB / 0.5785 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.3954, allocations: 0.877 MB / 0.5794 GB, free: 38.48 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3954, allocations: 9.219 kB / 0.5794 GB, free: 38.47 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.3955, allocations: 23.78 kB / 0.5794 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.3955, allocations: 13.88 kB / 0.5794 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.3966, allocations: 0.7634 MB / 0.5802 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004765/0.4013, allocations: 4.33 MB / 0.5844 GB, free: 34.42 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.4026, allocations: 0.9647 MB / 0.5854 GB, free: 33.96 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/0.4034, allocations: 0.6687 MB / 0.586 GB, free: 33.62 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.183e-05/0.4035, allocations: 11.09 kB / 0.586 GB, free: 33.62 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.4035, allocations: 51.22 kB / 0.5861 GB, free: 33.57 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 1.903e-06/0.4035, allocations: 0 / 0.5861 GB, free: 33.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002148/0.4057, allocations: 1.636 MB / 0.5877 GB, free: 31.95 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.4057, allocations: 68.34 kB / 0.5877 GB, free: 31.88 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.4058, allocations: 148.6 kB / 0.5879 GB, free: 31.72 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.4059, allocations: 49.7 kB / 0.5879 GB, free: 31.67 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.4059, allocations: 153.8 kB / 0.5881 GB, free: 31.51 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.4061, allocations: 418.1 kB / 0.5885 GB, free: 31.1 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.4064, allocations: 227 kB / 0.5887 GB, free: 30.87 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.4064, allocations: 362.8 kB / 0.589 GB, free: 30.51 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/0.4072, allocations: 0.5725 MB / 0.5896 GB, free: 29.93 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007586/0.4079, allocations: 0.6637 MB / 0.5902 GB, free: 29.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.4094, allocations: 1.258 MB / 0.5915 GB, free: 28.01 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4094, allocations: 0 / 0.5915 GB, free: 28.01 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001771/0.4112, allocations: 1.476 MB / 0.5929 GB, free: 26.52 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4112, allocations: 4 kB / 0.5929 GB, free: 26.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4112, allocations: 0 / 0.5929 GB, free: 26.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4112, allocations: 8 kB / 0.5929 GB, free: 26.51 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.4131, allocations: 0.5307 MB / 0.5934 GB, free: 25.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4132, allocations: 8 kB / 0.5934 GB, free: 25.97 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.4138, allocations: 115 kB / 0.5936 GB, free: 25.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.4139, allocations: 36 kB / 0.5936 GB, free: 25.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 (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.0002114/0.4141, allocations: 217.5 kB / 0.5938 GB, free: 25.6 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4142, allocations: 47.47 kB / 0.5938 GB, free: 25.55 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.4145, allocations: 152 kB / 0.594 GB, free: 25.4 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4146, allocations: 12 kB / 0.594 GB, free: 25.39 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4146, allocations: 0 / 0.594 GB, free: 25.39 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4146, allocations: 3.984 kB / 0.594 GB, free: 25.39 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007349/0.4153, allocations: 0.794 MB / 0.5948 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4153, allocations: 0 / 0.5948 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/0.4177, allocations: 0.5269 MB / 0.5953 GB, free: 24.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4177, allocations: 4 kB / 0.5953 GB, free: 24.02 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.81e-05/0.4178, allocations: 43.95 kB / 0.5953 GB, free: 23.97 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4178, allocations: 4 kB / 0.5953 GB, free: 23.97 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4178, allocations: 4 kB / 0.5953 GB, free: 23.96 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.42, allocations: 1.964 MB / 0.5973 GB, free: 21.98 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.42, allocations: 124.4 kB / 0.5974 GB, free: 21.84 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.4202, allocations: 43.97 kB / 0.5974 GB, free: 21.8 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/0.4208, allocations: 51.94 kB / 0.5975 GB, free: 21.75 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.421, allocations: 56.91 kB / 0.5975 GB, free: 21.69 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.4211, allocations: 24 kB / 0.5976 GB, free: 21.67 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.097e-05/0.4211, allocations: 95.27 kB / 0.5976 GB, free: 21.57 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4211, allocations: 0 / 0.5976 GB, free: 21.57 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004816/0.4216, allocations: 311.8 kB / 0.5979 GB, free: 21.27 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.002377/0.424, allocations: 2.566 MB / 0.6004 GB, free: 18.68 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.4261, allocations: 1.947 MB / 0.6023 GB, free: 16.73 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4261, allocations: 0 / 0.6023 GB, free: 16.73 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007195/0.4269, allocations: 0.6576 MB / 0.603 GB, free: 16.07 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.4274, allocations: 135.7 kB / 0.6031 GB, free: 15.94 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.4376, allocations: 11.2 MB / 0.6141 GB, free: 4.641 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.4378, allocations: 0.9123 MB / 0.615 GB, free: 3.703 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0008271/0.4387, allocations: 392.5 kB / 0.6153 GB, free: 3.316 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/0.4391, allocations: 187.4 kB / 0.6155 GB, free: 3.133 MB / 462.3 MB Notification: Performance of SimCode: time 3.8e-07/0.4391, allocations: 0 / 0.6155 GB, free: 3.133 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1196/0.5587, allocations: 17.28 MB / 0.6324 GB, free: 2.113 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.57, allocations: 5.688 kB / 0.6324 GB, free: 2.109 MB / 478.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches