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.001161/0.001161, allocations: 108.6 kB / 16.62 MB, free: 6.809 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.001169/0.001169, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.148/1.148, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7022/0.7022, allocations: 119.3 MB / 410.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 63.89 kB / 0.4919 GB, free: 12.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3869, allocations: 80.68 MB / 0.5707 GB, free: 43.87 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001976/0.3889, allocations: 1.522 MB / 0.5722 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002251/0.3891, allocations: 99.42 kB / 0.5723 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.3892, allocations: 0 / 0.5723 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.047e-05/0.3893, allocations: 9.266 kB / 0.5723 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.873e-05/0.3894, allocations: 56.77 kB / 0.5723 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.3896, allocations: 34.53 kB / 0.5724 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007145/0.3903, allocations: 1.213 MB / 0.5735 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.3903, allocations: 7.125 kB / 0.5735 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.3907, allocations: 486.9 kB / 0.574 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005773/0.3913, allocations: 0.5929 MB / 0.5746 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.3914, allocations: 61 kB / 0.5747 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3915, allocations: 60.97 kB / 0.5747 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.3917, allocations: 371 kB / 0.5751 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.392, allocations: 394.2 kB / 0.5754 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.3925, allocations: 0.6508 MB / 0.5761 GB, free: 40.44 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3925, allocations: 1.406 kB / 0.5761 GB, free: 40.44 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3925, allocations: 0 / 0.5761 GB, free: 40.44 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.3925, allocations: 0 / 0.5761 GB, free: 40.44 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.003815/0.3963, allocations: 1.432 MB / 0.5775 GB, free: 39.54 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3964, allocations: 13.08 kB / 0.5775 GB, free: 39.53 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.3965, allocations: 108.8 kB / 0.5776 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.3966, allocations: 61.28 kB / 0.5776 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.397, allocations: 347.1 kB / 0.578 GB, free: 39.13 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.397, allocations: 58.72 kB / 0.578 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.3972, allocations: 106.1 kB / 0.5781 GB, free: 39.06 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.3984, allocations: 0.8776 MB / 0.579 GB, free: 38.55 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3984, allocations: 9.188 kB / 0.579 GB, free: 38.55 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-05/0.3985, allocations: 19.78 kB / 0.579 GB, free: 38.53 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.3985, allocations: 13.91 kB / 0.579 GB, free: 38.53 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.3996, allocations: 0.7677 MB / 0.5798 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004702/0.4043, allocations: 4.319 MB / 0.584 GB, free: 34.5 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.4056, allocations: 0.9683 MB / 0.5849 GB, free: 34.05 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.4064, allocations: 0.6618 MB / 0.5856 GB, free: 33.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-05/0.4065, allocations: 9.844 kB / 0.5856 GB, free: 33.71 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4066, allocations: 59.17 kB / 0.5857 GB, free: 33.65 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 1.893e-06/0.4066, allocations: 4.062 kB / 0.5857 GB, free: 33.64 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002202/0.4088, allocations: 1.637 MB / 0.5873 GB, free: 32 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.4088, allocations: 64.41 kB / 0.5873 GB, free: 31.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.4089, allocations: 148.8 kB / 0.5875 GB, free: 31.78 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.393e-05/0.409, allocations: 49.7 kB / 0.5875 GB, free: 31.72 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.409, allocations: 149.8 kB / 0.5877 GB, free: 31.57 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.4092, allocations: 414.1 kB / 0.5881 GB, free: 31.16 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.4095, allocations: 226.9 kB / 0.5883 GB, free: 30.93 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.4095, allocations: 370.8 kB / 0.5886 GB, free: 30.56 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/0.4102, allocations: 0.5686 MB / 0.5892 GB, free: 29.99 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/0.411, allocations: 0.6676 MB / 0.5898 GB, free: 29.32 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.4125, allocations: 1.25 MB / 0.591 GB, free: 28.07 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4125, allocations: 0 / 0.591 GB, free: 28.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001769/0.4142, allocations: 1.48 MB / 0.5925 GB, free: 26.58 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4143, allocations: 7.938 kB / 0.5925 GB, free: 26.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4143, allocations: 0 / 0.5925 GB, free: 26.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4143, allocations: 8 kB / 0.5925 GB, free: 26.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.4163, allocations: 0.5268 MB / 0.593 GB, free: 26.04 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4163, allocations: 8 kB / 0.593 GB, free: 26.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/0.417, allocations: 115 kB / 0.5931 GB, free: 25.91 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.4171, allocations: 43.98 kB / 0.5932 GB, free: 25.87 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.0002186/0.4173, allocations: 213.6 kB / 0.5934 GB, free: 25.65 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.4174, allocations: 51.39 kB / 0.5934 GB, free: 25.6 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.4177, allocations: 148 kB / 0.5936 GB, free: 25.45 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4177, allocations: 12 kB / 0.5936 GB, free: 25.44 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4177, allocations: 0 / 0.5936 GB, free: 25.44 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4177, allocations: 3.984 kB / 0.5936 GB, free: 25.44 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/0.4184, allocations: 0.7902 MB / 0.5944 GB, free: 24.6 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4184, allocations: 0 / 0.5944 GB, free: 24.6 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/0.4209, allocations: 0.5346 MB / 0.5949 GB, free: 24.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4209, allocations: 0 / 0.5949 GB, free: 24.07 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/0.421, allocations: 43.95 kB / 0.5949 GB, free: 24.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.421, allocations: 4 kB / 0.5949 GB, free: 24.02 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.421, allocations: 0 / 0.5949 GB, free: 24.02 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.4232, allocations: 1.968 MB / 0.5969 GB, free: 22.04 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.4232, allocations: 128.4 kB / 0.597 GB, free: 21.89 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.4233, allocations: 43.97 kB / 0.597 GB, free: 21.85 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/0.4241, allocations: 67.69 kB / 0.5971 GB, free: 21.79 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.4242, allocations: 56.92 kB / 0.5971 GB, free: 21.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.4243, allocations: 31.98 kB / 0.5972 GB, free: 21.7 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.064e-05/0.4243, allocations: 95.27 kB / 0.5973 GB, free: 21.6 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4243, allocations: 3.938 kB / 0.5973 GB, free: 21.6 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004823/0.4248, allocations: 311.8 kB / 0.5976 GB, free: 21.29 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.002366/0.4272, allocations: 2.558 MB / 0.6001 GB, free: 18.7 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.4294, allocations: 1.947 MB / 0.602 GB, free: 16.76 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.4294, allocations: 0 / 0.602 GB, free: 16.76 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007029/0.4302, allocations: 0.6497 MB / 0.6026 GB, free: 16.11 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.4307, allocations: 143.8 kB / 0.6027 GB, free: 15.96 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.4408, allocations: 11.39 MB / 0.6138 GB, free: 4.484 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.4411, allocations: 0.9199 MB / 0.6147 GB, free: 3.543 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0008656/0.4419, allocations: 380.6 kB / 0.6151 GB, free: 3.168 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.4423, allocations: 195.4 kB / 0.6153 GB, free: 2.977 MB / 462.3 MB Notification: Performance of SimCode: time 4.9e-07/0.4424, allocations: 0 / 0.6153 GB, free: 2.977 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2695/0.7119, allocations: 17.15 MB / 0.632 GB, free: 2.129 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/0.7122, allocations: 264.5 kB / 0.6323 GB, free: 1.773 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.008, allocations: 2.922 kB / 0.6323 GB, free: 1.773 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","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches