Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.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_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|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_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009757/0.0009758, allocations: 190.9 kB / 16.62 MB, free: 5.141 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.3494/0.3494, allocations: 225.7 MB / 243 MB, free: 4.102 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.0009043/0.0009043, allocations: 108 kB / 293.2 MB, free: 11.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3955/0.3955, allocations: 119.5 MB / 462.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 51.92 kB / 0.5427 GB, free: 9.27 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1076, allocations: 80.71 MB / 0.6215 GB, free: 8.418 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001931/0.1096, allocations: 1.523 MB / 0.623 GB, free: 6.883 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002243/0.1098, allocations: 99.7 kB / 0.623 GB, free: 6.785 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.1099, allocations: 0 / 0.623 GB, free: 6.785 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.624e-05/0.11, allocations: 7.922 kB / 0.6231 GB, free: 6.777 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 9.972e-05/0.1101, allocations: 63.72 kB / 0.6231 GB, free: 6.715 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.1102, allocations: 23.95 kB / 0.6231 GB, free: 6.691 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.111, allocations: 1.217 MB / 0.6243 GB, free: 5.473 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.111, allocations: 11.98 kB / 0.6243 GB, free: 5.461 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004433/0.1115, allocations: 479.2 kB / 0.6248 GB, free: 4.992 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000684/0.1122, allocations: 0.5926 MB / 0.6254 GB, free: 4.398 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.1123, allocations: 60 kB / 0.6254 GB, free: 4.34 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.1125, allocations: 64 kB / 0.6255 GB, free: 4.277 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.1127, allocations: 379.1 kB / 0.6259 GB, free: 3.906 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.113, allocations: 390.6 kB / 0.6262 GB, free: 3.523 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.1135, allocations: 0.6467 MB / 0.6269 GB, free: 2.875 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1135, allocations: 3.938 kB / 0.6269 GB, free: 2.871 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1135, allocations: 0 / 0.6269 GB, free: 2.871 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1135, allocations: 0 / 0.6269 GB, free: 2.871 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003683/0.1172, allocations: 1.436 MB / 0.6283 GB, free: 1.379 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.1172, allocations: 12.03 kB / 0.6283 GB, free: 1.367 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.1174, allocations: 60.38 kB / 0.6283 GB, free: 1.309 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.1178, allocations: 343.6 kB / 0.6287 GB, free: 0.9336 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.1178, allocations: 57.62 kB / 0.6287 GB, free: 0.8789 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.118, allocations: 112.1 kB / 0.6288 GB, free: 0.7695 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1191, allocations: 0.8775 MB / 0.6297 GB, free: 15.88 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1191, allocations: 0 / 0.6297 GB, free: 15.88 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-05/0.1192, allocations: 27.94 kB / 0.6297 GB, free: 15.86 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1192, allocations: 12 kB / 0.6297 GB, free: 15.84 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1202, allocations: 0.7702 MB / 0.6305 GB, free: 15.07 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004771/0.125, allocations: 4.313 MB / 0.6347 GB, free: 10.24 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.1262, allocations: 0.9721 MB / 0.6356 GB, free: 9.254 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007842/0.127, allocations: 0.6658 MB / 0.6363 GB, free: 8.586 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.779e-05/0.1271, allocations: 9 kB / 0.6363 GB, free: 8.578 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1271, allocations: 51.44 kB / 0.6363 GB, free: 8.516 MB / 458.8 MB Notification: Performance of pre-optimization done (n=99): time 1.994e-06/0.1271, allocations: 0 / 0.6363 GB, free: 8.516 MB / 458.8 MB Notification: Performance of matching and sorting (n=99): time 0.002285/0.1294, allocations: 1.641 MB / 0.6379 GB, free: 6.867 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.1295, allocations: 60.41 kB / 0.638 GB, free: 6.797 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.1296, allocations: 147.3 kB / 0.6381 GB, free: 6.645 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 6.174e-05/0.1296, allocations: 49.7 kB / 0.6382 GB, free: 6.59 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.1297, allocations: 153.8 kB / 0.6383 GB, free: 6.434 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.1299, allocations: 422 kB / 0.6387 GB, free: 6.016 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.1302, allocations: 222.9 kB / 0.639 GB, free: 5.793 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.1303, allocations: 366.8 kB / 0.6393 GB, free: 5.426 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007794/0.1311, allocations: 0.5764 MB / 0.6399 GB, free: 4.848 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/0.1319, allocations: 0.6715 MB / 0.6405 GB, free: 4.172 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.1335, allocations: 1.25 MB / 0.6417 GB, free: 2.918 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1335, allocations: 0 / 0.6417 GB, free: 2.918 MB / 458.8 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001894/0.1354, allocations: 1.469 MB / 0.6432 GB, free: 1.441 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1355, allocations: 11.97 kB / 0.6432 GB, free: 1.43 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1355, allocations: 4 kB / 0.6432 GB, free: 1.426 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1355, allocations: 4 kB / 0.6432 GB, free: 1.422 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.1374, allocations: 0.5307 MB / 0.6437 GB, free: 0.8867 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1374, allocations: 4 kB / 0.6437 GB, free: 0.8828 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.1381, allocations: 123.1 kB / 0.6438 GB, free: 0.7617 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.1382, allocations: 32 kB / 0.6439 GB, free: 0.7305 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 (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.0002124/0.1384, allocations: 217.6 kB / 0.6441 GB, free: 0.5078 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/0.1385, allocations: 47.41 kB / 0.6441 GB, free: 472 kB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.1387, allocations: 152 kB / 0.6443 GB, free: 316 kB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.1388, allocations: 8 kB / 0.6443 GB, free: 308 kB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1388, allocations: 0 / 0.6443 GB, free: 308 kB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.1388, allocations: 7.984 kB / 0.6443 GB, free: 300 kB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.39/0.5287, allocations: 0.7988 MB / 0.6451 GB, free: 32.93 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5288, allocations: 0.9688 kB / 0.6451 GB, free: 32.93 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/0.5314, allocations: 0.5248 MB / 0.6456 GB, free: 32.93 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.5314, allocations: 14.34 kB / 0.6456 GB, free: 32.93 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.973e-05/0.5316, allocations: 45.11 kB / 0.6456 GB, free: 32.93 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.5316, allocations: 3.25 kB / 0.6456 GB, free: 32.93 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5316, allocations: 0 / 0.6456 GB, free: 32.93 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.5341, allocations: 1.954 MB / 0.6475 GB, free: 32.28 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.5342, allocations: 130 kB / 0.6477 GB, free: 32.17 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.5343, allocations: 43.33 kB / 0.6477 GB, free: 32.16 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.535, allocations: 66.72 kB / 0.6478 GB, free: 32.14 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.5352, allocations: 58.94 kB / 0.6478 GB, free: 32.13 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/0.5353, allocations: 30.72 kB / 0.6479 GB, free: 32.12 MB / 458.9 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.5353, allocations: 101.6 kB / 0.6479 GB, free: 32.05 MB / 458.9 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5353, allocations: 0 / 0.6479 GB, free: 32.05 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.0005435/0.5359, allocations: 310.9 kB / 0.6482 GB, free: 32.01 MB / 458.9 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.0001491/0.536, allocations: 150.2 kB / 0.6484 GB, free: 31.9 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.5378, allocations: 1.329 MB / 0.6497 GB, free: 31.53 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5378, allocations: 0 / 0.6497 GB, free: 31.53 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0008399/0.5386, allocations: 0.6524 MB / 0.6503 GB, free: 31.32 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.5392, allocations: 132.6 kB / 0.6505 GB, free: 31.29 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.5443, allocations: 4.869 MB / 0.6552 GB, free: 28.1 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.5446, allocations: 0.9169 MB / 0.6561 GB, free: 27.39 MB / 458.9 MB Notification: Performance of simCode: alias equations: time 0.0008936/0.5455, allocations: 392.6 kB / 0.6565 GB, free: 27.33 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.5459, allocations: 50.03 kB / 0.6565 GB, free: 27.32 MB / 458.9 MB Notification: Performance of SimCode: time 2.4e-07/0.5459, allocations: 0.9062 kB / 0.6565 GB, free: 27.32 MB / 458.9 MB Notification: Performance of Templates: time 0.01281/0.5587, allocations: 11.05 MB / 0.6673 GB, free: 23.82 MB / 458.9 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches