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.0009927/0.0009929, allocations: 92.66 kB / 16.65 MB, free: 6.598 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.001072/0.001072, allocations: 174.5 kB / 17.56 MB, free: 6.203 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.136/1.136, allocations: 223.3 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7292/0.7292, allocations: 120.5 MB / 413.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002578, allocations: 8 kB / 0.4963 GB, free: 9.953 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4022, allocations: 82.84 MB / 0.5772 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001039/0.4033, allocations: 1.183 MB / 0.5784 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002234/0.4035, allocations: 100.7 kB / 0.5785 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.4035, allocations: 0 / 0.5785 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.35e-05/0.4036, allocations: 9.297 kB / 0.5785 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.422e-05/0.4037, allocations: 61.52 kB / 0.5786 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.4039, allocations: 38.75 kB / 0.5786 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008467/0.4047, allocations: 1.332 MB / 0.5799 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.4048, allocations: 11.36 kB / 0.5799 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.4051, allocations: 470.4 kB / 0.5803 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000593/0.4057, allocations: 0.5872 MB / 0.5809 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.4059, allocations: 60.59 kB / 0.581 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.406, allocations: 65.81 kB / 0.581 GB, free: 39.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.4062, allocations: 378.2 kB / 0.5814 GB, free: 39.62 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.4065, allocations: 415.4 kB / 0.5818 GB, free: 39.36 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.407, allocations: 0.6508 MB / 0.5824 GB, free: 38.98 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.407, allocations: 0 / 0.5824 GB, free: 38.98 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.193e-06/0.407, allocations: 3.938 kB / 0.5824 GB, free: 38.98 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.407, allocations: 0.9062 kB / 0.5824 GB, free: 38.98 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.00375/0.4107, allocations: 1.488 MB / 0.5839 GB, free: 38.07 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.4108, allocations: 9.875 kB / 0.5839 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.4109, allocations: 99.91 kB / 0.584 GB, free: 37.99 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.411, allocations: 65.44 kB / 0.5841 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.4114, allocations: 351.2 kB / 0.5844 GB, free: 37.68 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.4115, allocations: 55.81 kB / 0.5844 GB, free: 37.65 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.4116, allocations: 109.1 kB / 0.5846 GB, free: 37.6 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.4128, allocations: 0.8814 MB / 0.5854 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4128, allocations: 9.219 kB / 0.5854 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.428e-05/0.4129, allocations: 19.78 kB / 0.5854 GB, free: 37.07 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.4129, allocations: 13.88 kB / 0.5855 GB, free: 37.07 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.414, allocations: 0.7699 MB / 0.5862 GB, free: 36.69 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00426/0.4182, allocations: 4.36 MB / 0.5905 GB, free: 31.8 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.4193, allocations: 0.9682 MB / 0.5914 GB, free: 30.82 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.42, allocations: 0.6602 MB / 0.5921 GB, free: 30.16 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.928e-05/0.4201, allocations: 13 kB / 0.5921 GB, free: 30.14 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.4201, allocations: 47.5 kB / 0.5921 GB, free: 30.09 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.154e-06/0.4201, allocations: 4 kB / 0.5921 GB, free: 30.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002136/0.4223, allocations: 1.644 MB / 0.5937 GB, free: 28.43 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.4223, allocations: 64.41 kB / 0.5938 GB, free: 28.36 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.615e-05/0.4224, allocations: 149.3 kB / 0.5939 GB, free: 28.21 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.563e-05/0.4225, allocations: 49.7 kB / 0.594 GB, free: 28.15 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.4225, allocations: 149.8 kB / 0.5941 GB, free: 28 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.4227, allocations: 414.1 kB / 0.5945 GB, free: 27.59 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.4229, allocations: 125.6 kB / 0.5946 GB, free: 27.46 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.4229, allocations: 370.8 kB / 0.595 GB, free: 27.09 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/0.4236, allocations: 0.5686 MB / 0.5955 GB, free: 26.52 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007503/0.4244, allocations: 0.6599 MB / 0.5962 GB, free: 25.86 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.4259, allocations: 1.262 MB / 0.5974 GB, free: 24.59 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4259, allocations: 4 kB / 0.5974 GB, free: 24.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001763/0.4276, allocations: 1.472 MB / 0.5989 GB, free: 23.11 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4277, allocations: 6.344 kB / 0.5989 GB, free: 23.1 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4277, allocations: 3.938 kB / 0.5989 GB, free: 23.1 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4277, allocations: 8 kB / 0.5989 GB, free: 23.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.4295, allocations: 0.5269 MB / 0.5994 GB, free: 22.56 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.4296, allocations: 7.938 kB / 0.5994 GB, free: 22.55 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/0.4303, allocations: 123 kB / 0.5995 GB, free: 22.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/0.4303, allocations: 36 kB / 0.5995 GB, free: 22.4 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.0002215/0.4306, allocations: 213.6 kB / 0.5998 GB, free: 22.18 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.4307, allocations: 43.47 kB / 0.5998 GB, free: 22.14 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.4311, allocations: 159.9 kB / 0.5999 GB, free: 21.98 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.4311, allocations: 8 kB / 0.6 GB, free: 21.97 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4311, allocations: 4 kB / 0.6 GB, free: 21.96 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4311, allocations: 7.922 kB / 0.6 GB, free: 21.96 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007493/0.4319, allocations: 0.7863 MB / 0.6007 GB, free: 21.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4319, allocations: 0 / 0.6007 GB, free: 21.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/0.4342, allocations: 0.5308 MB / 0.6013 GB, free: 20.59 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.4342, allocations: 7.938 kB / 0.6013 GB, free: 20.59 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/0.4343, allocations: 43.95 kB / 0.6013 GB, free: 20.54 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4343, allocations: 8 kB / 0.6013 GB, free: 20.54 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4343, allocations: 0 / 0.6013 GB, free: 20.54 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.4365, allocations: 1.96 MB / 0.6032 GB, free: 18.56 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.4366, allocations: 128.3 kB / 0.6033 GB, free: 18.42 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.4367, allocations: 39.97 kB / 0.6034 GB, free: 18.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006894/0.4374, allocations: 67.78 kB / 0.6034 GB, free: 18.31 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.4375, allocations: 56.92 kB / 0.6035 GB, free: 18.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.4376, allocations: 27.98 kB / 0.6035 GB, free: 18.23 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.058e-05/0.4376, allocations: 95.27 kB / 0.6036 GB, free: 18.13 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4377, allocations: 0 / 0.6036 GB, free: 18.13 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004927/0.4381, allocations: 315.7 kB / 0.6039 GB, free: 17.82 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.002417/0.4406, allocations: 2.558 MB / 0.6064 GB, free: 15.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.4421, allocations: 1.322 MB / 0.6077 GB, free: 13.91 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.4421, allocations: 0 / 0.6077 GB, free: 13.91 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007254/0.4428, allocations: 0.6576 MB / 0.6084 GB, free: 13.25 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.4434, allocations: 131.8 kB / 0.6085 GB, free: 13.12 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.454, allocations: 12.16 MB / 0.6204 GB, free: 0.875 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.4543, allocations: 0.9149 MB / 0.6212 GB, free: 15.93 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.0009526/0.4552, allocations: 396.5 kB / 0.6216 GB, free: 15.54 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.4557, allocations: 183.4 kB / 0.6218 GB, free: 15.36 MB / 478.3 MB Notification: Performance of SimCode: time 1.503e-06/0.4557, allocations: 0 / 0.6218 GB, free: 15.36 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5776/1.033, allocations: 16.51 MB / 0.6379 GB, free: 15.15 MB / 494.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/1.034, allocations: 266.2 kB / 0.6382 GB, free: 14.79 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/3.302, allocations: 0 / 0.6382 GB, free: 14.79 MB / 494.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