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.0008712/0.0008713, allocations: 183.1 kB / 8.132 MB, free: 2.23 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.029/1.029, 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.0008645/0.0008646, allocations: 97.77 kB / 280.8 MB, free: 1.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6146/0.6146, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.191e-06/6.211e-06, allocations: 0 / 0.5289 GB, free: 51.75 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 82.85 MB / 0.6098 GB, free: 2.809 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.537, allocations: 124.7 MB / 0.7317 GB, free: 4.559 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 8.886e-05/0.5372, allocations: 45.06 kB / 0.7317 GB, free: 4.543 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01477/0.5519, allocations: 5.25 MB / 0.7368 GB, free: 44 kB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.552, allocations: 4 kB / 0.7368 GB, free: 40 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.001519/0.5535, allocations: 0.7501 MB / 0.7376 GB, free: 15.25 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.5535, allocations: 12.03 kB / 0.7376 GB, free: 15.24 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.5536, allocations: 35.61 kB / 0.7376 GB, free: 15.2 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.5542, allocations: 287.3 kB / 0.7379 GB, free: 14.88 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.5542, allocations: 15.91 kB / 0.7379 GB, free: 14.87 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.5543, allocations: 39.08 kB / 0.7379 GB, free: 14.84 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005154/0.5548, allocations: 364.1 kB / 0.7383 GB, free: 14.57 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.5554, allocations: 421 kB / 0.7387 GB, free: 14.23 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.5554, allocations: 0 / 0.7387 GB, free: 14.23 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.5554, allocations: 0 / 0.7387 GB, free: 14.23 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5555, allocations: 4 kB / 0.7387 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/0.558, allocations: 2.081 MB / 0.7407 GB, free: 12 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.5586, allocations: 429.5 kB / 0.7411 GB, free: 11.68 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.559, allocations: 317.6 kB / 0.7414 GB, free: 11.46 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.559, allocations: 8.438 kB / 0.7414 GB, free: 11.46 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.5591, allocations: 38.94 kB / 0.7415 GB, free: 11.41 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=49): time 1.393e-06/0.5591, allocations: 0 / 0.7415 GB, free: 11.41 MB / 0.5109 GB Notification: Performance of matching and sorting (n=49): time 0.0008436/0.5599, allocations: 0.5598 MB / 0.742 GB, free: 10.96 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.56, allocations: 55.84 kB / 0.7421 GB, free: 10.89 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.39e-05/0.56, allocations: 128.1 kB / 0.7422 GB, free: 10.77 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.5601, allocations: 25.7 kB / 0.7422 GB, free: 10.74 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.5601, allocations: 116.3 kB / 0.7423 GB, free: 10.63 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.5603, allocations: 197.2 kB / 0.7425 GB, free: 10.46 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.5603, allocations: 0 / 0.7425 GB, free: 10.46 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.5604, allocations: 344.4 kB / 0.7428 GB, free: 10.13 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.5608, allocations: 265.1 kB / 0.7431 GB, free: 9.941 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.5611, allocations: 318 kB / 0.7434 GB, free: 9.703 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.5615, allocations: 321.1 kB / 0.7437 GB, free: 9.469 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5615, allocations: 0 / 0.7437 GB, free: 9.469 MB / 0.5109 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008987/0.5625, allocations: 0.692 MB / 0.7444 GB, free: 8.914 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.5625, allocations: 7.984 kB / 0.7444 GB, free: 8.906 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5625, allocations: 1.016 kB / 0.7444 GB, free: 8.906 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5625, allocations: 4.562 kB / 0.7444 GB, free: 8.902 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.5636, allocations: 254.3 kB / 0.7446 GB, free: 8.66 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5636, allocations: 0 / 0.7446 GB, free: 8.66 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.5639, allocations: 47.55 kB / 0.7447 GB, free: 8.613 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.564, allocations: 19.88 kB / 0.7447 GB, free: 8.598 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.0001064/0.5641, allocations: 108.9 kB / 0.7448 GB, free: 8.484 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.5642, allocations: 23.72 kB / 0.7448 GB, free: 8.461 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.5643, allocations: 77.5 kB / 0.7449 GB, free: 8.445 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5643, allocations: 4 kB / 0.7449 GB, free: 8.441 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5643, allocations: 0 / 0.7449 GB, free: 8.441 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.5643, allocations: 7.891 kB / 0.7449 GB, free: 8.434 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.5648, allocations: 426.6 kB / 0.7453 GB, free: 8.035 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5648, allocations: 4 kB / 0.7453 GB, free: 8.031 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.5662, allocations: 251.6 kB / 0.7456 GB, free: 7.789 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.5662, allocations: 4 kB / 0.7456 GB, free: 7.785 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.5663, allocations: 15.97 kB / 0.7456 GB, free: 7.77 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5663, allocations: 4 kB / 0.7456 GB, free: 7.766 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5663, allocations: 0 / 0.7456 GB, free: 7.766 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001157/0.5675, allocations: 0.9774 MB / 0.7465 GB, free: 6.996 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.5675, allocations: 108.7 kB / 0.7467 GB, free: 6.871 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.5676, allocations: 11.98 kB / 0.7467 GB, free: 6.859 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.568, allocations: 15.89 kB / 0.7467 GB, free: 6.844 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.5681, allocations: 28.27 kB / 0.7467 GB, free: 6.82 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.5681, allocations: 11.81 kB / 0.7467 GB, free: 6.812 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.247e-05/0.5682, allocations: 96.64 kB / 0.7468 GB, free: 6.723 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003509/0.5685, allocations: 135.8 kB / 0.7469 GB, free: 6.59 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.0001352/0.5687, allocations: 120.5 kB / 0.7471 GB, free: 6.465 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0007841/0.5695, allocations: 0.6231 MB / 0.7477 GB, free: 5.996 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5695, allocations: 0 / 0.7477 GB, free: 5.996 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.5698, allocations: 317.5 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.0003002/0.5701, allocations: 61.03 kB / 0.748 GB, free: 5.723 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.573, allocations: 2.298 MB / 0.7503 GB, free: 3.457 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/0.5735, allocations: 0.8373 MB / 0.7511 GB, free: 2.602 MB / 0.5109 GB Notification: Performance of SimCode: time 2.71e-07/0.5735, allocations: 0 / 0.7511 GB, free: 2.602 MB / 0.5109 GB Notification: Performance of Templates: time 0.009307/0.5828, allocations: 6.976 MB / 0.7579 GB, free: 11.71 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/jenkins/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