Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-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_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_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 192.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 10.97 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.001125/0.001125, allocations: 98.5 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8846/0.8846, allocations: 119.3 MB / 460.6 MB, free: 9.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 55.2 kB / 0.5405 GB, free: 41.93 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1483, allocations: 80.69 MB / 0.6193 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002688/0.151, allocations: 1.472 MB / 0.6207 GB, free: 9.855 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002806/0.1514, allocations: 80.12 kB / 0.6208 GB, free: 9.777 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.1514, allocations: 7.938 kB / 0.6208 GB, free: 9.77 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.1515, allocations: 3.984 kB / 0.6208 GB, free: 9.766 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.1517, allocations: 47.73 kB / 0.6208 GB, free: 9.719 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.152, allocations: 27.95 kB / 0.6208 GB, free: 9.691 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.1525, allocations: 0.5927 MB / 0.6214 GB, free: 9.098 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.1526, allocations: 8.188 kB / 0.6214 GB, free: 9.09 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.153, allocations: 183.7 kB / 0.6216 GB, free: 8.91 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005345/0.1535, allocations: 271.4 kB / 0.6219 GB, free: 8.645 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.1536, allocations: 31.94 kB / 0.6219 GB, free: 8.613 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.16e-05/0.1537, allocations: 24 kB / 0.6219 GB, free: 8.59 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.1539, allocations: 151.6 kB / 0.6221 GB, free: 8.441 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.1543, allocations: 159.4 kB / 0.6222 GB, free: 8.285 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.1547, allocations: 287.3 kB / 0.6225 GB, free: 8.004 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1547, allocations: 0 / 0.6225 GB, free: 8.004 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1547, allocations: 0 / 0.6225 GB, free: 8.004 MB / 442.8 MB Notification: Performance of Transformations before backend: time 9.649e-06/0.1548, allocations: 4 kB / 0.6225 GB, free: 8 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.002522/0.1573, allocations: 0.7999 MB / 0.6233 GB, free: 7.148 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.362e-05/0.1574, allocations: 8.031 kB / 0.6233 GB, free: 7.141 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.1575, allocations: 28.66 kB / 0.6233 GB, free: 7.113 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.158, allocations: 244 kB / 0.6235 GB, free: 6.836 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.158, allocations: 24.81 kB / 0.6236 GB, free: 6.809 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.1581, allocations: 43.84 kB / 0.6236 GB, free: 6.766 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.1588, allocations: 379 kB / 0.624 GB, free: 6.391 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1588, allocations: 3.938 kB / 0.624 GB, free: 6.387 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.1589, allocations: 12 kB / 0.624 GB, free: 6.375 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1589, allocations: 4 kB / 0.624 GB, free: 6.371 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005685/0.1594, allocations: 341.5 kB / 0.6243 GB, free: 6.035 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.1604, allocations: 0.5964 MB / 0.6249 GB, free: 5.391 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008258/0.1612, allocations: 484 kB / 0.6254 GB, free: 4.906 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.1617, allocations: 333 kB / 0.6257 GB, free: 4.582 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.316e-05/0.1618, allocations: 8.375 kB / 0.6257 GB, free: 4.574 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.1618, allocations: 42.94 kB / 0.6257 GB, free: 4.523 MB / 442.8 MB Notification: Performance of pre-optimization done (n=49): time 1.923e-06/0.1619, allocations: 0 / 0.6257 GB, free: 4.523 MB / 442.8 MB Notification: Performance of matching and sorting (n=49): time 0.001417/0.1633, allocations: 0.8123 MB / 0.6265 GB, free: 3.703 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1633, allocations: 63.84 kB / 0.6266 GB, free: 3.629 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1635, allocations: 133.9 kB / 0.6267 GB, free: 3.492 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.1635, allocations: 37.7 kB / 0.6267 GB, free: 3.449 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.1636, allocations: 101.1 kB / 0.6268 GB, free: 3.348 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.1637, allocations: 201.1 kB / 0.627 GB, free: 3.148 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.1639, allocations: 122.3 kB / 0.6272 GB, free: 3.023 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.164, allocations: 342.8 kB / 0.6275 GB, free: 2.68 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.1645, allocations: 277.1 kB / 0.6277 GB, free: 2.41 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.165, allocations: 297.7 kB / 0.628 GB, free: 2.117 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009331/0.166, allocations: 0.6069 MB / 0.6286 GB, free: 1.508 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.166, allocations: 0 / 0.6286 GB, free: 1.508 MB / 442.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001128/0.1671, allocations: 0.7312 MB / 0.6293 GB, free: 0.7695 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1671, allocations: 4 kB / 0.6293 GB, free: 0.7656 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1672, allocations: 0 / 0.6293 GB, free: 0.7656 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1672, allocations: 4 kB / 0.6293 GB, free: 0.7617 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.1682, allocations: 259.7 kB / 0.6296 GB, free: 0.5078 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.1683, allocations: 4 kB / 0.6296 GB, free: 0.5039 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.1687, allocations: 59.5 kB / 0.6296 GB, free: 456 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.1688, allocations: 16 kB / 0.6297 GB, free: 440 kB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.000187/0.169, allocations: 161.6 kB / 0.6298 GB, free: 268 kB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.169, allocations: 23.72 kB / 0.6298 GB, free: 244 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.1693, allocations: 82.27 kB / 0.6299 GB, free: 160 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.1693, allocations: 7.984 kB / 0.6299 GB, free: 152 kB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.1693, allocations: 4 kB / 0.6299 GB, free: 148 kB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1693, allocations: 0 / 0.6299 GB, free: 148 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.1699, allocations: 453.5 kB / 0.6304 GB, free: 15.65 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1699, allocations: 0 / 0.6304 GB, free: 15.65 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.1713, allocations: 259.8 kB / 0.6306 GB, free: 15.39 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.1713, allocations: 4 kB / 0.6306 GB, free: 15.39 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.1714, allocations: 15.98 kB / 0.6306 GB, free: 15.38 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1714, allocations: 0 / 0.6306 GB, free: 15.38 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1714, allocations: 11.92 kB / 0.6306 GB, free: 15.36 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.1829, allocations: 5.699 MB / 0.6362 GB, free: 9.523 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.183, allocations: 100.8 kB / 0.6363 GB, free: 9.406 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.1831, allocations: 27.92 kB / 0.6363 GB, free: 9.379 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.1835, allocations: 27.91 kB / 0.6364 GB, free: 9.352 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.1836, allocations: 28.39 kB / 0.6364 GB, free: 9.324 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.1837, allocations: 19.92 kB / 0.6364 GB, free: 9.305 MB / 458.8 MB Notification: Performance of sorting global known variables: time 5.851e-05/0.1837, allocations: 95.27 kB / 0.6365 GB, free: 9.211 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1837, allocations: 0 / 0.6365 GB, free: 9.211 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0005717/0.1843, allocations: 212 kB / 0.6367 GB, free: 9.004 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],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.0001635/0.1845, allocations: 123.2 kB / 0.6368 GB, free: 8.875 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.1855, allocations: 0.6348 MB / 0.6374 GB, free: 8.238 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1856, allocations: 0 / 0.6374 GB, free: 8.238 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.186, allocations: 326.3 kB / 0.6377 GB, free: 7.918 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.1865, allocations: 72.98 kB / 0.6378 GB, free: 7.848 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.1902, allocations: 2.739 MB / 0.6405 GB, free: 5.062 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1906, allocations: 0.7849 MB / 0.6413 GB, free: 4.254 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0006369/0.1912, allocations: 204.1 kB / 0.6414 GB, free: 4.055 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.1915, allocations: 31.44 kB / 0.6415 GB, free: 4.023 MB / 458.8 MB Notification: Performance of SimCode: time 5.81e-07/0.1915, allocations: 0 / 0.6415 GB, free: 4.023 MB / 458.8 MB Notification: Performance of Templates: time 0.01329/0.2048, allocations: 8.467 MB / 0.6497 GB, free: 11.63 MB / 474.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches