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.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_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.001056/0.001056, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.207/1.207, allocations: 222.9 MB / 240.9 MB, free: 11 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.0009565/0.0009565, allocations: 106.4 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.6422/0.6422, allocations: 119.3 MB / 460.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 55.92 kB / 0.5404 GB, free: 41.92 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1125, allocations: 80.7 MB / 0.6193 GB, free: 11.36 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002258/0.1148, allocations: 1.493 MB / 0.6207 GB, free: 9.852 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002273/0.115, allocations: 84.3 kB / 0.6208 GB, free: 9.77 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.1151, allocations: 0 / 0.6208 GB, free: 9.77 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.677e-05/0.1152, allocations: 11.92 kB / 0.6208 GB, free: 9.758 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 9.375e-05/0.1153, allocations: 43.81 kB / 0.6208 GB, free: 9.715 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.1155, allocations: 23.95 kB / 0.6209 GB, free: 9.691 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007636/0.1162, allocations: 1.057 MB / 0.6219 GB, free: 8.633 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.1163, allocations: 4.188 kB / 0.6219 GB, free: 8.629 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.1167, allocations: 363.5 kB / 0.6223 GB, free: 8.273 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006761/0.1174, allocations: 0.5108 MB / 0.6227 GB, free: 7.762 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.1176, allocations: 60 kB / 0.6228 GB, free: 7.703 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1177, allocations: 56 kB / 0.6229 GB, free: 7.648 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.1179, allocations: 299.3 kB / 0.6231 GB, free: 7.355 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.1183, allocations: 322.9 kB / 0.6235 GB, free: 7.039 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.1187, allocations: 0.5416 MB / 0.624 GB, free: 6.496 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1188, allocations: 0 / 0.624 GB, free: 6.496 MB / 442.8 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1188, allocations: 0 / 0.624 GB, free: 6.496 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1188, allocations: 0 / 0.624 GB, free: 6.496 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.003943/0.1227, allocations: 1.335 MB / 0.6253 GB, free: 5.113 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1228, allocations: 16.03 kB / 0.6253 GB, free: 5.098 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.1229, allocations: 48.47 kB / 0.6253 GB, free: 5.051 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/0.1234, allocations: 323.7 kB / 0.6257 GB, free: 4.695 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.1235, allocations: 48.94 kB / 0.6257 GB, free: 4.645 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.1236, allocations: 87.8 kB / 0.6258 GB, free: 4.559 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.1248, allocations: 0.7401 MB / 0.6265 GB, free: 3.812 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1249, allocations: 3.984 kB / 0.6265 GB, free: 3.809 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/0.1249, allocations: 15.98 kB / 0.6265 GB, free: 3.793 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1249, allocations: 12 kB / 0.6265 GB, free: 3.781 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.126, allocations: 0.6831 MB / 0.6272 GB, free: 3.098 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.1275, allocations: 1.013 MB / 0.6282 GB, free: 2.027 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.1289, allocations: 0.9799 MB / 0.6292 GB, free: 1.039 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008764/0.1298, allocations: 0.6758 MB / 0.6298 GB, free: 372 kB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.436e-05/0.1299, allocations: 13 kB / 0.6298 GB, free: 356 kB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1299, allocations: 47.56 kB / 0.6299 GB, free: 300 kB / 442.8 MB Notification: Performance of pre-optimization done (n=99): time 2.445e-06/0.1299, allocations: 0 / 0.6299 GB, free: 300 kB / 442.8 MB Notification: Performance of matching and sorting (n=99): time 0.002614/0.1325, allocations: 1.664 MB / 0.6315 GB, free: 14.62 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1326, allocations: 64.41 kB / 0.6316 GB, free: 14.54 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.1327, allocations: 144.9 kB / 0.6317 GB, free: 14.39 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 6.523e-05/0.1328, allocations: 49.7 kB / 0.6317 GB, free: 14.34 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.1328, allocations: 106.2 kB / 0.6318 GB, free: 14.23 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.1331, allocations: 417.9 kB / 0.6322 GB, free: 13.82 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/0.1334, allocations: 227 kB / 0.6325 GB, free: 13.59 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1335, allocations: 374.7 kB / 0.6328 GB, free: 13.22 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/0.1344, allocations: 0.5764 MB / 0.6334 GB, free: 12.64 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008523/0.1353, allocations: 0.5932 MB / 0.634 GB, free: 12.05 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.137, allocations: 1.261 MB / 0.6352 GB, free: 10.79 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1371, allocations: 0 / 0.6352 GB, free: 10.79 MB / 458.8 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002081/0.1391, allocations: 1.48 MB / 0.6366 GB, free: 9.297 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1392, allocations: 8 kB / 0.6366 GB, free: 9.289 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1392, allocations: 0 / 0.6366 GB, free: 9.289 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1392, allocations: 4 kB / 0.6366 GB, free: 9.285 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.1413, allocations: 0.5268 MB / 0.6372 GB, free: 8.758 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.1413, allocations: 8 kB / 0.6372 GB, free: 8.75 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.1421, allocations: 119 kB / 0.6373 GB, free: 8.633 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/0.1422, allocations: 36 kB / 0.6373 GB, free: 8.598 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.0002262/0.1424, allocations: 201.5 kB / 0.6375 GB, free: 8.391 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1425, allocations: 39.53 kB / 0.6375 GB, free: 8.352 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.143, allocations: 156 kB / 0.6377 GB, free: 8.195 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.143, allocations: 8 kB / 0.6377 GB, free: 8.188 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.143, allocations: 0 / 0.6377 GB, free: 8.188 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.143, allocations: 7.922 kB / 0.6377 GB, free: 8.18 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008765/0.1439, allocations: 0.7588 MB / 0.6385 GB, free: 7.371 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1439, allocations: 0 / 0.6385 GB, free: 7.371 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/0.1466, allocations: 0.5308 MB / 0.639 GB, free: 6.84 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.1466, allocations: 4 kB / 0.639 GB, free: 6.836 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.1467, allocations: 39.97 kB / 0.639 GB, free: 6.797 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.1467, allocations: 4 kB / 0.639 GB, free: 6.793 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1467, allocations: 0 / 0.639 GB, free: 6.793 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02207/0.1688, allocations: 11.07 MB / 0.6498 GB, free: 11.57 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.1689, allocations: 120.5 kB / 0.6499 GB, free: 11.43 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.169, allocations: 47.89 kB / 0.65 GB, free: 11.39 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/0.1698, allocations: 51.94 kB / 0.65 GB, free: 11.34 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.17, allocations: 56.86 kB / 0.6501 GB, free: 11.28 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.907e-05/0.1701, allocations: 35.92 kB / 0.6501 GB, free: 11.25 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.963e-05/0.1701, allocations: 99.27 kB / 0.6502 GB, free: 11.15 MB / 474.8 MB Notification: Performance of sort global known variables: time 2e-07/0.1701, allocations: 0 / 0.6502 GB, free: 11.15 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0008097/0.1709, allocations: 424 kB / 0.6506 GB, free: 10.73 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.0001871/0.1711, allocations: 152.8 kB / 0.6508 GB, free: 10.57 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.1731, allocations: 1.334 MB / 0.6521 GB, free: 9.238 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1731, allocations: 0 / 0.6521 GB, free: 9.238 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008982/0.174, allocations: 0.6653 MB / 0.6527 GB, free: 8.57 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.1746, allocations: 133 kB / 0.6528 GB, free: 8.441 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/0.1816, allocations: 5.487 MB / 0.6582 GB, free: 2.914 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.182, allocations: 0.9042 MB / 0.6591 GB, free: 1.98 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001325/0.1834, allocations: 447 kB / 0.6595 GB, free: 1.543 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005526/0.1839, allocations: 63.44 kB / 0.6596 GB, free: 1.48 MB / 474.8 MB Notification: Performance of SimCode: time 4.31e-07/0.1839, allocations: 0 / 0.6596 GB, free: 1.48 MB / 474.8 MB Notification: Performance of Templates: time 0.02084/0.2048, allocations: 17.44 MB / 0.6766 GB, free: 160 kB / 490.8 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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