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.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 186.1 kB / 8.137 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 221.4 MB / 229.9 MB, free: 3.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009255, allocations: 101.3 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7291/0.7291, allocations: 120.4 MB / 452 MB, free: 13.08 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.562e-06, allocations: 0 / 0.5289 GB, free: 51.75 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1329, allocations: 82.85 MB / 0.6098 GB, free: 2.828 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5891/0.722, allocations: 124.8 MB / 0.7317 GB, free: 4.621 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001346/0.7222, allocations: 45.95 kB / 0.7317 GB, free: 4.605 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.03328/0.7555, allocations: 10.22 MB / 0.7417 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.7556, allocations: 12 kB / 0.7417 GB, free: 11.49 MB / 0.5109 GB 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.00335/0.7589, allocations: 1.311 MB / 0.743 GB, free: 10.17 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.759, allocations: 10.66 kB / 0.743 GB, free: 10.16 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.7591, allocations: 59.44 kB / 0.7431 GB, free: 10.1 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.7602, allocations: 423.6 kB / 0.7435 GB, free: 9.652 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.7602, allocations: 20 kB / 0.7435 GB, free: 9.633 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.7604, allocations: 74.41 kB / 0.7436 GB, free: 9.566 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001226/0.7616, allocations: 0.7564 MB / 0.7443 GB, free: 9.004 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.7629, allocations: 0.8136 MB / 0.7451 GB, free: 8.348 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.7629, allocations: 0 / 0.7451 GB, free: 8.348 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-05/0.763, allocations: 4 kB / 0.7451 GB, free: 8.344 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.763, allocations: 19.94 kB / 0.7451 GB, free: 8.324 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005665/0.7687, allocations: 4.185 MB / 0.7492 GB, free: 3.875 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.77, allocations: 0.8626 MB / 0.75 GB, free: 3.227 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000855/0.7709, allocations: 0.6478 MB / 0.7507 GB, free: 2.801 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 9.593e-05/0.771, allocations: 13 kB / 0.7507 GB, free: 2.789 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.771, allocations: 46.34 kB / 0.7507 GB, free: 2.742 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=99): time 4.469e-06/0.771, allocations: 0 / 0.7507 GB, free: 2.742 MB / 0.5109 GB Notification: Performance of matching and sorting (n=99): time 0.001892/0.7729, allocations: 1.153 MB / 0.7519 GB, free: 1.836 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.773, allocations: 64.41 kB / 0.7519 GB, free: 1.758 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.7731, allocations: 129 kB / 0.752 GB, free: 1.641 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.7732, allocations: 25.7 kB / 0.7521 GB, free: 1.609 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.7733, allocations: 139.9 kB / 0.7522 GB, free: 1.473 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.7736, allocations: 408.2 kB / 0.7526 GB, free: 1.121 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.7737, allocations: 0 / 0.7526 GB, free: 1.121 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7738, allocations: 365.2 kB / 0.7529 GB, free: 0.7773 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008105/0.7746, allocations: 0.5558 MB / 0.7535 GB, free: 388 kB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009129/0.7755, allocations: 0.6378 MB / 0.7541 GB, free: 15.9 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009259/0.7765, allocations: 0.6517 MB / 0.7547 GB, free: 15.42 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.7765, allocations: 0 / 0.7547 GB, free: 15.42 MB / 0.5265 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002097/0.7786, allocations: 1.419 MB / 0.7561 GB, free: 14.3 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7786, allocations: 8 kB / 0.7561 GB, free: 14.29 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.7786, allocations: 0 / 0.7561 GB, free: 14.29 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.7786, allocations: 7.906 kB / 0.7561 GB, free: 14.28 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/0.7811, allocations: 0.5173 MB / 0.7566 GB, free: 13.77 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.7811, allocations: 4 kB / 0.7566 GB, free: 13.77 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008441/0.782, allocations: 87.03 kB / 0.7567 GB, free: 13.68 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.7821, allocations: 39.06 kB / 0.7568 GB, free: 13.66 MB / 0.5265 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.7823, allocations: 120.7 kB / 0.7569 GB, free: 13.53 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.7825, allocations: 39.53 kB / 0.7569 GB, free: 13.49 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.7827, allocations: 144.8 kB / 0.7571 GB, free: 13.48 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.7828, allocations: 8 kB / 0.7571 GB, free: 13.47 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.7828, allocations: 0 / 0.7571 GB, free: 13.47 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.7828, allocations: 11.97 kB / 0.7571 GB, free: 13.46 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.7838, allocations: 0.7349 MB / 0.7578 GB, free: 12.8 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.7838, allocations: 0 / 0.7578 GB, free: 12.8 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00309/0.7869, allocations: 0.5169 MB / 0.7583 GB, free: 12.29 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.787, allocations: 4 kB / 0.7583 GB, free: 12.29 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.7871, allocations: 35.77 kB / 0.7583 GB, free: 12.26 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.7871, allocations: 4 kB / 0.7583 GB, free: 12.25 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7871, allocations: 0 / 0.7583 GB, free: 12.25 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002702/0.7898, allocations: 1.932 MB / 0.7602 GB, free: 10.77 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.79, allocations: 116.5 kB / 0.7603 GB, free: 10.64 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.7902, allocations: 35.81 kB / 0.7604 GB, free: 10.6 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.7909, allocations: 39.75 kB / 0.7604 GB, free: 10.56 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.7911, allocations: 58.16 kB / 0.7605 GB, free: 10.52 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.7912, allocations: 26.25 kB / 0.7605 GB, free: 10.5 MB / 0.5265 GB Notification: Performance of sort global known variables: time 5.648e-05/0.7913, allocations: 90.64 kB / 0.7606 GB, free: 10.41 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0006912/0.792, allocations: 275.8 kB / 0.7608 GB, free: 10.14 MB / 0.5265 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002319/0.7922, allocations: 128.7 kB / 0.761 GB, free: 10.01 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.794, allocations: 1.312 MB / 0.7622 GB, free: 9.039 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7941, allocations: 0 / 0.7622 GB, free: 9.039 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0008426/0.7949, allocations: 0.6491 MB / 0.7629 GB, free: 8.57 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.7954, allocations: 95.75 kB / 0.763 GB, free: 8.492 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006792/0.8022, allocations: 4.816 MB / 0.7677 GB, free: 3.746 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009942/0.8033, allocations: 0.9922 MB / 0.7686 GB, free: 2.742 MB / 0.5265 GB Notification: Performance of SimCode: time 5.41e-07/0.8033, allocations: 3.938 kB / 0.7686 GB, free: 2.738 MB / 0.5265 GB Notification: Performance of Templates: time 0.0214/0.8247, allocations: 14.26 MB / 0.7826 GB, free: 4.582 MB / 0.5421 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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