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 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_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 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 180.9 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009276, allocations: 96.03 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7562/0.7562, allocations: 120.5 MB / 463 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.000295, allocations: 8 kB / 0.5446 GB, free: 41.2 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1475, allocations: 82.85 MB / 0.6255 GB, free: 7.906 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6715/0.8191, allocations: 125.6 MB / 0.7482 GB, free: 8.484 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001442/0.8193, allocations: 46.98 kB / 0.7482 GB, free: 8.465 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03614/0.8554, allocations: 10.76 MB / 0.7587 GB, free: 14.52 MB / 0.5263 GB Notification: Performance of FrontEnd: time 9.02e-07/0.8555, allocations: 0 / 0.7587 GB, free: 14.52 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.696e-05/0.8555, allocations: 12 kB / 0.7588 GB, free: 14.51 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004004/0.8595, allocations: 1.361 MB / 0.7601 GB, free: 13.13 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8596, allocations: 12.03 kB / 0.7601 GB, free: 13.12 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.8599, allocations: 71.33 kB / 0.7602 GB, free: 13.05 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.8613, allocations: 427.2 kB / 0.7606 GB, free: 12.59 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.8613, allocations: 52.44 kB / 0.7606 GB, free: 12.56 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.8616, allocations: 106.4 kB / 0.7607 GB, free: 12.49 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.8633, allocations: 0.869 MB / 0.7616 GB, free: 11.82 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.8633, allocations: 0 / 0.7616 GB, free: 11.82 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.727e-05/0.8635, allocations: 22.81 kB / 0.7616 GB, free: 11.81 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.8635, allocations: 15.95 kB / 0.7616 GB, free: 11.8 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.8647, allocations: 0.7701 MB / 0.7624 GB, free: 11.22 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006237/0.871, allocations: 4.349 MB / 0.7666 GB, free: 6.645 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.8724, allocations: 0.9683 MB / 0.7676 GB, free: 5.977 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 9.21e-05/0.8726, allocations: 13 kB / 0.7676 GB, free: 5.965 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.8726, allocations: 46.94 kB / 0.7676 GB, free: 5.918 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=99): time 3.717e-06/0.8726, allocations: 0 / 0.7676 GB, free: 5.918 MB / 0.5263 GB Notification: Performance of matching and sorting (n=99): time 0.002793/0.8754, allocations: 1.646 MB / 0.7692 GB, free: 4.676 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.8755, allocations: 68.34 kB / 0.7693 GB, free: 4.598 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.8756, allocations: 132.6 kB / 0.7694 GB, free: 4.477 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/0.8757, allocations: 53.2 kB / 0.7695 GB, free: 4.438 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.8758, allocations: 157.2 kB / 0.7696 GB, free: 4.297 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.8761, allocations: 419.8 kB / 0.77 GB, free: 3.938 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.212e-05/0.8762, allocations: 23.44 kB / 0.77 GB, free: 3.934 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.8764, allocations: 362 kB / 0.7704 GB, free: 3.59 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009471/0.8773, allocations: 0.57 MB / 0.7709 GB, free: 3.176 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.8784, allocations: 0.6606 MB / 0.7716 GB, free: 2.68 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.8794, allocations: 0.6501 MB / 0.7722 GB, free: 2.238 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.8794, allocations: 0 / 0.7722 GB, free: 2.238 MB / 0.5263 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002222/0.8816, allocations: 1.453 MB / 0.7736 GB, free: 1.168 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.8817, allocations: 8 kB / 0.7736 GB, free: 1.16 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8817, allocations: 3.938 kB / 0.7736 GB, free: 1.156 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.8817, allocations: 4 kB / 0.7736 GB, free: 1.152 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.8841, allocations: 0.5305 MB / 0.7742 GB, free: 0.6289 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.82e-05/0.8841, allocations: 4 kB / 0.7742 GB, free: 0.625 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/0.885, allocations: 130.2 kB / 0.7743 GB, free: 0.5156 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.8852, allocations: 35.69 kB / 0.7743 GB, free: 0.4922 MB / 0.5263 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 () * 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.0003499/0.8855, allocations: 220.6 kB / 0.7745 GB, free: 304 kB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.8857, allocations: 39.62 kB / 0.7746 GB, free: 264 kB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.8861, allocations: 149.8 kB / 0.7747 GB, free: 252 kB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.8861, allocations: 8 kB / 0.7747 GB, free: 244 kB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.8861, allocations: 4 kB / 0.7747 GB, free: 240 kB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.8861, allocations: 3.984 kB / 0.7747 GB, free: 236 kB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.8873, allocations: 0.7972 MB / 0.7755 GB, free: 15.53 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-06/0.8873, allocations: 0 / 0.7755 GB, free: 15.53 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002973/0.8903, allocations: 0.5266 MB / 0.776 GB, free: 15.01 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/0.8903, allocations: 11.94 kB / 0.776 GB, free: 15 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.8904, allocations: 47.02 kB / 0.7761 GB, free: 14.97 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.8904, allocations: 4 kB / 0.7761 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8904, allocations: 0 / 0.7761 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.8933, allocations: 1.967 MB / 0.778 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.8934, allocations: 120.5 kB / 0.7781 GB, free: 13.37 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.8936, allocations: 39.47 kB / 0.7782 GB, free: 13.34 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00087/0.8945, allocations: 75.25 kB / 0.7782 GB, free: 13.28 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.8946, allocations: 56.41 kB / 0.7783 GB, free: 13.23 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.621e-05/0.8947, allocations: 27.5 kB / 0.7783 GB, free: 13.21 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.8948, allocations: 98.17 kB / 0.7784 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8948, allocations: 4 kB / 0.7784 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007303/0.8955, allocations: 318.3 kB / 0.7787 GB, free: 12.84 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[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.0002364/0.8958, allocations: 152.5 kB / 0.7789 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.002075/0.8979, allocations: 1.322 MB / 0.7801 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8979, allocations: 0 / 0.7801 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009131/0.8988, allocations: 0.6501 MB / 0.7808 GB, free: 11.23 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.8993, allocations: 122.1 kB / 0.7809 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/0.9064, allocations: 5.602 MB / 0.7864 GB, free: 5.641 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.9069, allocations: 0.9273 MB / 0.7873 GB, free: 4.691 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.001413/0.9083, allocations: 392.5 kB / 0.7876 GB, free: 4.305 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/0.9088, allocations: 51.44 kB / 0.7877 GB, free: 4.258 MB / 0.5419 GB Notification: Performance of SimCode: time 3.71e-07/0.9088, allocations: 0 / 0.7877 GB, free: 4.258 MB / 0.5419 GB Notification: Performance of Templates: time 0.016/0.9248, allocations: 9.931 MB / 0.7974 GB, free: 10.46 MB / 0.5575 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 -s=ida -abortSlowSimulation -alarm=300 -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/jenkins/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