Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 117.7 kB / 17.7 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001252, allocations: 191 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.146/1.146, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 0.4937 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6433/0.6448, allocations: 80.69 MB / 0.5725 GB, free: 43.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.003501/0.6484, allocations: 1.453 MB / 0.5739 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0004292/0.6489, allocations: 98.81 kB / 0.574 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.6489, allocations: 0 / 0.574 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.6491, allocations: 9.484 kB / 0.5741 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.6493, allocations: 67.25 kB / 0.5741 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.6497, allocations: 33.75 kB / 0.5741 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007707/0.6504, allocations: 0.6281 MB / 0.5748 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.6505, allocations: 6.875 kB / 0.5748 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.6509, allocations: 247 kB / 0.575 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.6515, allocations: 295.2 kB / 0.5753 GB, free: 42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.587e-05/0.6516, allocations: 29.06 kB / 0.5753 GB, free: 42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.6517, allocations: 30.03 kB / 0.5753 GB, free: 42 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.6519, allocations: 182.7 kB / 0.5755 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.6522, allocations: 194.1 kB / 0.5757 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.6526, allocations: 332.8 kB / 0.576 GB, free: 41.59 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.6526, allocations: 0 / 0.576 GB, free: 41.59 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.504e-06/0.6526, allocations: 1.156 kB / 0.576 GB, free: 41.59 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.6527, allocations: 3.984 kB / 0.576 GB, free: 41.58 MB / 462.3 MB 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.002549/0.6552, allocations: 0.8449 MB / 0.5768 GB, free: 40.97 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.6553, allocations: 13.05 kB / 0.5769 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.6554, allocations: 35.91 kB / 0.5769 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.6558, allocations: 261.4 kB / 0.5771 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.6559, allocations: 35.98 kB / 0.5772 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.656, allocations: 49.16 kB / 0.5772 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007188/0.6567, allocations: 446 kB / 0.5777 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.6567, allocations: 192 / 0.5777 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.6568, allocations: 14.69 kB / 0.5777 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.6568, allocations: 7.562 kB / 0.5777 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.6575, allocations: 373.2 kB / 0.578 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.6606, allocations: 2.165 MB / 0.5801 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008667/0.6615, allocations: 477 kB / 0.5806 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004883/0.662, allocations: 319.9 kB / 0.5809 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.383e-05/0.6621, allocations: 4.25 kB / 0.5809 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.6621, allocations: 41.47 kB / 0.5809 GB, free: 37.92 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 2.726e-06/0.6621, allocations: 4 kB / 0.581 GB, free: 37.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001472/0.6636, allocations: 0.803 MB / 0.5817 GB, free: 37.54 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.6637, allocations: 56.91 kB / 0.5818 GB, free: 37.48 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.6638, allocations: 131.6 kB / 0.5819 GB, free: 37.36 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.6638, allocations: 41.48 kB / 0.582 GB, free: 37.32 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.6639, allocations: 120.7 kB / 0.5821 GB, free: 37.2 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.664, allocations: 201.1 kB / 0.5823 GB, free: 37.02 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.6642, allocations: 114 kB / 0.5824 GB, free: 36.96 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.6643, allocations: 343.1 kB / 0.5827 GB, free: 36.62 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.6648, allocations: 275.9 kB / 0.583 GB, free: 36.5 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.6653, allocations: 336 kB / 0.5833 GB, free: 36.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009362/0.6662, allocations: 0.6081 MB / 0.5839 GB, free: 36.05 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6663, allocations: 1.188 kB / 0.5839 GB, free: 36.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001173/0.6674, allocations: 0.7318 MB / 0.5846 GB, free: 35.71 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6675, allocations: 4.281 kB / 0.5846 GB, free: 35.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6675, allocations: 1.406 kB / 0.5846 GB, free: 35.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.6675, allocations: 6.344 kB / 0.5846 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.6686, allocations: 253.5 kB / 0.5848 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.6687, allocations: 3.094 kB / 0.5848 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.6691, allocations: 63.31 kB / 0.5849 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.6691, allocations: 21.12 kB / 0.5849 GB, free: 35.61 MB / 462.3 MB 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 (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002094/0.6694, allocations: 163.2 kB / 0.5851 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/0.6694, allocations: 23.69 kB / 0.5851 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.6696, allocations: 76.25 kB / 0.5852 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.6696, allocations: 8.375 kB / 0.5852 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.6696, allocations: 1.156 kB / 0.5852 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6696, allocations: 3.984 kB / 0.5852 GB, free: 35.37 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.6702, allocations: 473.8 kB / 0.5856 GB, free: 35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6702, allocations: 1.281 kB / 0.5856 GB, free: 35 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.6715, allocations: 264.8 kB / 0.5859 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.6716, allocations: 5.281 kB / 0.5859 GB, free: 34.94 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.926e-05/0.6717, allocations: 22.08 kB / 0.5859 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6717, allocations: 1.188 kB / 0.5859 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6717, allocations: 1.156 kB / 0.5859 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.673, allocations: 1.006 MB / 0.5869 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.6731, allocations: 112.6 kB / 0.587 GB, free: 33.94 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.6732, allocations: 23.92 kB / 0.587 GB, free: 33.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.6736, allocations: 23.97 kB / 0.5871 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.6737, allocations: 36.33 kB / 0.5871 GB, free: 33.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.6737, allocations: 12 kB / 0.5871 GB, free: 33.84 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.214e-05/0.6738, allocations: 99.81 kB / 0.5872 GB, free: 33.75 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6738, allocations: 0 / 0.5872 GB, free: 33.75 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.00041/0.6742, allocations: 155.8 kB / 0.5873 GB, free: 33.59 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.6743, allocations: 123.7 kB / 0.5875 GB, free: 33.46 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008617/0.6752, allocations: 0.6348 MB / 0.5881 GB, free: 32.83 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6752, allocations: 0 / 0.5881 GB, free: 32.83 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.6756, allocations: 318.3 kB / 0.5884 GB, free: 32.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.676, allocations: 68.02 kB / 0.5885 GB, free: 32.45 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.6786, allocations: 2.265 MB / 0.5907 GB, free: 30.16 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.6788, allocations: 0.7995 MB / 0.5914 GB, free: 29.34 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004949/0.6794, allocations: 178.8 kB / 0.5916 GB, free: 29.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.6795, allocations: 27.44 kB / 0.5916 GB, free: 29.13 MB / 462.3 MB Notification: Performance of SimCode: time 1.072e-06/0.6795, allocations: 4 kB / 0.5916 GB, free: 29.13 MB / 462.3 MB Notification: Performance of Templates: time 0.008349/0.6879, allocations: 5.401 MB / 0.5969 GB, free: 23.81 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches