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.001153/0.001153, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001117/0.001117, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.176/1.176, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7232/0.7232, allocations: 119.3 MB / 410.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 59.91 kB / 0.4917 GB, free: 12.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.389, allocations: 80.69 MB / 0.5705 GB, free: 43.8 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001868/0.3909, allocations: 1.527 MB / 0.572 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002101/0.3911, allocations: 94.12 kB / 0.5721 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.3912, allocations: 1.344 kB / 0.5721 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.131e-05/0.3913, allocations: 13.11 kB / 0.5721 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.197e-05/0.3914, allocations: 62.05 kB / 0.5721 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.3915, allocations: 26.33 kB / 0.5722 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007735/0.3923, allocations: 1.347 MB / 0.5735 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.3924, allocations: 10.45 kB / 0.5735 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.3927, allocations: 467.1 kB / 0.5739 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005717/0.3933, allocations: 0.5896 MB / 0.5745 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.3934, allocations: 62.69 kB / 0.5746 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.3936, allocations: 64.38 kB / 0.5746 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.3938, allocations: 374.8 kB / 0.575 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.3942, allocations: 389.4 kB / 0.5754 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.3946, allocations: 0.6469 MB / 0.576 GB, free: 40.31 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3946, allocations: 0 / 0.576 GB, free: 40.31 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.12e-07/0.3946, allocations: 5.312 kB / 0.576 GB, free: 40.31 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3946, allocations: 0 / 0.576 GB, free: 40.31 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.003782/0.3984, allocations: 1.433 MB / 0.5774 GB, free: 39.4 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3984, allocations: 13.19 kB / 0.5774 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.3985, allocations: 96.8 kB / 0.5775 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.3987, allocations: 61.25 kB / 0.5776 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.3991, allocations: 347.1 kB / 0.5779 GB, free: 39.01 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.3992, allocations: 60.56 kB / 0.5779 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.3993, allocations: 97.73 kB / 0.578 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.4005, allocations: 0.8842 MB / 0.5789 GB, free: 38.43 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4005, allocations: 5.188 kB / 0.5789 GB, free: 38.43 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.4006, allocations: 23.81 kB / 0.5789 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.4006, allocations: 13.88 kB / 0.5789 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.4017, allocations: 0.7711 MB / 0.5797 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00478/0.4065, allocations: 4.315 MB / 0.5839 GB, free: 34.38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.4078, allocations: 0.9771 MB / 0.5849 GB, free: 33.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007998/0.4086, allocations: 0.6616 MB / 0.5855 GB, free: 33.55 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-05/0.4087, allocations: 13 kB / 0.5855 GB, free: 33.54 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.4087, allocations: 47.5 kB / 0.5856 GB, free: 33.48 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 1.784e-06/0.4087, allocations: 0 / 0.5856 GB, free: 33.48 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002222/0.411, allocations: 1.641 MB / 0.5872 GB, free: 31.84 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.411, allocations: 64.41 kB / 0.5872 GB, free: 31.76 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/0.4111, allocations: 152.3 kB / 0.5874 GB, free: 31.61 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.4111, allocations: 49.7 kB / 0.5874 GB, free: 31.55 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.4112, allocations: 153.8 kB / 0.5876 GB, free: 31.39 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.4114, allocations: 414.1 kB / 0.588 GB, free: 30.98 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/0.4117, allocations: 226.9 kB / 0.5882 GB, free: 30.76 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.4117, allocations: 366.8 kB / 0.5885 GB, free: 30.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007374/0.4125, allocations: 0.5686 MB / 0.5891 GB, free: 29.82 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/0.4132, allocations: 0.6638 MB / 0.5897 GB, free: 29.15 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.4147, allocations: 1.258 MB / 0.591 GB, free: 27.89 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4148, allocations: 0 / 0.591 GB, free: 27.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001851/0.4166, allocations: 1.476 MB / 0.5924 GB, free: 26.41 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4166, allocations: 7.938 kB / 0.5924 GB, free: 26.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4166, allocations: 0 / 0.5924 GB, free: 26.4 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4167, allocations: 12.03 kB / 0.5924 GB, free: 26.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/0.4187, allocations: 0.5191 MB / 0.5929 GB, free: 25.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4187, allocations: 8 kB / 0.5929 GB, free: 25.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/0.4195, allocations: 123 kB / 0.5931 GB, free: 25.74 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/0.4196, allocations: 40 kB / 0.5931 GB, free: 25.7 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.0002216/0.4198, allocations: 217.5 kB / 0.5933 GB, free: 25.48 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4199, allocations: 47.47 kB / 0.5933 GB, free: 25.43 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.4202, allocations: 144 kB / 0.5935 GB, free: 25.29 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.4202, allocations: 12 kB / 0.5935 GB, free: 25.27 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4202, allocations: 0 / 0.5935 GB, free: 25.27 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4202, allocations: 3.984 kB / 0.5935 GB, free: 25.27 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007841/0.421, allocations: 0.794 MB / 0.5943 GB, free: 24.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.421, allocations: 0 / 0.5943 GB, free: 24.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/0.4236, allocations: 0.5385 MB / 0.5948 GB, free: 23.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4236, allocations: 0 / 0.5948 GB, free: 23.89 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.359e-05/0.4237, allocations: 43.95 kB / 0.5948 GB, free: 23.85 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4237, allocations: 4 kB / 0.5948 GB, free: 23.84 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4237, allocations: 0 / 0.5948 GB, free: 23.84 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.426, allocations: 1.96 MB / 0.5968 GB, free: 21.87 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.426, allocations: 124.4 kB / 0.5969 GB, free: 21.73 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.4262, allocations: 51.89 kB / 0.5969 GB, free: 21.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/0.4269, allocations: 63.7 kB / 0.597 GB, free: 21.62 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.427, allocations: 60.91 kB / 0.597 GB, free: 21.55 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.4271, allocations: 24 kB / 0.5971 GB, free: 21.53 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.366e-05/0.4272, allocations: 107.2 kB / 0.5972 GB, free: 21.43 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4272, allocations: 0 / 0.5972 GB, free: 21.43 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005014/0.4277, allocations: 311.8 kB / 0.5975 GB, free: 21.12 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.00245/0.4301, allocations: 2.554 MB / 0.6 GB, free: 18.54 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.4317, allocations: 1.326 MB / 0.6013 GB, free: 17.21 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4317, allocations: 0 / 0.6013 GB, free: 17.21 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007372/0.4324, allocations: 0.6537 MB / 0.6019 GB, free: 16.55 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.433, allocations: 143.5 kB / 0.602 GB, free: 16.42 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.4435, allocations: 11.38 MB / 0.6132 GB, free: 4.941 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.4438, allocations: 0.9152 MB / 0.614 GB, free: 4.004 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0009453/0.4448, allocations: 392.5 kB / 0.6144 GB, free: 3.617 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.4452, allocations: 187.4 kB / 0.6146 GB, free: 3.434 MB / 462.3 MB Notification: Performance of SimCode: time 6.12e-07/0.4452, allocations: 0 / 0.6146 GB, free: 3.434 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7281/1.173, allocations: 16.73 MB / 0.6309 GB, free: 2.973 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/1.174, allocations: 264.3 kB / 0.6312 GB, free: 2.617 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/3.362, allocations: 10.59 kB / 0.6312 GB, free: 2.609 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