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.001125/0.001125, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001107/0.001107, allocations: 190 kB / 17.54 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.14/1.14, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7049/0.7049, allocations: 119.3 MB / 410.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 55.91 kB / 0.4919 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.367, allocations: 80.69 MB / 0.5707 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.001802/0.3688, allocations: 1.527 MB / 0.5722 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002047/0.369, allocations: 93.81 kB / 0.5723 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.3691, allocations: 4 kB / 0.5723 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.406e-05/0.3692, allocations: 14.52 kB / 0.5723 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.3693, allocations: 56.12 kB / 0.5723 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.3694, allocations: 26.92 kB / 0.5724 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006381/0.3701, allocations: 1.089 MB / 0.5734 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.3701, allocations: 12.19 kB / 0.5734 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.3704, allocations: 396.7 kB / 0.5738 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.3709, allocations: 0.5733 MB / 0.5744 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.371, allocations: 60.22 kB / 0.5744 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3712, allocations: 61.41 kB / 0.5745 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.3714, allocations: 374.3 kB / 0.5748 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.3717, allocations: 391.5 kB / 0.5752 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.3721, allocations: 0.6507 MB / 0.5758 GB, free: 40.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3721, allocations: 0 / 0.5758 GB, free: 40.58 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3721, allocations: 0 / 0.5758 GB, free: 40.58 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3721, allocations: 0 / 0.5758 GB, free: 40.58 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.003609/0.3757, allocations: 1.441 MB / 0.5773 GB, free: 39.68 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3757, allocations: 9.25 kB / 0.5773 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.3759, allocations: 100.8 kB / 0.5774 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.376, allocations: 60.34 kB / 0.5774 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.3764, allocations: 352 kB / 0.5778 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.3765, allocations: 54.25 kB / 0.5778 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.3766, allocations: 102.2 kB / 0.5779 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.3778, allocations: 0.8783 MB / 0.5788 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3778, allocations: 3.938 kB / 0.5788 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.3779, allocations: 29.06 kB / 0.5788 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3779, allocations: 12.62 kB / 0.5788 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.379, allocations: 0.7685 MB / 0.5796 GB, free: 38.35 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/0.3837, allocations: 4.314 MB / 0.5838 GB, free: 34.65 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.385, allocations: 0.99 MB / 0.5847 GB, free: 34.18 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007861/0.3858, allocations: 0.6711 MB / 0.5854 GB, free: 33.84 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.561e-05/0.3859, allocations: 15.08 kB / 0.5854 GB, free: 33.83 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.3859, allocations: 47.25 kB / 0.5854 GB, free: 33.78 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 1.763e-06/0.3859, allocations: 0 / 0.5854 GB, free: 33.78 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002172/0.3881, allocations: 1.66 MB / 0.5871 GB, free: 32.25 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.3881, allocations: 60.41 kB / 0.5871 GB, free: 32.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.3882, allocations: 148.6 kB / 0.5873 GB, free: 32.02 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/0.3883, allocations: 49.7 kB / 0.5873 GB, free: 31.97 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.3883, allocations: 153.8 kB / 0.5875 GB, free: 31.81 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.3885, allocations: 414.1 kB / 0.5879 GB, free: 31.4 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.3888, allocations: 227 kB / 0.5881 GB, free: 31.18 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.3888, allocations: 362.8 kB / 0.5884 GB, free: 30.81 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/0.3895, allocations: 0.5764 MB / 0.589 GB, free: 30.23 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007226/0.3903, allocations: 0.6676 MB / 0.5896 GB, free: 29.56 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.3917, allocations: 1.273 MB / 0.5909 GB, free: 28.29 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3917, allocations: 0 / 0.5909 GB, free: 28.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001736/0.3935, allocations: 1.48 MB / 0.5923 GB, free: 26.8 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3935, allocations: 8.031 kB / 0.5923 GB, free: 26.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3935, allocations: 0 / 0.5923 GB, free: 26.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3935, allocations: 8 kB / 0.5923 GB, free: 26.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.3954, allocations: 0.5307 MB / 0.5929 GB, free: 26.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.3955, allocations: 4 kB / 0.5929 GB, free: 26.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/0.3962, allocations: 127 kB / 0.593 GB, free: 26.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.3963, allocations: 36 kB / 0.593 GB, free: 26.09 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.0002218/0.3965, allocations: 217.5 kB / 0.5932 GB, free: 25.86 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3966, allocations: 47.47 kB / 0.5933 GB, free: 25.82 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.3969, allocations: 148 kB / 0.5934 GB, free: 25.67 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3969, allocations: 12 kB / 0.5934 GB, free: 25.66 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3969, allocations: 0 / 0.5934 GB, free: 25.66 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3969, allocations: 3.984 kB / 0.5934 GB, free: 25.65 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/0.3976, allocations: 0.7979 MB / 0.5942 GB, free: 24.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3976, allocations: 0 / 0.5942 GB, free: 24.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002456/0.4001, allocations: 0.5269 MB / 0.5947 GB, free: 24.28 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4001, allocations: 4 kB / 0.5947 GB, free: 24.28 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-05/0.4002, allocations: 43.95 kB / 0.5948 GB, free: 24.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4002, allocations: 4 kB / 0.5948 GB, free: 24.23 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4002, allocations: 0 / 0.5948 GB, free: 24.23 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.4024, allocations: 1.972 MB / 0.5967 GB, free: 22.25 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.4024, allocations: 128.4 kB / 0.5968 GB, free: 22.1 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.4026, allocations: 39.97 kB / 0.5969 GB, free: 22.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/0.4033, allocations: 67.69 kB / 0.5969 GB, free: 22 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.4035, allocations: 56.91 kB / 0.597 GB, free: 21.94 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/0.4035, allocations: 28 kB / 0.597 GB, free: 21.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.006e-05/0.4036, allocations: 95.27 kB / 0.5971 GB, free: 21.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4036, allocations: 0 / 0.5971 GB, free: 21.82 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000494/0.4041, allocations: 311.8 kB / 0.5974 GB, free: 21.51 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.002336/0.4064, allocations: 2.566 MB / 0.5999 GB, free: 18.91 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.4086, allocations: 1.955 MB / 0.6018 GB, free: 16.96 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4086, allocations: 0 / 0.6018 GB, free: 16.96 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.4094, allocations: 0.6576 MB / 0.6024 GB, free: 16.3 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.4099, allocations: 143.8 kB / 0.6026 GB, free: 16.16 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009838/0.4198, allocations: 11.33 MB / 0.6136 GB, free: 4.738 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.42, allocations: 0.9152 MB / 0.6145 GB, free: 3.801 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0008646/0.4209, allocations: 388.5 kB / 0.6149 GB, free: 3.418 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.4213, allocations: 187.4 kB / 0.6151 GB, free: 3.234 MB / 462.3 MB Notification: Performance of SimCode: time 3.31e-07/0.4213, allocations: 3.938 kB / 0.6151 GB, free: 3.23 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5956/1.017, allocations: 17.13 MB / 0.6318 GB, free: 2.402 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/1.017, allocations: 265.1 kB / 0.6321 GB, free: 2.094 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.303, allocations: 0 / 0.6321 GB, free: 2.094 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","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches