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.00166/0.00166, allocations: 176.5 kB / 8.349 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.482/1.482, allocations: 221.5 MB / 230.3 MB, free: 7.523 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.0009512/0.0009514, allocations: 107.1 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.284/1.284, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.509e-05/1.509e-05, allocations: 0 / 0.5295 GB, free: 0.5273 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.794/0.794, allocations: 82.84 MB / 0.6104 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.9919, allocations: 124.8 MB / 0.7323 GB, free: 68 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001523/0.9922, allocations: 47.98 kB / 0.7324 GB, free: 20 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.01929/1.011, allocations: 5.641 MB / 0.7379 GB, free: 10.35 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.383e-06/1.012, allocations: 0 / 0.7379 GB, free: 10.35 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.844e-05/1.012, allocations: 4 kB / 0.7379 GB, free: 10.35 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.001747/1.013, allocations: 0.7679 MB / 0.7387 GB, free: 9.531 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/1.013, allocations: 8.031 kB / 0.7387 GB, free: 9.523 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/1.013, allocations: 35.67 kB / 0.7387 GB, free: 9.488 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006599/1.014, allocations: 297.6 kB / 0.739 GB, free: 9.156 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/1.014, allocations: 12 kB / 0.739 GB, free: 9.145 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/1.014, allocations: 31.91 kB / 0.739 GB, free: 9.113 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006129/1.015, allocations: 349 kB / 0.7394 GB, free: 8.773 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/1.016, allocations: 395.5 kB / 0.7397 GB, free: 8.383 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.016, allocations: 0 / 0.7397 GB, free: 8.383 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/1.016, allocations: 4 kB / 0.7397 GB, free: 8.379 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/1.016, allocations: 7.953 kB / 0.7397 GB, free: 8.371 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003358/1.019, allocations: 2.104 MB / 0.7418 GB, free: 6.004 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007937/1.02, allocations: 451.2 kB / 0.7422 GB, free: 5.555 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/1.02, allocations: 298.1 kB / 0.7425 GB, free: 5.262 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.759e-05/1.02, allocations: 4.438 kB / 0.7425 GB, free: 5.258 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.02, allocations: 39 kB / 0.7426 GB, free: 5.211 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=49): time 2.544e-06/1.02, allocations: 0 / 0.7426 GB, free: 5.211 MB / 0.5419 GB Notification: Performance of matching and sorting (n=49): time 0.001002/1.022, allocations: 0.5402 MB / 0.7431 GB, free: 4.664 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/1.022, allocations: 59.84 kB / 0.7431 GB, free: 4.594 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/1.022, allocations: 126.5 kB / 0.7433 GB, free: 4.465 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/1.022, allocations: 25.7 kB / 0.7433 GB, free: 4.434 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/1.022, allocations: 117.1 kB / 0.7434 GB, free: 4.316 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/1.022, allocations: 201.1 kB / 0.7436 GB, free: 4.117 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/1.022, allocations: 0 / 0.7436 GB, free: 4.117 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.022, allocations: 338.8 kB / 0.7439 GB, free: 3.777 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/1.023, allocations: 257.4 kB / 0.7442 GB, free: 3.523 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/1.023, allocations: 304.6 kB / 0.7444 GB, free: 3.223 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/1.024, allocations: 300.4 kB / 0.7447 GB, free: 2.93 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.024, allocations: 0 / 0.7447 GB, free: 2.93 MB / 0.5419 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001037/1.025, allocations: 0.656 MB / 0.7454 GB, free: 2.266 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/1.025, allocations: 8 kB / 0.7454 GB, free: 2.258 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/1.025, allocations: 3.938 kB / 0.7454 GB, free: 2.254 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/1.025, allocations: 4 kB / 0.7454 GB, free: 2.25 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.026, allocations: 255.7 kB / 0.7456 GB, free: 2 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/1.026, allocations: 15.97 kB / 0.7456 GB, free: 1.984 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/1.026, allocations: 55.34 kB / 0.7457 GB, free: 1.93 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/1.026, allocations: 16 kB / 0.7457 GB, free: 1.914 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.000162/1.026, allocations: 108.9 kB / 0.7458 GB, free: 1.801 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/1.026, allocations: 19.81 kB / 0.7458 GB, free: 1.781 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/1.027, allocations: 74.19 kB / 0.7459 GB, free: 1.711 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.027, allocations: 4 kB / 0.7459 GB, free: 1.707 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.027, allocations: 0 / 0.7459 GB, free: 1.707 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/1.027, allocations: 7.938 kB / 0.7459 GB, free: 1.699 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/1.027, allocations: 410 kB / 0.7463 GB, free: 1.262 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.027, allocations: 4 kB / 0.7463 GB, free: 1.258 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/1.029, allocations: 255.8 kB / 0.7466 GB, free: 1.008 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.029, allocations: 0 / 0.7466 GB, free: 1.008 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/1.029, allocations: 15.98 kB / 0.7466 GB, free: 0.9922 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.029, allocations: 8 kB / 0.7466 GB, free: 0.9844 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.029, allocations: 4 kB / 0.7466 GB, free: 0.9805 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/1.03, allocations: 0.9592 MB / 0.7475 GB, free: 0 / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.9117/1.942, allocations: 100.3 kB / 0.7476 GB, free: 134.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/1.942, allocations: 9.141 kB / 0.7476 GB, free: 134.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/1.943, allocations: 22.61 kB / 0.7476 GB, free: 134.9 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.943, allocations: 26.19 kB / 0.7477 GB, free: 134.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/1.943, allocations: 16.86 kB / 0.7477 GB, free: 134.9 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 7.882e-05/1.943, allocations: 94.14 kB / 0.7478 GB, free: 134.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.51e-07/1.943, allocations: 0 / 0.7478 GB, free: 134.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005852/1.944, allocations: 133.2 kB / 0.7479 GB, free: 134.8 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.0002007/1.944, allocations: 119.2 kB / 0.748 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001297/1.945, allocations: 0.5937 MB / 0.7486 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.945, allocations: 2.812 kB / 0.7486 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005379/1.946, allocations: 298.5 kB / 0.7489 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/1.946, allocations: 50.91 kB / 0.7489 GB, free: 134.7 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/1.95, allocations: 2.352 MB / 0.7512 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/1.95, allocations: 0.8105 MB / 0.752 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006705/1.951, allocations: 181.2 kB / 0.7522 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/1.951, allocations: 29.34 kB / 0.7522 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of SimCode: time 8.82e-07/1.951, allocations: 4 kB / 0.7522 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of Templates: time 0.01073/1.962, allocations: 4.783 MB / 0.7569 GB, free: 132.5 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/jenkins1/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