Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001029/0.001029, allocations: 182.2 kB / 8.128 MB, free: 2.223 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.242/1.242, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0009364/0.0009362, allocations: 98.39 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7952/0.7952, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.243e-06/7.274e-06, allocations: 0 / 0.5289 GB, free: 51.81 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 82.86 MB / 0.6099 GB, free: 2.812 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5163/0.6478, allocations: 124.7 MB / 0.7317 GB, free: 4.055 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001102/0.648, allocations: 48.97 kB / 0.7317 GB, free: 4.039 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01637/0.6643, allocations: 5.249 MB / 0.7368 GB, free: 15.51 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.6644, allocations: 4 kB / 0.7368 GB, free: 15.5 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.001643/0.666, allocations: 0.75 MB / 0.7376 GB, free: 14.72 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.6661, allocations: 10.66 kB / 0.7376 GB, free: 14.71 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.564e-05/0.6662, allocations: 35.62 kB / 0.7376 GB, free: 14.68 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.6668, allocations: 298 kB / 0.7379 GB, free: 14.35 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.6669, allocations: 11.91 kB / 0.7379 GB, free: 14.34 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.667, allocations: 36.78 kB / 0.7379 GB, free: 14.3 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000634/0.6676, allocations: 364.2 kB / 0.7383 GB, free: 14.04 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.6683, allocations: 416.2 kB / 0.7387 GB, free: 13.7 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.6683, allocations: 0 / 0.7387 GB, free: 13.7 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.6683, allocations: 0 / 0.7387 GB, free: 13.7 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.6684, allocations: 8 kB / 0.7387 GB, free: 13.69 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.6714, allocations: 2.079 MB / 0.7407 GB, free: 11.47 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.6721, allocations: 433.1 kB / 0.7411 GB, free: 11.14 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.6725, allocations: 309.1 kB / 0.7414 GB, free: 10.94 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.6725, allocations: 4.438 kB / 0.7414 GB, free: 10.94 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.6726, allocations: 50.73 kB / 0.7415 GB, free: 10.88 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=49): time 1.503e-06/0.6726, allocations: 0 / 0.7415 GB, free: 10.88 MB / 0.5109 GB Notification: Performance of matching and sorting (n=49): time 0.0009679/0.6736, allocations: 0.5653 MB / 0.742 GB, free: 10.43 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.6736, allocations: 55.84 kB / 0.7421 GB, free: 10.36 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.6737, allocations: 120 kB / 0.7422 GB, free: 10.25 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.6738, allocations: 25.7 kB / 0.7422 GB, free: 10.21 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.6738, allocations: 112.5 kB / 0.7423 GB, free: 10.11 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.674, allocations: 202.2 kB / 0.7425 GB, free: 9.934 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.674, allocations: 4 kB / 0.7425 GB, free: 9.93 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6742, allocations: 336.9 kB / 0.7429 GB, free: 9.602 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.6746, allocations: 270.7 kB / 0.7431 GB, free: 9.41 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.675, allocations: 316.3 kB / 0.7434 GB, free: 9.176 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.6754, allocations: 313.2 kB / 0.7437 GB, free: 8.945 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6754, allocations: 0.9375 kB / 0.7437 GB, free: 8.945 MB / 0.5109 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001063/0.6765, allocations: 0.6971 MB / 0.7444 GB, free: 8.387 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.6765, allocations: 8.031 kB / 0.7444 GB, free: 8.379 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.6765, allocations: 0 / 0.7444 GB, free: 8.379 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.6766, allocations: 4 kB / 0.7444 GB, free: 8.375 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.6777, allocations: 255 kB / 0.7446 GB, free: 8.133 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.6777, allocations: 5.125 kB / 0.7447 GB, free: 8.129 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.6781, allocations: 39.52 kB / 0.7447 GB, free: 8.09 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/0.6782, allocations: 19.25 kB / 0.7447 GB, free: 8.074 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.0001507/0.6784, allocations: 120.8 kB / 0.7448 GB, free: 7.949 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.6784, allocations: 23.66 kB / 0.7448 GB, free: 7.926 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.6786, allocations: 72.06 kB / 0.7449 GB, free: 7.914 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6786, allocations: 4 kB / 0.7449 GB, free: 7.91 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.6786, allocations: 0 / 0.7449 GB, free: 7.91 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.6786, allocations: 7.891 kB / 0.7449 GB, free: 7.902 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.6793, allocations: 420.5 kB / 0.7453 GB, free: 7.508 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6793, allocations: 2.875 kB / 0.7453 GB, free: 7.508 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.6808, allocations: 255.1 kB / 0.7456 GB, free: 7.262 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6808, allocations: 0 / 0.7456 GB, free: 7.262 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/0.6809, allocations: 18.92 kB / 0.7456 GB, free: 7.246 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.6809, allocations: 0 / 0.7456 GB, free: 7.246 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6809, allocations: 3.938 kB / 0.7456 GB, free: 7.242 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001357/0.6823, allocations: 0.9789 MB / 0.7465 GB, free: 6.469 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.6823, allocations: 104.7 kB / 0.7466 GB, free: 6.348 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.6824, allocations: 11.98 kB / 0.7467 GB, free: 6.336 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.6828, allocations: 19.89 kB / 0.7467 GB, free: 6.316 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.683, allocations: 27.77 kB / 0.7467 GB, free: 6.293 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.683, allocations: 11 kB / 0.7467 GB, free: 6.285 MB / 0.5109 GB Notification: Performance of sort global known variables: time 5.263e-05/0.6831, allocations: 98.64 kB / 0.7468 GB, free: 6.195 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0004054/0.6835, allocations: 135.8 kB / 0.7469 GB, free: 6.062 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.0001604/0.6836, allocations: 112.6 kB / 0.747 GB, free: 5.945 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008775/0.6845, allocations: 0.6284 MB / 0.7477 GB, free: 5.469 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6845, allocations: 3.188 kB / 0.7477 GB, free: 5.469 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.685, allocations: 308.1 kB / 0.748 GB, free: 5.254 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.6853, allocations: 59.08 kB / 0.748 GB, free: 5.203 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.6885, allocations: 2.301 MB / 0.7503 GB, free: 2.934 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006092/0.6891, allocations: 0.8409 MB / 0.7511 GB, free: 2.074 MB / 0.5109 GB Notification: Performance of SimCode: time 2.8e-07/0.6891, allocations: 0 / 0.7511 GB, free: 2.074 MB / 0.5109 GB Notification: Performance of Templates: time 0.01053/0.6996, allocations: 6.972 MB / 0.7579 GB, free: 11.18 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches