Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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.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_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_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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") [: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.000927/0.0009271, allocations: 182 kB / 8.13 MB, free: 2.215 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.032/1.032, allocations: 221.4 MB / 229.9 MB, free: 2.996 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.0008612/0.0008612, allocations: 102.2 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5952/0.5952, allocations: 120.5 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.1e-06/5.12e-06, allocations: 0 / 0.5289 GB, free: 51.79 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 82.86 MB / 0.6098 GB, free: 2.805 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4145/0.5193, allocations: 124.7 MB / 0.7317 GB, free: 4.562 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001118/0.5194, allocations: 48.08 kB / 0.7317 GB, free: 4.547 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01488/0.5343, allocations: 5.251 MB / 0.7368 GB, free: 36 kB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.5344, allocations: 4 kB / 0.7368 GB, free: 32 kB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001565/0.5359, allocations: 0.7536 MB / 0.7376 GB, free: 15.24 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.536, allocations: 8.031 kB / 0.7376 GB, free: 15.23 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.416e-05/0.5361, allocations: 35.62 kB / 0.7376 GB, free: 15.2 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.5366, allocations: 287.3 kB / 0.7379 GB, free: 14.88 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.5367, allocations: 11.91 kB / 0.7379 GB, free: 14.86 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/0.5368, allocations: 44.97 kB / 0.7379 GB, free: 14.82 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005386/0.5373, allocations: 365 kB / 0.7383 GB, free: 14.56 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.5379, allocations: 410.5 kB / 0.7387 GB, free: 14.23 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.5379, allocations: 0 / 0.7387 GB, free: 14.23 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.538, allocations: 0 / 0.7387 GB, free: 14.23 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.538, allocations: 8 kB / 0.7387 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002662/0.5407, allocations: 2.075 MB / 0.7407 GB, free: 12 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.5413, allocations: 435 kB / 0.7411 GB, free: 11.67 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004027/0.5417, allocations: 316 kB / 0.7414 GB, free: 11.46 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.5418, allocations: 4.438 kB / 0.7414 GB, free: 11.46 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.5418, allocations: 38.94 kB / 0.7415 GB, free: 11.41 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=49): time 1.392e-06/0.5418, allocations: 0 / 0.7415 GB, free: 11.41 MB / 0.5109 GB Notification: Performance of matching and sorting (n=49): time 0.0008837/0.5427, allocations: 0.562 MB / 0.742 GB, free: 10.96 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.5427, allocations: 59.84 kB / 0.7421 GB, free: 10.89 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.5428, allocations: 124.4 kB / 0.7422 GB, free: 10.77 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.5429, allocations: 26.64 kB / 0.7422 GB, free: 10.74 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.5429, allocations: 119 kB / 0.7423 GB, free: 10.63 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.5431, allocations: 199.4 kB / 0.7425 GB, free: 10.46 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.5431, allocations: 0 / 0.7425 GB, free: 10.46 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5432, allocations: 344.7 kB / 0.7429 GB, free: 10.12 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.5436, allocations: 270.9 kB / 0.7431 GB, free: 9.934 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.544, allocations: 313.4 kB / 0.7434 GB, free: 9.699 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.5444, allocations: 314.6 kB / 0.7437 GB, free: 9.469 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5444, allocations: 4 kB / 0.7437 GB, free: 9.465 MB / 0.5109 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009655/0.5454, allocations: 0.6954 MB / 0.7444 GB, free: 8.91 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.5454, allocations: 7.938 kB / 0.7444 GB, free: 8.902 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.5454, allocations: 0 / 0.7444 GB, free: 8.902 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5455, allocations: 4 kB / 0.7444 GB, free: 8.898 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.5465, allocations: 255.4 kB / 0.7446 GB, free: 8.652 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.5466, allocations: 4 kB / 0.7447 GB, free: 8.648 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.5469, allocations: 43.55 kB / 0.7447 GB, free: 8.605 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.547, allocations: 15.31 kB / 0.7447 GB, free: 8.594 MB / 0.5109 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 (77): * Single equations (assignments): 77 * 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.0001206/0.5471, allocations: 112.8 kB / 0.7448 GB, free: 8.477 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.5472, allocations: 26.84 kB / 0.7448 GB, free: 8.453 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.5473, allocations: 73.36 kB / 0.7449 GB, free: 8.438 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.5474, allocations: 4 kB / 0.7449 GB, free: 8.434 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5474, allocations: 0 / 0.7449 GB, free: 8.434 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5474, allocations: 7.844 kB / 0.7449 GB, free: 8.426 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.5479, allocations: 432.9 kB / 0.7453 GB, free: 8.02 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5479, allocations: 0 / 0.7453 GB, free: 8.02 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.5493, allocations: 250.7 kB / 0.7456 GB, free: 7.781 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5493, allocations: 4 kB / 0.7456 GB, free: 7.777 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-05/0.5494, allocations: 15.98 kB / 0.7456 GB, free: 7.762 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5494, allocations: 0.6875 kB / 0.7456 GB, free: 7.762 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5494, allocations: 0 / 0.7456 GB, free: 7.762 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00123/0.5507, allocations: 0.9751 MB / 0.7465 GB, free: 6.992 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.5507, allocations: 112.7 kB / 0.7467 GB, free: 6.863 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.294e-05/0.5508, allocations: 11.98 kB / 0.7467 GB, free: 6.852 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.5512, allocations: 17.58 kB / 0.7467 GB, free: 6.836 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.5513, allocations: 23.41 kB / 0.7467 GB, free: 6.816 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.5513, allocations: 15.48 kB / 0.7467 GB, free: 6.805 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.186e-05/0.5514, allocations: 93.47 kB / 0.7468 GB, free: 6.719 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003815/0.5518, allocations: 139.8 kB / 0.7469 GB, free: 6.582 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],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 () * 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 (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.0001285/0.5519, allocations: 119.8 kB / 0.7471 GB, free: 6.461 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0007967/0.5527, allocations: 0.6184 MB / 0.7477 GB, free: 5.992 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5527, allocations: 3.375 kB / 0.7477 GB, free: 5.992 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.5531, allocations: 310.4 kB / 0.748 GB, free: 5.773 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.5534, allocations: 55.97 kB / 0.748 GB, free: 5.73 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.5563, allocations: 2.291 MB / 0.7503 GB, free: 3.465 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/0.5569, allocations: 0.837 MB / 0.7511 GB, free: 2.609 MB / 0.5109 GB Notification: Performance of SimCode: time 2.5e-07/0.5569, allocations: 0 / 0.7511 GB, free: 2.609 MB / 0.5109 GB Notification: Performance of Templates: time 0.009635/0.5665, allocations: 6.974 MB / 0.7579 GB, free: 11.71 MB / 0.5265 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches