Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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.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_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_noopt_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_noopt_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.001399/0.001399, allocations: 190.4 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001313/0.001313, allocations: 102.5 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8929/0.8929, allocations: 119.3 MB / 460.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001089, allocations: 47.92 kB / 0.5404 GB, free: 41.94 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1789, allocations: 80.7 MB / 0.6193 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.003035/0.182, allocations: 1.484 MB / 0.6207 GB, free: 9.84 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003122/0.1823, allocations: 88.31 kB / 0.6208 GB, free: 9.754 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.1824, allocations: 0 / 0.6208 GB, free: 9.754 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1825, allocations: 7.922 kB / 0.6208 GB, free: 9.746 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.1828, allocations: 43.8 kB / 0.6208 GB, free: 9.703 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.183, allocations: 27.91 kB / 0.6209 GB, free: 9.676 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.1841, allocations: 1.057 MB / 0.6219 GB, free: 8.617 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.839e-05/0.1842, allocations: 8.188 kB / 0.6219 GB, free: 8.609 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006515/0.1849, allocations: 359.5 kB / 0.6222 GB, free: 8.258 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009297/0.1858, allocations: 0.5147 MB / 0.6227 GB, free: 7.742 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003155/0.1861, allocations: 56 kB / 0.6228 GB, free: 7.688 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.1864, allocations: 59.94 kB / 0.6229 GB, free: 7.629 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.1867, allocations: 295.3 kB / 0.6231 GB, free: 7.34 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.1871, allocations: 322.9 kB / 0.6234 GB, free: 7.023 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.1876, allocations: 0.5454 MB / 0.624 GB, free: 6.477 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1876, allocations: 0 / 0.624 GB, free: 6.477 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1876, allocations: 4 kB / 0.624 GB, free: 6.473 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1876, allocations: 4 kB / 0.624 GB, free: 6.469 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.004257/0.1919, allocations: 1.331 MB / 0.6253 GB, free: 5.09 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.192, allocations: 8.031 kB / 0.6253 GB, free: 5.082 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.1921, allocations: 52.47 kB / 0.6253 GB, free: 5.031 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005866/0.1927, allocations: 319.7 kB / 0.6257 GB, free: 4.68 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.1928, allocations: 44.94 kB / 0.6257 GB, free: 4.633 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.1929, allocations: 87.81 kB / 0.6258 GB, free: 4.547 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.1941, allocations: 0.7439 MB / 0.6265 GB, free: 3.797 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1941, allocations: 3.938 kB / 0.6265 GB, free: 3.793 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/0.1942, allocations: 23.98 kB / 0.6265 GB, free: 3.77 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1942, allocations: 12 kB / 0.6265 GB, free: 3.758 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1953, allocations: 0.6792 MB / 0.6272 GB, free: 3.078 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.197, allocations: 1.009 MB / 0.6282 GB, free: 2.012 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.1987, allocations: 0.976 MB / 0.6291 GB, free: 1.027 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.1999, allocations: 0.6759 MB / 0.6298 GB, free: 360 kB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.2, allocations: 20.92 kB / 0.6298 GB, free: 336 kB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.2001, allocations: 43.56 kB / 0.6299 GB, free: 284 kB / 442.8 MB Notification: Performance of pre-optimization done (n=99): time 2.434e-06/0.2001, allocations: 0 / 0.6299 GB, free: 284 kB / 442.8 MB Notification: Performance of matching and sorting (n=99): time 0.003312/0.2034, allocations: 1.656 MB / 0.6315 GB, free: 14.61 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.2035, allocations: 60.41 kB / 0.6315 GB, free: 14.54 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.2036, allocations: 148.9 kB / 0.6317 GB, free: 14.39 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 8.913e-05/0.2037, allocations: 57.7 kB / 0.6317 GB, free: 14.32 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.2038, allocations: 98.16 kB / 0.6318 GB, free: 14.22 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/0.2042, allocations: 421.9 kB / 0.6322 GB, free: 13.81 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.2046, allocations: 223 kB / 0.6324 GB, free: 13.59 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2048, allocations: 378.7 kB / 0.6328 GB, free: 13.21 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009211/0.2057, allocations: 0.5725 MB / 0.6334 GB, free: 12.63 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000923/0.2066, allocations: 0.6009 MB / 0.634 GB, free: 12.03 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.2086, allocations: 1.261 MB / 0.6352 GB, free: 10.77 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2086, allocations: 4 kB / 0.6352 GB, free: 10.77 MB / 458.8 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002321/0.2109, allocations: 1.476 MB / 0.6366 GB, free: 9.281 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.2109, allocations: 4 kB / 0.6366 GB, free: 9.277 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2109, allocations: 0 / 0.6366 GB, free: 9.277 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.211, allocations: 4 kB / 0.6366 GB, free: 9.273 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/0.2132, allocations: 0.5307 MB / 0.6372 GB, free: 8.742 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.2132, allocations: 4 kB / 0.6372 GB, free: 8.738 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/0.214, allocations: 119 kB / 0.6373 GB, free: 8.621 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/0.2141, allocations: 36 kB / 0.6373 GB, free: 8.586 MB / 458.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 (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.000265/0.2143, allocations: 209.5 kB / 0.6375 GB, free: 8.371 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.2144, allocations: 39.53 kB / 0.6375 GB, free: 8.332 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.2149, allocations: 148 kB / 0.6377 GB, free: 8.184 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.215, allocations: 8 kB / 0.6377 GB, free: 8.176 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.215, allocations: 3.938 kB / 0.6377 GB, free: 8.172 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.215, allocations: 11.91 kB / 0.6377 GB, free: 8.16 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.216, allocations: 0.7549 MB / 0.6384 GB, free: 7.355 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.216, allocations: 0 / 0.6384 GB, free: 7.355 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002731/0.2187, allocations: 0.5308 MB / 0.639 GB, free: 6.824 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.2187, allocations: 4 kB / 0.639 GB, free: 6.82 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.2189, allocations: 43.95 kB / 0.639 GB, free: 6.777 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.2189, allocations: 4 kB / 0.639 GB, free: 6.773 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2189, allocations: 3.938 kB / 0.639 GB, free: 6.77 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02334/0.2422, allocations: 11.06 MB / 0.6498 GB, free: 11.55 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.2423, allocations: 120.5 kB / 0.6499 GB, free: 11.42 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.2425, allocations: 39.91 kB / 0.65 GB, free: 11.38 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.2432, allocations: 59.94 kB / 0.65 GB, free: 11.32 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.2434, allocations: 64.89 kB / 0.6501 GB, free: 11.26 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/0.2435, allocations: 27.98 kB / 0.6501 GB, free: 11.23 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.428e-05/0.2436, allocations: 99.2 kB / 0.6502 GB, free: 11.13 MB / 474.8 MB Notification: Performance of sort global known variables: time 2e-07/0.2436, allocations: 0 / 0.6502 GB, free: 11.13 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000882/0.2445, allocations: 428 kB / 0.6506 GB, free: 10.71 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TA[11],TA[12],TA[13],TA[14],TA[15],TA[16],TA[17],TA[18],TA[19],TA[20],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],TB[11],TB[12],TB[13],TB[14],TB[15],TB[16],TB[17],TB[18],TB[19],TB[20],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.0002224/0.2447, allocations: 148.9 kB / 0.6508 GB, free: 10.55 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.2468, allocations: 1.334 MB / 0.6521 GB, free: 9.223 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2468, allocations: 4 kB / 0.6521 GB, free: 9.219 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009568/0.2477, allocations: 0.6654 MB / 0.6527 GB, free: 8.551 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.2484, allocations: 129 kB / 0.6528 GB, free: 8.426 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007524/0.2559, allocations: 5.487 MB / 0.6582 GB, free: 2.898 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.2564, allocations: 0.9041 MB / 0.6591 GB, free: 1.965 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001325/0.2577, allocations: 451 kB / 0.6595 GB, free: 1.523 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/0.2583, allocations: 63.44 kB / 0.6596 GB, free: 1.461 MB / 474.8 MB Notification: Performance of SimCode: time 6.41e-07/0.2583, allocations: 0 / 0.6596 GB, free: 1.461 MB / 474.8 MB Notification: Performance of Templates: time 0.04066/0.299, allocations: 17.43 MB / 0.6766 GB, free: 156 kB / 490.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches