Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.CounterCurrentHeatExchangerEquations_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.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.00132/0.00132, allocations: 190 kB / 8.139 MB, free: 2.191 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.185/1.185, allocations: 221.4 MB / 229.9 MB, free: 3.023 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.0009344/0.0009344, allocations: 99.98 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8962/0.8962, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 8.816e-06/9.077e-06, allocations: 0 / 0.5289 GB, free: 51.78 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1407, allocations: 82.85 MB / 0.6098 GB, free: 2.836 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5541/0.6949, allocations: 124.8 MB / 0.7317 GB, free: 4.332 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001426/0.695, allocations: 48.66 kB / 0.7317 GB, free: 4.316 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01738/0.7124, allocations: 5.46 MB / 0.7371 GB, free: 15.61 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.7125, allocations: 8 kB / 0.7371 GB, free: 15.6 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001749/0.7142, allocations: 0.7486 MB / 0.7378 GB, free: 14.82 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.7143, allocations: 12.03 kB / 0.7378 GB, free: 14.8 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.7144, allocations: 33.31 kB / 0.7378 GB, free: 14.77 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.7151, allocations: 298.6 kB / 0.7381 GB, free: 14.45 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.7151, allocations: 15.91 kB / 0.7381 GB, free: 14.43 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.7152, allocations: 35.28 kB / 0.7382 GB, free: 14.4 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006209/0.7158, allocations: 363 kB / 0.7385 GB, free: 14.13 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006846/0.7165, allocations: 407.8 kB / 0.7389 GB, free: 13.8 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.7165, allocations: 0 / 0.7389 GB, free: 13.8 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.7166, allocations: 0 / 0.7389 GB, free: 13.8 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.7166, allocations: 8 kB / 0.7389 GB, free: 13.79 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.7197, allocations: 2.083 MB / 0.7409 GB, free: 11.57 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007926/0.7205, allocations: 431.5 kB / 0.7414 GB, free: 11.24 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.721, allocations: 313.2 kB / 0.7417 GB, free: 11.03 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.7211, allocations: 4.438 kB / 0.7417 GB, free: 11.03 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.7211, allocations: 38.38 kB / 0.7417 GB, free: 10.98 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=49): time 3.787e-06/0.7211, allocations: 0 / 0.7417 GB, free: 10.98 MB / 0.5109 GB Notification: Performance of matching and sorting (n=49): time 0.001112/0.7222, allocations: 0.5564 MB / 0.7422 GB, free: 10.53 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.7223, allocations: 59.84 kB / 0.7423 GB, free: 10.46 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.7224, allocations: 123.3 kB / 0.7424 GB, free: 10.34 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.7225, allocations: 25.7 kB / 0.7424 GB, free: 10.31 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.7226, allocations: 120.4 kB / 0.7426 GB, free: 10.2 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.7227, allocations: 199.9 kB / 0.7427 GB, free: 10.02 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.7228, allocations: 0 / 0.7427 GB, free: 10.02 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7229, allocations: 338.6 kB / 0.7431 GB, free: 9.695 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.7233, allocations: 269.7 kB / 0.7433 GB, free: 9.504 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.7238, allocations: 315 kB / 0.7436 GB, free: 9.27 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.7243, allocations: 314.9 kB / 0.7439 GB, free: 9.039 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7243, allocations: 4 kB / 0.7439 GB, free: 9.035 MB / 0.5109 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001101/0.7254, allocations: 0.6868 MB / 0.7446 GB, free: 8.484 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.7254, allocations: 8 kB / 0.7446 GB, free: 8.477 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.7254, allocations: 3.938 kB / 0.7446 GB, free: 8.473 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.7254, allocations: 4.844 kB / 0.7446 GB, free: 8.469 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.7266, allocations: 246.1 kB / 0.7449 GB, free: 8.234 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.7267, allocations: 7.938 kB / 0.7449 GB, free: 8.227 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.7271, allocations: 43.55 kB / 0.7449 GB, free: 8.184 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.7271, allocations: 27 kB / 0.7449 GB, free: 8.164 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.0001353/0.7273, allocations: 104.9 kB / 0.745 GB, free: 8.055 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.7274, allocations: 23.72 kB / 0.7451 GB, free: 8.031 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.7275, allocations: 74.42 kB / 0.7451 GB, free: 8.016 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.7275, allocations: 8 kB / 0.7451 GB, free: 8.008 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.7275, allocations: 3.938 kB / 0.7451 GB, free: 8.004 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.7275, allocations: 3.906 kB / 0.7451 GB, free: 8 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.7281, allocations: 422.7 kB / 0.7455 GB, free: 7.602 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7281, allocations: 0 / 0.7455 GB, free: 7.602 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.7296, allocations: 255.2 kB / 0.7458 GB, free: 7.359 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.7297, allocations: 0 / 0.7458 GB, free: 7.359 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-05/0.7297, allocations: 15.98 kB / 0.7458 GB, free: 7.344 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.7297, allocations: 4 kB / 0.7458 GB, free: 7.34 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7298, allocations: 0 / 0.7458 GB, free: 7.34 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001357/0.7311, allocations: 0.9752 MB / 0.7468 GB, free: 6.574 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.7312, allocations: 112.7 kB / 0.7469 GB, free: 6.445 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.23e-05/0.7313, allocations: 15.98 kB / 0.7469 GB, free: 6.43 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.7317, allocations: 16.45 kB / 0.7469 GB, free: 6.414 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.7318, allocations: 19.72 kB / 0.7469 GB, free: 6.398 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.7319, allocations: 23.86 kB / 0.7469 GB, free: 6.379 MB / 0.5109 GB Notification: Performance of sort global known variables: time 5.408e-05/0.7319, allocations: 87.95 kB / 0.747 GB, free: 6.297 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0004361/0.7324, allocations: 135.8 kB / 0.7471 GB, free: 6.164 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.0002015/0.7326, allocations: 120.6 kB / 0.7473 GB, free: 6.039 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008579/0.7335, allocations: 0.615 MB / 0.7479 GB, free: 5.57 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7335, allocations: 0 / 0.7479 GB, free: 5.57 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.7339, allocations: 313.9 kB / 0.7482 GB, free: 5.348 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.7343, allocations: 60.22 kB / 0.7482 GB, free: 5.301 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.7376, allocations: 2.309 MB / 0.7505 GB, free: 3.02 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006366/0.7382, allocations: 0.8375 MB / 0.7513 GB, free: 2.164 MB / 0.5109 GB Notification: Performance of SimCode: time 5.81e-07/0.7382, allocations: 0 / 0.7513 GB, free: 2.164 MB / 0.5109 GB Notification: Performance of Templates: time 0.01087/0.7491, allocations: 6.982 MB / 0.7581 GB, free: 11.26 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches