Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.20..|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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.20..|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_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 190.9 kB / 16.62 MB, free: 5.066 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.3664/0.3664, allocations: 225.7 MB / 243 MB, free: 4.113 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.0008965/0.0008965, allocations: 104.3 kB / 293.3 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.4014/0.4014, allocations: 119.5 MB / 462.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 55.92 kB / 0.5427 GB, free: 9.277 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 80.71 MB / 0.6215 GB, free: 8.438 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.001838/0.1104, allocations: 1.525 MB / 0.623 GB, free: 6.902 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.1106, allocations: 87.73 kB / 0.6231 GB, free: 6.816 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.1106, allocations: 4 kB / 0.6231 GB, free: 6.812 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.467e-05/0.1107, allocations: 7.922 kB / 0.6231 GB, free: 6.805 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 9.79e-05/0.1108, allocations: 59.7 kB / 0.6231 GB, free: 6.746 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.111, allocations: 31.95 kB / 0.6232 GB, free: 6.715 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006716/0.1116, allocations: 1.088 MB / 0.6242 GB, free: 5.625 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.1117, allocations: 12 kB / 0.6242 GB, free: 5.613 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.1119, allocations: 395.5 kB / 0.6246 GB, free: 5.227 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005568/0.1125, allocations: 0.5653 MB / 0.6252 GB, free: 4.66 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1126, allocations: 64 kB / 0.6252 GB, free: 4.598 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1127, allocations: 60 kB / 0.6253 GB, free: 4.539 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.1129, allocations: 383.1 kB / 0.6256 GB, free: 4.164 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.1132, allocations: 390.6 kB / 0.626 GB, free: 3.781 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.1137, allocations: 0.6506 MB / 0.6267 GB, free: 3.129 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1137, allocations: 4 kB / 0.6267 GB, free: 3.125 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1137, allocations: 4 kB / 0.6267 GB, free: 3.121 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1137, allocations: 4 kB / 0.6267 GB, free: 3.117 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.003529/0.1172, allocations: 1.429 MB / 0.6281 GB, free: 1.633 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.1172, allocations: 8.031 kB / 0.6281 GB, free: 1.625 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1174, allocations: 60.38 kB / 0.6281 GB, free: 1.566 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.1178, allocations: 355.5 kB / 0.6285 GB, free: 1.18 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.1178, allocations: 57.69 kB / 0.6285 GB, free: 1.125 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.1179, allocations: 96.19 kB / 0.6286 GB, free: 1.031 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.1191, allocations: 0.8814 MB / 0.6295 GB, free: 144 kB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1191, allocations: 0 / 0.6295 GB, free: 144 kB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.1191, allocations: 27.94 kB / 0.6295 GB, free: 116 kB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1192, allocations: 16 kB / 0.6295 GB, free: 100 kB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.1202, allocations: 0.7663 MB / 0.6303 GB, free: 15.33 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004684/0.1249, allocations: 4.317 MB / 0.6345 GB, free: 10.49 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.1261, allocations: 0.9916 MB / 0.6354 GB, free: 9.488 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/0.1269, allocations: 0.6707 MB / 0.6361 GB, free: 8.816 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.359e-05/0.1269, allocations: 9 kB / 0.6361 GB, free: 8.809 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.127, allocations: 43.5 kB / 0.6362 GB, free: 8.754 MB / 458.8 MB Notification: Performance of pre-optimization done (n=99): time 1.903e-06/0.127, allocations: 4 kB / 0.6362 GB, free: 8.75 MB / 458.8 MB Notification: Performance of matching and sorting (n=99): time 0.002268/0.1292, allocations: 1.656 MB / 0.6378 GB, free: 7.09 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.1293, allocations: 60.41 kB / 0.6378 GB, free: 7.02 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.1294, allocations: 153.7 kB / 0.638 GB, free: 6.859 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.1294, allocations: 49.7 kB / 0.638 GB, free: 6.805 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.1295, allocations: 153.8 kB / 0.6382 GB, free: 6.648 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.1297, allocations: 414 kB / 0.6386 GB, free: 6.238 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/0.13, allocations: 231 kB / 0.6388 GB, free: 6.008 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.1301, allocations: 362.8 kB / 0.6391 GB, free: 5.645 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007559/0.1309, allocations: 0.5725 MB / 0.6397 GB, free: 5.07 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.1317, allocations: 0.6677 MB / 0.6403 GB, free: 4.398 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.1333, allocations: 1.27 MB / 0.6416 GB, free: 3.125 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1333, allocations: 4 kB / 0.6416 GB, free: 3.121 MB / 458.8 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001889/0.1352, allocations: 1.472 MB / 0.643 GB, free: 1.641 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1352, allocations: 15.92 kB / 0.643 GB, free: 1.625 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1352, allocations: 0 / 0.643 GB, free: 1.625 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1352, allocations: 4 kB / 0.643 GB, free: 1.621 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.1371, allocations: 0.5269 MB / 0.6436 GB, free: 1.094 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1372, allocations: 8 kB / 0.6436 GB, free: 1.086 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/0.1378, allocations: 123.1 kB / 0.6437 GB, free: 0.9648 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/0.1378, allocations: 32 kB / 0.6437 GB, free: 0.9336 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.0002165/0.1381, allocations: 217.5 kB / 0.6439 GB, free: 0.7109 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/0.1382, allocations: 51.45 kB / 0.644 GB, free: 0.6602 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.1385, allocations: 148 kB / 0.6441 GB, free: 0.5117 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1385, allocations: 12 kB / 0.6441 GB, free: 0.5 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1385, allocations: 4 kB / 0.6441 GB, free: 0.4961 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.1385, allocations: 7.969 kB / 0.6441 GB, free: 500 kB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3878/0.5263, allocations: 0.7898 MB / 0.6449 GB, free: 32.84 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5264, allocations: 3.828 kB / 0.6449 GB, free: 32.84 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/0.5291, allocations: 0.5283 MB / 0.6454 GB, free: 32.84 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.5291, allocations: 8.078 kB / 0.6454 GB, free: 32.84 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.5292, allocations: 42.77 kB / 0.6455 GB, free: 32.84 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.5292, allocations: 4.125 kB / 0.6455 GB, free: 32.84 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5292, allocations: 0.5156 kB / 0.6455 GB, free: 32.84 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.5318, allocations: 1.965 MB / 0.6474 GB, free: 32.22 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.5318, allocations: 137.8 kB / 0.6475 GB, free: 32.11 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.532, allocations: 38.92 kB / 0.6476 GB, free: 32.1 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/0.5327, allocations: 62.17 kB / 0.6476 GB, free: 32.08 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.5328, allocations: 54.73 kB / 0.6477 GB, free: 32.08 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/0.5329, allocations: 32.72 kB / 0.6477 GB, free: 32.07 MB / 458.9 MB Notification: Performance of sorting global known variables: time 3.871e-05/0.533, allocations: 99.77 kB / 0.6478 GB, free: 31.99 MB / 458.9 MB Notification: Performance of sort global known variables: time 1.2e-07/0.533, allocations: 0 / 0.6478 GB, free: 31.99 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.0005481/0.5335, allocations: 312.1 kB / 0.6481 GB, free: 31.95 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.0001571/0.5337, allocations: 150.2 kB / 0.6482 GB, free: 31.85 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.5355, allocations: 1.334 MB / 0.6496 GB, free: 31.47 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5355, allocations: 0 / 0.6496 GB, free: 31.47 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.5363, allocations: 0.6639 MB / 0.6502 GB, free: 31.25 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.5369, allocations: 130.5 kB / 0.6503 GB, free: 31.22 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.5418, allocations: 4.832 MB / 0.655 GB, free: 28.05 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.5421, allocations: 0.9163 MB / 0.6559 GB, free: 27.34 MB / 458.9 MB Notification: Performance of simCode: alias equations: time 0.0009094/0.5431, allocations: 397.3 kB / 0.6563 GB, free: 27.27 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.5434, allocations: 50.06 kB / 0.6564 GB, free: 27.27 MB / 458.9 MB Notification: Performance of SimCode: time 2.4e-07/0.5434, allocations: 0 / 0.6564 GB, free: 27.27 MB / 458.9 MB Notification: Performance of Templates: time 0.01271/0.5561, allocations: 11.06 MB / 0.6672 GB, free: 23.82 MB / 458.9 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches