Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.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: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009614/0.0009656, allocations: 107.9 kB / 16.92 MB, free: 5.785 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.0009204/0.0009204, allocations: 191.5 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.155/1.155, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7612/0.7612, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 71.89 kB / 0.4923 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3881, allocations: 80.68 MB / 0.5711 GB, free: 43.76 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001977/0.3901, allocations: 1.451 MB / 0.5725 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002173/0.3903, allocations: 90.19 kB / 0.5726 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.3904, allocations: 0 / 0.5726 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.968e-05/0.3905, allocations: 17.42 kB / 0.5726 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.505e-05/0.3906, allocations: 62.86 kB / 0.5727 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.3907, allocations: 26.14 kB / 0.5727 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.3911, allocations: 0.5723 MB / 0.5733 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.3911, allocations: 13.14 kB / 0.5733 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.3913, allocations: 211.9 kB / 0.5735 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.3916, allocations: 279 kB / 0.5737 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.3917, allocations: 29.5 kB / 0.5738 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.3917, allocations: 29.47 kB / 0.5738 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.3919, allocations: 186.8 kB / 0.574 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.3921, allocations: 197.3 kB / 0.5742 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.3923, allocations: 331.5 kB / 0.5745 GB, free: 41.45 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3923, allocations: 1.375 kB / 0.5745 GB, free: 41.45 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3923, allocations: 0 / 0.5745 GB, free: 41.45 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3923, allocations: 0 / 0.5745 GB, free: 41.45 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001945/0.3943, allocations: 0.8489 MB / 0.5753 GB, free: 40.84 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.3943, allocations: 13.45 kB / 0.5753 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.296e-05/0.3944, allocations: 35.72 kB / 0.5754 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.3946, allocations: 257.9 kB / 0.5756 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.3947, allocations: 27.41 kB / 0.5756 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.3947, allocations: 52.86 kB / 0.5757 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.3953, allocations: 442.3 kB / 0.5761 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3953, allocations: 192 / 0.5761 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.3954, allocations: 14.69 kB / 0.5761 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3954, allocations: 6.875 kB / 0.5761 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.3959, allocations: 383 kB / 0.5765 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.3983, allocations: 2.158 MB / 0.5786 GB, free: 38.22 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.399, allocations: 483.5 kB / 0.5791 GB, free: 37.99 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.3994, allocations: 323.6 kB / 0.5794 GB, free: 37.83 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.3995, allocations: 9.062 kB / 0.5794 GB, free: 37.83 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.3995, allocations: 45.62 kB / 0.5794 GB, free: 37.78 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.433e-06/0.3995, allocations: 0 / 0.5794 GB, free: 37.78 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.00124/0.4008, allocations: 0.811 MB / 0.5802 GB, free: 37.4 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.4008, allocations: 56.88 kB / 0.5803 GB, free: 37.33 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.005e-05/0.4009, allocations: 133.8 kB / 0.5804 GB, free: 37.21 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.4009, allocations: 36.23 kB / 0.5804 GB, free: 37.18 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.4009, allocations: 124.7 kB / 0.5805 GB, free: 37.05 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.4011, allocations: 205.1 kB / 0.5807 GB, free: 36.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.4012, allocations: 114.7 kB / 0.5809 GB, free: 36.81 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.712e-05/0.4013, allocations: 347.6 kB / 0.5812 GB, free: 36.47 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.4017, allocations: 276.4 kB / 0.5814 GB, free: 36.35 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.4021, allocations: 334.8 kB / 0.5818 GB, free: 36.19 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.4029, allocations: 0.6141 MB / 0.5824 GB, free: 35.89 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4029, allocations: 0 / 0.5824 GB, free: 35.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009868/0.4039, allocations: 0.7319 MB / 0.5831 GB, free: 35.55 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4039, allocations: 5.625 kB / 0.5831 GB, free: 35.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4039, allocations: 1.062 kB / 0.5831 GB, free: 35.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4039, allocations: 3.188 kB / 0.5831 GB, free: 35.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009683/0.4049, allocations: 261.5 kB / 0.5833 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4049, allocations: 6.781 kB / 0.5833 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.4053, allocations: 59.28 kB / 0.5834 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.4053, allocations: 15.75 kB / 0.5834 GB, free: 35.45 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 (77): * Single equations (assignments): 77 * 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.0001274/0.4054, allocations: 165 kB / 0.5836 GB, free: 35.3 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.4055, allocations: 22.84 kB / 0.5836 GB, free: 35.29 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.4057, allocations: 76.56 kB / 0.5837 GB, free: 35.22 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4057, allocations: 4.531 kB / 0.5837 GB, free: 35.22 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4057, allocations: 0 / 0.5837 GB, free: 35.22 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4057, allocations: 5.078 kB / 0.5837 GB, free: 35.22 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.4061, allocations: 473.8 kB / 0.5841 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4061, allocations: 0 / 0.5841 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.4073, allocations: 265.7 kB / 0.5844 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4073, allocations: 1.219 kB / 0.5844 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.4074, allocations: 21.73 kB / 0.5844 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4074, allocations: 2.219 kB / 0.5844 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4074, allocations: 0 / 0.5844 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.4086, allocations: 1.013 MB / 0.5854 GB, free: 34.24 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.4087, allocations: 108.2 kB / 0.5855 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.628e-05/0.4088, allocations: 22.08 kB / 0.5855 GB, free: 34.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.4091, allocations: 20.81 kB / 0.5855 GB, free: 34.1 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/0.4092, allocations: 30.3 kB / 0.5856 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.4092, allocations: 12.81 kB / 0.5856 GB, free: 34.08 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.606e-05/0.4093, allocations: 95.91 kB / 0.5857 GB, free: 34 MB / 462.3 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4093, allocations: 0 / 0.5857 GB, free: 34 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003526/0.4096, allocations: 161.7 kB / 0.5858 GB, free: 33.88 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * 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 9.642e-05/0.4098, allocations: 131.6 kB / 0.586 GB, free: 33.74 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009154/0.4107, allocations: 0.8026 MB / 0.5867 GB, free: 32.94 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4107, allocations: 0 / 0.5867 GB, free: 32.94 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.411, allocations: 318.3 kB / 0.587 GB, free: 32.63 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.4114, allocations: 65.09 kB / 0.5871 GB, free: 32.57 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.4137, allocations: 2.257 MB / 0.5893 GB, free: 30.28 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.4138, allocations: 0.7917 MB / 0.5901 GB, free: 29.46 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003616/0.4142, allocations: 178.8 kB / 0.5903 GB, free: 29.29 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.4144, allocations: 31.44 kB / 0.5903 GB, free: 29.26 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.4144, allocations: 0 / 0.5903 GB, free: 29.26 MB / 462.3 MB Notification: Performance of Templates: time 0.006337/0.4207, allocations: 5.408 MB / 0.5956 GB, free: 23.93 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches