Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/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) 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) Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009921/0.0009921, allocations: 189.8 kB / 16.61 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3407/0.3407, allocations: 225.7 MB / 243 MB, free: 4.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008991/0.0008991, allocations: 99.03 kB / 293.2 MB, free: 11.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.4002/0.4002, allocations: 119.5 MB / 462.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 47.92 kB / 0.5427 GB, free: 9.266 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1068, allocations: 80.7 MB / 0.6215 GB, free: 8.43 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.00178/0.1086, allocations: 1.511 MB / 0.623 GB, free: 6.906 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002007/0.1088, allocations: 91.67 kB / 0.623 GB, free: 6.816 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.1088, allocations: 0 / 0.623 GB, free: 6.816 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.363e-05/0.1089, allocations: 15.92 kB / 0.6231 GB, free: 6.801 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 9.185e-05/0.109, allocations: 55.77 kB / 0.6231 GB, free: 6.746 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.1092, allocations: 35.88 kB / 0.6231 GB, free: 6.711 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.000409/0.1096, allocations: 0.6356 MB / 0.6238 GB, free: 6.074 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.1096, allocations: 8 kB / 0.6238 GB, free: 6.066 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.1098, allocations: 243.5 kB / 0.624 GB, free: 5.828 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.1101, allocations: 315.3 kB / 0.6243 GB, free: 5.52 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.1102, allocations: 28 kB / 0.6243 GB, free: 5.492 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.428e-05/0.1103, allocations: 35.94 kB / 0.6244 GB, free: 5.457 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1104, allocations: 187.6 kB / 0.6245 GB, free: 5.273 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1105, allocations: 199.3 kB / 0.6247 GB, free: 5.078 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.1108, allocations: 327.2 kB / 0.625 GB, free: 4.758 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1108, allocations: 0 / 0.625 GB, free: 4.758 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1108, allocations: 3.938 kB / 0.625 GB, free: 4.754 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1108, allocations: 4 kB / 0.6251 GB, free: 4.75 MB / 442.8 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.001752/0.1125, allocations: 0.8506 MB / 0.6259 GB, free: 3.844 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.604e-05/0.1126, allocations: 15.97 kB / 0.6259 GB, free: 3.828 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.1126, allocations: 28.66 kB / 0.6259 GB, free: 3.801 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1129, allocations: 252 kB / 0.6262 GB, free: 3.516 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1129, allocations: 24.94 kB / 0.6262 GB, free: 3.488 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.879e-05/0.113, allocations: 60.27 kB / 0.6262 GB, free: 3.43 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.1135, allocations: 445.2 kB / 0.6267 GB, free: 2.988 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.1135, allocations: 3.984 kB / 0.6267 GB, free: 2.984 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.1136, allocations: 15.94 kB / 0.6267 GB, free: 2.969 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1136, allocations: 7.984 kB / 0.6267 GB, free: 2.961 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.1141, allocations: 374 kB / 0.6271 GB, free: 2.598 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.1164, allocations: 2.156 MB / 0.6292 GB, free: 172 kB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/0.117, allocations: 483.9 kB / 0.6296 GB, free: 15.68 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.1174, allocations: 318 kB / 0.6299 GB, free: 15.37 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.1175, allocations: 4.438 kB / 0.6299 GB, free: 15.37 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.1175, allocations: 42.94 kB / 0.63 GB, free: 15.32 MB / 458.8 MB Notification: Performance of pre-optimization done (n=49): time 1.292e-06/0.1175, allocations: 0 / 0.63 GB, free: 15.32 MB / 458.8 MB Notification: Performance of matching and sorting (n=49): time 0.001119/0.1186, allocations: 0.8045 MB / 0.6308 GB, free: 14.5 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.1186, allocations: 63.78 kB / 0.6308 GB, free: 14.43 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.118e-05/0.1187, allocations: 132.4 kB / 0.6309 GB, free: 14.29 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.1188, allocations: 37.7 kB / 0.631 GB, free: 14.25 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.1188, allocations: 121.1 kB / 0.6311 GB, free: 14.12 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1189, allocations: 205.1 kB / 0.6313 GB, free: 13.92 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.1191, allocations: 118.3 kB / 0.6314 GB, free: 13.8 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.1192, allocations: 342.8 kB / 0.6317 GB, free: 13.45 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.1195, allocations: 273.1 kB / 0.632 GB, free: 13.19 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.1199, allocations: 332.7 kB / 0.6323 GB, free: 12.86 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000759/0.1207, allocations: 0.6116 MB / 0.6329 GB, free: 12.24 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1207, allocations: 0 / 0.6329 GB, free: 12.24 MB / 458.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009081/0.1216, allocations: 0.735 MB / 0.6336 GB, free: 11.5 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.1216, allocations: 7.938 kB / 0.6336 GB, free: 11.49 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1216, allocations: 0 / 0.6336 GB, free: 11.49 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1216, allocations: 4 kB / 0.6336 GB, free: 11.49 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008872/0.1225, allocations: 255.7 kB / 0.6339 GB, free: 11.24 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1225, allocations: 7.984 kB / 0.6339 GB, free: 11.23 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.1229, allocations: 55.55 kB / 0.6339 GB, free: 11.18 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.1229, allocations: 24 kB / 0.634 GB, free: 11.15 MB / 458.8 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.0001229/0.123, allocations: 162 kB / 0.6341 GB, free: 10.98 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.1231, allocations: 27.66 kB / 0.6341 GB, free: 10.96 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.1232, allocations: 74.28 kB / 0.6342 GB, free: 10.89 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1232, allocations: 7.938 kB / 0.6342 GB, free: 10.88 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1232, allocations: 0 / 0.6342 GB, free: 10.88 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1232, allocations: 3.984 kB / 0.6342 GB, free: 10.88 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.1237, allocations: 469.3 kB / 0.6347 GB, free: 10.37 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1237, allocations: 4 kB / 0.6347 GB, free: 10.37 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.1249, allocations: 263.7 kB / 0.6349 GB, free: 10.11 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1249, allocations: 0 / 0.6349 GB, free: 10.11 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.1249, allocations: 23.98 kB / 0.635 GB, free: 10.09 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1249, allocations: 3.938 kB / 0.635 GB, free: 10.08 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1249, allocations: 0 / 0.635 GB, free: 10.08 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.1261, allocations: 0.9988 MB / 0.6359 GB, free: 9.062 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.1262, allocations: 112.7 kB / 0.636 GB, free: 8.934 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.1262, allocations: 15.98 kB / 0.6361 GB, free: 8.918 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.1266, allocations: 35.81 kB / 0.6361 GB, free: 8.883 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.1267, allocations: 28.39 kB / 0.6361 GB, free: 8.855 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.1267, allocations: 11.94 kB / 0.6361 GB, free: 8.844 MB / 458.8 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.1267, allocations: 99.27 kB / 0.6362 GB, free: 8.746 MB / 458.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1267, allocations: 0 / 0.6362 GB, free: 8.746 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002926/0.127, allocations: 151.9 kB / 0.6364 GB, free: 8.598 MB / 458.8 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.359e-05/0.1271, allocations: 130.1 kB / 0.6365 GB, free: 8.461 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.1279, allocations: 0.6309 MB / 0.6371 GB, free: 7.832 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1279, allocations: 0 / 0.6371 GB, free: 7.832 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.1283, allocations: 318.3 kB / 0.6374 GB, free: 7.523 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1287, allocations: 71.89 kB / 0.6375 GB, free: 7.453 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.1312, allocations: 2.37 MB / 0.6398 GB, free: 5.055 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1314, allocations: 0.7956 MB / 0.6406 GB, free: 4.23 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0003759/0.1318, allocations: 182.8 kB / 0.6407 GB, free: 4.051 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.132, allocations: 31.38 kB / 0.6408 GB, free: 4.02 MB / 458.8 MB Notification: Performance of SimCode: time 2.31e-07/0.132, allocations: 0 / 0.6408 GB, free: 4.02 MB / 458.8 MB Notification: Performance of Templates: time 0.3794/0.5114, allocations: 5.53 MB / 0.6462 GB, free: 31.2 MB / 458.9 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches