Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.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_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008828/0.0008827, allocations: 180.6 kB / 17.4 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.4 MB / 223.5 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007441/0.0007443, allocations: 85.5 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8053/0.8053, allocations: 120.4 MB / 440.6 MB, free: 4.066 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004154, allocations: 12 kB / 0.5202 GB, free: 55.88 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1146, allocations: 79.99 MB / 0.5983 GB, free: 7.758 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5918/0.7064, allocations: 124.6 MB / 0.72 GB, free: 19.25 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001233/0.7066, allocations: 48.08 kB / 0.72 GB, free: 19.23 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.0294/0.736, allocations: 9.64 MB / 0.7294 GB, free: 10.47 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.372e-06/0.736, allocations: 0 / 0.7294 GB, free: 10.47 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.7361, allocations: 8 kB / 0.7294 GB, free: 10.46 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002958/0.739, allocations: 1.288 MB / 0.7307 GB, free: 9.152 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.7391, allocations: 15.97 kB / 0.7307 GB, free: 9.137 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.7393, allocations: 48.5 kB / 0.7308 GB, free: 9.094 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/0.7402, allocations: 396.6 kB / 0.7311 GB, free: 8.668 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.7402, allocations: 40.31 kB / 0.7312 GB, free: 8.645 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.7404, allocations: 95.2 kB / 0.7313 GB, free: 8.578 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.7415, allocations: 0.7367 MB / 0.732 GB, free: 8.004 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-05/0.7416, allocations: 7.938 kB / 0.732 GB, free: 7.996 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/0.7417, allocations: 11.62 kB / 0.732 GB, free: 7.996 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.7417, allocations: 12 kB / 0.732 GB, free: 7.984 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/0.7427, allocations: 0.672 MB / 0.7327 GB, free: 7.484 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.7441, allocations: 1.015 MB / 0.7337 GB, free: 6.578 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.7453, allocations: 0.9704 MB / 0.7346 GB, free: 5.898 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/0.7462, allocations: 0.6545 MB / 0.7353 GB, free: 5.465 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 8.433e-05/0.7463, allocations: 16.38 kB / 0.7353 GB, free: 5.449 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.7463, allocations: 43.44 kB / 0.7353 GB, free: 5.402 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=99): time 2.826e-06/0.7463, allocations: 0 / 0.7353 GB, free: 5.402 MB / 0.4953 GB Notification: Performance of matching and sorting (n=99): time 0.002483/0.7488, allocations: 1.657 MB / 0.7369 GB, free: 4.156 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.7489, allocations: 64.41 kB / 0.737 GB, free: 4.082 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.749, allocations: 145.6 kB / 0.7371 GB, free: 3.949 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 7.9e-05/0.749, allocations: 49.14 kB / 0.7372 GB, free: 3.914 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.7491, allocations: 112.3 kB / 0.7373 GB, free: 3.812 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.7493, allocations: 412.2 kB / 0.7377 GB, free: 3.461 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.7494, allocations: 28.25 kB / 0.7377 GB, free: 3.453 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.7495, allocations: 362.7 kB / 0.738 GB, free: 3.109 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008544/0.7503, allocations: 0.5677 MB / 0.7386 GB, free: 2.695 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008118/0.7511, allocations: 0.5874 MB / 0.7392 GB, free: 2.258 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.7528, allocations: 1.261 MB / 0.7404 GB, free: 1.402 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.7528, allocations: 3.938 kB / 0.7404 GB, free: 1.398 MB / 0.4953 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001984/0.7548, allocations: 1.465 MB / 0.7418 GB, free: 320 kB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.7548, allocations: 8 kB / 0.7418 GB, free: 312 kB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.7549, allocations: 0 / 0.7418 GB, free: 312 kB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.7549, allocations: 4 kB / 0.7419 GB, free: 308 kB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/0.757, allocations: 0.5305 MB / 0.7424 GB, free: 15.78 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/0.757, allocations: 4.875 kB / 0.7424 GB, free: 15.78 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008073/0.7578, allocations: 126.3 kB / 0.7425 GB, free: 15.67 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.758, allocations: 35.62 kB / 0.7425 GB, free: 15.65 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0003402/0.7583, allocations: 200.2 kB / 0.7427 GB, free: 15.47 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.7584, allocations: 39.61 kB / 0.7428 GB, free: 15.43 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.7587, allocations: 158.5 kB / 0.7429 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.7587, allocations: 8 kB / 0.7429 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.7587, allocations: 0 / 0.7429 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.7588, allocations: 3.984 kB / 0.7429 GB, free: 15.4 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.7599, allocations: 0.7524 MB / 0.7437 GB, free: 14.72 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.7599, allocations: 0 / 0.7437 GB, free: 14.72 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/0.7625, allocations: 0.5305 MB / 0.7442 GB, free: 14.2 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/0.7626, allocations: 4 kB / 0.7442 GB, free: 14.2 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.7627, allocations: 43.02 kB / 0.7442 GB, free: 14.17 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.7627, allocations: 4 kB / 0.7442 GB, free: 14.16 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7627, allocations: 0 / 0.7442 GB, free: 14.16 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.7656, allocations: 1.975 MB / 0.7462 GB, free: 12.7 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.7657, allocations: 124.4 kB / 0.7463 GB, free: 12.55 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.7658, allocations: 43.16 kB / 0.7463 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007178/0.7665, allocations: 51.62 kB / 0.7464 GB, free: 12.48 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.7667, allocations: 56.59 kB / 0.7464 GB, free: 12.44 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.29e-05/0.7668, allocations: 31.67 kB / 0.7464 GB, free: 12.41 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.7669, allocations: 95.2 kB / 0.7465 GB, free: 12.32 MB / 0.5109 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7669, allocations: 4 kB / 0.7465 GB, free: 12.32 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0007056/0.7676, allocations: 275 kB / 0.7468 GB, free: 12.08 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TA[11],TA[12],TA[13],TA[14],TA[15],TA[16],TA[17],TA[18],TA[19],TA[20],TB[1],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],TB[11],TB[12],TB[13],TB[14],TB[15],TB[16],TB[17],TB[18],TB[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 () * Number of clocked 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.0002687/0.7679, allocations: 152.3 kB / 0.7469 GB, free: 11.94 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.7703, allocations: 1.33 MB / 0.7482 GB, free: 10.95 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7703, allocations: 0 / 0.7482 GB, free: 10.95 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0009868/0.7713, allocations: 0.6503 MB / 0.7489 GB, free: 10.47 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.772, allocations: 132.9 kB / 0.749 GB, free: 10.38 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007635/0.7797, allocations: 5.724 MB / 0.7546 GB, free: 4.762 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.7804, allocations: 0.8774 MB / 0.7555 GB, free: 3.863 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.00165/0.782, allocations: 392.5 kB / 0.7558 GB, free: 3.48 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.7825, allocations: 51.44 kB / 0.7559 GB, free: 3.43 MB / 0.5109 GB Notification: Performance of SimCode: time 1.263e-06/0.7825, allocations: 0 / 0.7559 GB, free: 3.43 MB / 0.5109 GB Notification: Performance of Templates: time 0.01692/0.7994, allocations: 9.875 MB / 0.7655 GB, free: 9.555 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -abortSlowSimulation -alarm=300 -s=ida -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches