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.00126/0.00126, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001218/0.001218, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.326/1.326, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9479/0.9479, allocations: 119.3 MB / 411.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.001201, allocations: 59.91 kB / 0.4922 GB, free: 12.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.5127, allocations: 80.68 MB / 0.571 GB, free: 43.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.00217/0.5149, allocations: 1.518 MB / 0.5725 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002606/0.5152, allocations: 89.91 kB / 0.5726 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.5152, allocations: 0 / 0.5726 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.5154, allocations: 17.3 kB / 0.5726 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.5155, allocations: 62.39 kB / 0.5727 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.5157, allocations: 29.58 kB / 0.5727 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000493/0.5162, allocations: 0.708 MB / 0.5734 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.5163, allocations: 9.516 kB / 0.5734 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.5164, allocations: 197.5 kB / 0.5736 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.5168, allocations: 311 kB / 0.5739 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.386e-05/0.5169, allocations: 33.97 kB / 0.5739 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.517, allocations: 28.94 kB / 0.5739 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.5172, allocations: 187.9 kB / 0.5741 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.5174, allocations: 189.1 kB / 0.5743 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.5176, allocations: 228 kB / 0.5745 GB, free: 41.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5176, allocations: 1.094 kB / 0.5745 GB, free: 41.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.82e-07/0.5176, allocations: 0 / 0.5745 GB, free: 41.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.5176, allocations: 0 / 0.5745 GB, free: 41.57 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.002057/0.5196, allocations: 0.8503 MB / 0.5753 GB, free: 40.95 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.5197, allocations: 9.031 kB / 0.5754 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.5198, allocations: 30.53 kB / 0.5754 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.5201, allocations: 264.7 kB / 0.5756 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.5201, allocations: 36.19 kB / 0.5757 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.5202, allocations: 49.58 kB / 0.5757 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.5209, allocations: 441.1 kB / 0.5761 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5209, allocations: 192 / 0.5761 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.521, allocations: 14.44 kB / 0.5761 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.521, allocations: 6.625 kB / 0.5762 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.5216, allocations: 383.1 kB / 0.5765 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.5242, allocations: 2.158 MB / 0.5786 GB, free: 38.33 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/0.5251, allocations: 484.6 kB / 0.5791 GB, free: 38.09 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005058/0.5256, allocations: 324.7 kB / 0.5794 GB, free: 37.94 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/0.5256, allocations: 5.062 kB / 0.5794 GB, free: 37.94 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.5257, allocations: 45.62 kB / 0.5794 GB, free: 37.89 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.533e-06/0.5257, allocations: 0 / 0.5794 GB, free: 37.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001368/0.527, allocations: 0.8115 MB / 0.5802 GB, free: 37.51 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.5271, allocations: 56.91 kB / 0.5803 GB, free: 37.44 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.5272, allocations: 131.3 kB / 0.5804 GB, free: 37.32 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.5272, allocations: 40.23 kB / 0.5805 GB, free: 37.28 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.5273, allocations: 116.8 kB / 0.5806 GB, free: 37.17 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.5274, allocations: 205 kB / 0.5808 GB, free: 36.99 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.5275, allocations: 110.1 kB / 0.5809 GB, free: 36.93 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.5276, allocations: 347.6 kB / 0.5812 GB, free: 36.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004289/0.528, allocations: 279.9 kB / 0.5815 GB, free: 36.46 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.5285, allocations: 331.7 kB / 0.5818 GB, free: 36.3 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/0.5294, allocations: 0.614 MB / 0.5824 GB, free: 36.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5294, allocations: 0 / 0.5824 GB, free: 36.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001145/0.5306, allocations: 0.7368 MB / 0.5831 GB, free: 35.67 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5306, allocations: 7.938 kB / 0.5831 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5306, allocations: 1.469 kB / 0.5831 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5306, allocations: 2.281 kB / 0.5831 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.5317, allocations: 257.9 kB / 0.5834 GB, free: 35.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.5317, allocations: 3.219 kB / 0.5834 GB, free: 35.62 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.5321, allocations: 64.88 kB / 0.5834 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.5321, allocations: 16.41 kB / 0.5834 GB, free: 35.57 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.0001392/0.5323, allocations: 164 kB / 0.5836 GB, free: 35.42 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.5324, allocations: 24.03 kB / 0.5836 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.5325, allocations: 79.48 kB / 0.5837 GB, free: 35.34 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5326, allocations: 5.531 kB / 0.5837 GB, free: 35.34 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5326, allocations: 0 / 0.5837 GB, free: 35.34 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5326, allocations: 5.297 kB / 0.5837 GB, free: 35.33 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.5331, allocations: 473.5 kB / 0.5842 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5331, allocations: 5.094 kB / 0.5842 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.5345, allocations: 264.7 kB / 0.5844 GB, free: 34.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.5345, allocations: 1.156 kB / 0.5844 GB, free: 34.9 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.5345, allocations: 18.17 kB / 0.5844 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5345, allocations: 1.25 kB / 0.5844 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5346, allocations: 1.25 kB / 0.5844 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.536, allocations: 1.008 MB / 0.5854 GB, free: 34.36 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.5361, allocations: 112.2 kB / 0.5855 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/0.5361, allocations: 20.83 kB / 0.5855 GB, free: 34.22 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.5365, allocations: 31.22 kB / 0.5856 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.5367, allocations: 26.3 kB / 0.5856 GB, free: 34.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.5367, allocations: 16.75 kB / 0.5856 GB, free: 34.18 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.5368, allocations: 100.4 kB / 0.5857 GB, free: 34.1 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5368, allocations: 1.25 kB / 0.5857 GB, free: 34.1 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004228/0.5372, allocations: 152.8 kB / 0.5859 GB, free: 34 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 0.000122/0.5373, allocations: 123.1 kB / 0.586 GB, free: 33.86 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008498/0.5382, allocations: 0.6387 MB / 0.5866 GB, free: 33.23 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5382, allocations: 0 / 0.5866 GB, free: 33.23 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.5386, allocations: 318.3 kB / 0.5869 GB, free: 32.92 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.539, allocations: 75.89 kB / 0.587 GB, free: 32.84 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.5416, allocations: 2.397 MB / 0.5893 GB, free: 30.41 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.5418, allocations: 0.7959 MB / 0.5901 GB, free: 29.59 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.5421, allocations: 31.44 kB / 0.5901 GB, free: 29.55 MB / 462.3 MB Notification: Performance of SimCode: time 2.6e-07/0.5421, allocations: 0 / 0.5901 GB, free: 29.55 MB / 462.3 MB Notification: Performance of Templates: time 0.005621/0.5477, allocations: 5.401 MB / 0.5954 GB, free: 24.17 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches