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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 176.5 kB / 8.35 MB, free: 0.7266 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.24/1.24, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0009395/0.0009394, allocations: 96.95 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9449/0.9449, allocations: 120.4 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.987e-05/2.015e-05, allocations: 4 kB / 0.5295 GB, free: 0.5273 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6157/0.6158, allocations: 82.83 MB / 0.6104 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.7793, allocations: 124.8 MB / 0.7323 GB, free: 64 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.7795, allocations: 55.91 kB / 0.7324 GB, free: 8 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.01841/0.7979, allocations: 5.636 MB / 0.7379 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.763e-06/0.798, allocations: 0 / 0.7379 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.798, allocations: 8 kB / 0.7379 GB, free: 10.34 MB / 0.5419 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.001552/0.7996, allocations: 0.77 MB / 0.7387 GB, free: 9.52 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.7996, allocations: 12.03 kB / 0.7387 GB, free: 9.508 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.7997, allocations: 31.67 kB / 0.7387 GB, free: 9.477 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.8003, allocations: 295.1 kB / 0.739 GB, free: 9.145 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.8003, allocations: 8 kB / 0.739 GB, free: 9.137 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.8004, allocations: 39.84 kB / 0.739 GB, free: 9.098 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005386/0.801, allocations: 352.9 kB / 0.7394 GB, free: 8.754 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.8016, allocations: 391.5 kB / 0.7397 GB, free: 8.367 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.8016, allocations: 0 / 0.7397 GB, free: 8.367 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.8016, allocations: 0 / 0.7397 GB, free: 8.367 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.8016, allocations: 15.95 kB / 0.7397 GB, free: 8.352 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.8045, allocations: 2.097 MB / 0.7418 GB, free: 5.992 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.8052, allocations: 459.1 kB / 0.7422 GB, free: 5.535 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.8056, allocations: 298.1 kB / 0.7425 GB, free: 5.242 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.8057, allocations: 4.438 kB / 0.7425 GB, free: 5.238 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.8057, allocations: 39 kB / 0.7426 GB, free: 5.191 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=49): time 1.543e-06/0.8057, allocations: 0 / 0.7426 GB, free: 5.191 MB / 0.5419 GB Notification: Performance of matching and sorting (n=49): time 0.0008562/0.8066, allocations: 0.5325 MB / 0.7431 GB, free: 4.652 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.8066, allocations: 59.84 kB / 0.7431 GB, free: 4.582 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.8067, allocations: 127.2 kB / 0.7433 GB, free: 4.453 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.8067, allocations: 25.7 kB / 0.7433 GB, free: 4.422 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.8068, allocations: 117.1 kB / 0.7434 GB, free: 4.305 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.807, allocations: 197.1 kB / 0.7436 GB, free: 4.109 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.807, allocations: 0 / 0.7436 GB, free: 4.109 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8071, allocations: 346.8 kB / 0.7439 GB, free: 3.762 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.8075, allocations: 249.5 kB / 0.7441 GB, free: 3.516 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.8079, allocations: 312.5 kB / 0.7444 GB, free: 3.207 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.8083, allocations: 300.4 kB / 0.7447 GB, free: 2.914 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8083, allocations: 0 / 0.7447 GB, free: 2.914 MB / 0.5419 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009029/0.8092, allocations: 0.6522 MB / 0.7454 GB, free: 2.254 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.8092, allocations: 4 kB / 0.7454 GB, free: 2.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8092, allocations: 7.984 kB / 0.7454 GB, free: 2.242 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8092, allocations: 0 / 0.7454 GB, free: 2.242 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.8103, allocations: 259.7 kB / 0.7456 GB, free: 1.988 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.8103, allocations: 7.953 kB / 0.7456 GB, free: 1.98 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.8107, allocations: 47.45 kB / 0.7457 GB, free: 1.934 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.8107, allocations: 23.94 kB / 0.7457 GB, free: 1.91 MB / 0.5419 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.0001255/0.8108, allocations: 112.8 kB / 0.7458 GB, free: 1.793 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.8109, allocations: 19.81 kB / 0.7458 GB, free: 1.773 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.8111, allocations: 66.19 kB / 0.7459 GB, free: 1.711 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.8111, allocations: 8 kB / 0.7459 GB, free: 1.703 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.8111, allocations: 4 kB / 0.7459 GB, free: 1.699 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.8112, allocations: 7.938 kB / 0.7459 GB, free: 1.691 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.8117, allocations: 410 kB / 0.7463 GB, free: 1.254 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.8117, allocations: 4 kB / 0.7463 GB, free: 1.25 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.813, allocations: 259.7 kB / 0.7466 GB, free: 0.9961 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.813, allocations: 4 kB / 0.7466 GB, free: 0.9922 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.813, allocations: 19.92 kB / 0.7466 GB, free: 0.9727 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.813, allocations: 4 kB / 0.7466 GB, free: 0.9688 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.813, allocations: 0 / 0.7466 GB, free: 0.9688 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5979/1.411, allocations: 0.9536 MB / 0.7475 GB, free: 134.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/1.411, allocations: 101.1 kB / 0.7476 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/1.411, allocations: 12.12 kB / 0.7476 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/1.412, allocations: 20.77 kB / 0.7476 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.412, allocations: 25.94 kB / 0.7477 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/1.412, allocations: 13.98 kB / 0.7477 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 7.547e-05/1.412, allocations: 96.7 kB / 0.7478 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.11e-07/1.412, allocations: 0.9062 kB / 0.7478 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000555/1.413, allocations: 135 kB / 0.7479 GB, free: 134.6 MB / 0.5421 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.0001777/1.413, allocations: 122.6 kB / 0.748 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001182/1.414, allocations: 0.5892 MB / 0.7486 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.414, allocations: 3.719 kB / 0.7486 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004791/1.415, allocations: 303.5 kB / 0.7489 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/1.415, allocations: 46.47 kB / 0.7489 GB, free: 134.6 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/1.418, allocations: 2.353 MB / 0.7512 GB, free: 133.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/1.419, allocations: 0.8057 MB / 0.752 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006049/1.419, allocations: 181.2 kB / 0.7522 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/1.419, allocations: 32.44 kB / 0.7522 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of SimCode: time 2.71e-07/1.419, allocations: 0 / 0.7522 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of Templates: time 0.009733/1.429, allocations: 4.788 MB / 0.7569 GB, free: 132.3 MB / 0.5421 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/jenkins/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