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.001696/0.001696, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001941/0.001941, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.218/1.218, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8208/0.8208, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 63.91 kB / 0.4937 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4451, allocations: 80.68 MB / 0.5725 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002645/0.4478, allocations: 1.454 MB / 0.5739 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002742/0.4481, allocations: 94.06 kB / 0.574 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.4482, allocations: 0 / 0.574 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.004e-05/0.4483, allocations: 13.14 kB / 0.574 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.4484, allocations: 63.55 kB / 0.5741 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.4486, allocations: 30.09 kB / 0.5741 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.449, allocations: 0.5746 MB / 0.5747 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.4491, allocations: 5.5 kB / 0.5747 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.4492, allocations: 204 kB / 0.5749 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.4496, allocations: 286.9 kB / 0.5752 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.495e-05/0.4496, allocations: 28.91 kB / 0.5752 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.4497, allocations: 29.28 kB / 0.5752 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.4499, allocations: 182.5 kB / 0.5754 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.4501, allocations: 197.5 kB / 0.5756 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.4503, allocations: 334 kB / 0.5759 GB, free: 41.6 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4503, allocations: 4 kB / 0.5759 GB, free: 41.6 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.213e-06/0.4504, allocations: 7.938 kB / 0.5759 GB, free: 41.59 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4504, allocations: 0.9062 kB / 0.5759 GB, free: 41.59 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.001808/0.4522, allocations: 0.8445 MB / 0.5767 GB, free: 40.98 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.4522, allocations: 14.58 kB / 0.5767 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.351e-05/0.4523, allocations: 34.61 kB / 0.5768 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.4526, allocations: 261.8 kB / 0.577 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.4527, allocations: 28.06 kB / 0.5771 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.4527, allocations: 47.78 kB / 0.5771 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/0.4534, allocations: 447.5 kB / 0.5775 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4534, allocations: 192 / 0.5775 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.4534, allocations: 14.06 kB / 0.5775 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.4534, allocations: 11.25 kB / 0.5776 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.454, allocations: 378.3 kB / 0.5779 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.4565, allocations: 2.154 MB / 0.58 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.4572, allocations: 481.5 kB / 0.5805 GB, free: 38.13 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.4576, allocations: 324.1 kB / 0.5808 GB, free: 37.97 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.395e-05/0.4577, allocations: 5.5 kB / 0.5808 GB, free: 37.97 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.4577, allocations: 49.41 kB / 0.5808 GB, free: 37.92 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.523e-06/0.4577, allocations: 0 / 0.5808 GB, free: 37.92 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001277/0.459, allocations: 0.8077 MB / 0.5816 GB, free: 37.54 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.459, allocations: 56.88 kB / 0.5817 GB, free: 37.48 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.92e-05/0.4591, allocations: 136.3 kB / 0.5818 GB, free: 37.36 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.4592, allocations: 37.48 kB / 0.5818 GB, free: 37.32 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.4592, allocations: 116.8 kB / 0.582 GB, free: 37.2 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.4593, allocations: 205.1 kB / 0.5822 GB, free: 37.02 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.4595, allocations: 118.1 kB / 0.5823 GB, free: 36.95 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.4595, allocations: 339.7 kB / 0.5826 GB, free: 36.62 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.4599, allocations: 280.4 kB / 0.5829 GB, free: 36.5 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.4604, allocations: 334.6 kB / 0.5832 GB, free: 36.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008414/0.4612, allocations: 0.6103 MB / 0.5838 GB, free: 36.05 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4612, allocations: 0 / 0.5838 GB, free: 36.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001031/0.4623, allocations: 0.7358 MB / 0.5845 GB, free: 35.7 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4623, allocations: 5.25 kB / 0.5845 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4623, allocations: 5.062 kB / 0.5845 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4623, allocations: 3.656 kB / 0.5845 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.4634, allocations: 261.3 kB / 0.5848 GB, free: 35.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4634, allocations: 2.75 kB / 0.5848 GB, free: 35.64 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.4637, allocations: 59.03 kB / 0.5848 GB, free: 35.6 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.4638, allocations: 25 kB / 0.5848 GB, free: 35.59 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.0001338/0.4639, allocations: 167.6 kB / 0.585 GB, free: 35.44 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.464, allocations: 23.47 kB / 0.585 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.4641, allocations: 75.33 kB / 0.5851 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4641, allocations: 9.594 kB / 0.5851 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4641, allocations: 0 / 0.5851 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4642, allocations: 1 kB / 0.5851 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.4646, allocations: 477.9 kB / 0.5856 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4646, allocations: 4 kB / 0.5856 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.4659, allocations: 262 kB / 0.5858 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4659, allocations: 1.531 kB / 0.5858 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.466, allocations: 17.48 kB / 0.5858 GB, free: 34.92 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.466, allocations: 1.438 kB / 0.5858 GB, free: 34.92 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.466, allocations: 5.359 kB / 0.5858 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.4672, allocations: 1.016 MB / 0.5868 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.4673, allocations: 108.6 kB / 0.5869 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.4673, allocations: 19.98 kB / 0.587 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.4677, allocations: 19.98 kB / 0.587 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.753e-05/0.4678, allocations: 28.39 kB / 0.587 GB, free: 33.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.4678, allocations: 19.98 kB / 0.587 GB, free: 33.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.118e-05/0.4679, allocations: 95.27 kB / 0.5871 GB, free: 33.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4679, allocations: 0 / 0.5871 GB, free: 33.82 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003372/0.4682, allocations: 159.8 kB / 0.5873 GB, free: 33.66 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.473e-05/0.4683, allocations: 123.7 kB / 0.5874 GB, free: 33.53 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000794/0.4691, allocations: 0.6387 MB / 0.588 GB, free: 32.89 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4691, allocations: 0 / 0.588 GB, free: 32.89 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.4695, allocations: 326.3 kB / 0.5883 GB, free: 32.58 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.4699, allocations: 71.56 kB / 0.5884 GB, free: 32.51 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.4721, allocations: 2.249 MB / 0.5906 GB, free: 30.23 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.4722, allocations: 0.7917 MB / 0.5913 GB, free: 29.42 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003473/0.4726, allocations: 182.8 kB / 0.5915 GB, free: 29.24 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.4727, allocations: 27.44 kB / 0.5915 GB, free: 29.21 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.4727, allocations: 0 / 0.5915 GB, free: 29.21 MB / 462.3 MB Notification: Performance of Templates: time 0.007343/0.4801, allocations: 5.409 MB / 0.5968 GB, free: 23.89 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 -s gbode -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","/var/lib/jenkins1/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