Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 88.14 kB / 16.31 MB, free: 6.449 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.001035/0.001035, allocations: 180.7 kB / 17.21 MB, free: 6.32 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.32/1.32, allocations: 223.3 MB / 241.2 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7404/0.7404, allocations: 120.5 MB / 412.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 8 kB / 0.4956 GB, free: 9.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 82.85 MB / 0.5765 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001353/0.1474, allocations: 1.154 MB / 0.5776 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000244/0.1477, allocations: 95.67 kB / 0.5777 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.1477, allocations: 4 kB / 0.5777 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.93e-05/0.1478, allocations: 3.984 kB / 0.5777 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1479, allocations: 55.72 kB / 0.5778 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.1481, allocations: 31.94 kB / 0.5778 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.1486, allocations: 0.5808 MB / 0.5784 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.1487, allocations: 8 kB / 0.5784 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.1489, allocations: 207.7 kB / 0.5786 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.1493, allocations: 315.4 kB / 0.5789 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.112e-05/0.1494, allocations: 32 kB / 0.5789 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.1495, allocations: 31.94 kB / 0.5789 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.1496, allocations: 191.6 kB / 0.5791 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.1497, allocations: 77.58 kB / 0.5792 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.1499, allocations: 219.7 kB / 0.5794 GB, free: 3.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1499, allocations: 4 kB / 0.5794 GB, free: 3.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1499, allocations: 0 / 0.5794 GB, free: 3.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1499, allocations: 4 kB / 0.5794 GB, free: 3.754 MB / 446.1 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.001967/0.1519, allocations: 0.8369 MB / 0.5802 GB, free: 2.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.152, allocations: 8.031 kB / 0.5802 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.152, allocations: 39.58 kB / 0.5803 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1524, allocations: 254.7 kB / 0.5805 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.1524, allocations: 28.56 kB / 0.5805 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.878e-05/0.1525, allocations: 47.91 kB / 0.5806 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/0.1532, allocations: 444.5 kB / 0.581 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1532, allocations: 0 / 0.581 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.1533, allocations: 12 kB / 0.581 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.1533, allocations: 4 kB / 0.581 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006086/0.1539, allocations: 385.9 kB / 0.5814 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4533/0.6072, allocations: 2.167 MB / 0.5835 GB, free: 16.16 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009547/0.6082, allocations: 489.7 kB / 0.584 GB, free: 16.13 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/0.6087, allocations: 324.7 kB / 0.5843 GB, free: 16.12 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.184e-05/0.6088, allocations: 5.062 kB / 0.5843 GB, free: 16.12 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.6088, allocations: 43.48 kB / 0.5843 GB, free: 16.08 MB / 446.3 MB Notification: Performance of pre-optimization done (n=49): time 2.335e-06/0.6088, allocations: 0.9688 kB / 0.5843 GB, free: 16.08 MB / 446.3 MB Notification: Performance of matching and sorting (n=49): time 0.001541/0.6104, allocations: 0.8106 MB / 0.5851 GB, free: 16.03 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.6104, allocations: 60.92 kB / 0.5852 GB, free: 15.97 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.6105, allocations: 131.7 kB / 0.5853 GB, free: 15.87 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.6106, allocations: 38.17 kB / 0.5853 GB, free: 15.84 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.6106, allocations: 123.1 kB / 0.5854 GB, free: 15.75 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.6108, allocations: 203.3 kB / 0.5856 GB, free: 15.64 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.6109, allocations: 13.62 kB / 0.5857 GB, free: 15.64 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 6.958e-05/0.6109, allocations: 339.8 kB / 0.586 GB, free: 15.32 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/0.6115, allocations: 283.4 kB / 0.5862 GB, free: 15.32 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/0.612, allocations: 336.5 kB / 0.5866 GB, free: 15.28 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/0.6126, allocations: 319 kB / 0.5869 GB, free: 15.18 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6126, allocations: 0 / 0.5869 GB, free: 15.18 MB / 446.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001217/0.6138, allocations: 0.722 MB / 0.5876 GB, free: 14.93 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.6139, allocations: 5.531 kB / 0.5876 GB, free: 14.93 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6139, allocations: 7.688 kB / 0.5876 GB, free: 14.93 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.6139, allocations: 3.344 kB / 0.5876 GB, free: 14.93 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.615, allocations: 255.5 kB / 0.5878 GB, free: 14.93 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.615, allocations: 4.156 kB / 0.5878 GB, free: 14.93 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.6154, allocations: 60.17 kB / 0.5879 GB, free: 14.89 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.6155, allocations: 19.77 kB / 0.5879 GB, free: 14.89 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.6156, allocations: 161.9 kB / 0.5881 GB, free: 14.76 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.6157, allocations: 24.17 kB / 0.5881 GB, free: 14.75 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.6159, allocations: 77.72 kB / 0.5882 GB, free: 14.68 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.616, allocations: 4.75 kB / 0.5882 GB, free: 14.68 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.616, allocations: 0.75 kB / 0.5882 GB, free: 14.68 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.616, allocations: 10.55 kB / 0.5882 GB, free: 14.68 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/0.6166, allocations: 466.8 kB / 0.5886 GB, free: 14.41 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6166, allocations: 0.7812 kB / 0.5886 GB, free: 14.41 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.6179, allocations: 258.7 kB / 0.5889 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.6179, allocations: 8.391 kB / 0.5889 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.618, allocations: 23.58 kB / 0.5889 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.618, allocations: 1.531 kB / 0.5889 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.618, allocations: 0.875 kB / 0.5889 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.6196, allocations: 1.009 MB / 0.5899 GB, free: 13.96 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.6197, allocations: 105.5 kB / 0.59 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.6198, allocations: 20.45 kB / 0.59 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.6201, allocations: 36.28 kB / 0.59 GB, free: 13.82 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.6202, allocations: 29.38 kB / 0.5901 GB, free: 13.81 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.6203, allocations: 14.64 kB / 0.5901 GB, free: 13.81 MB / 446.3 MB Notification: Performance of sorting global known variables: time 5.158e-05/0.6203, allocations: 104.1 kB / 0.5902 GB, free: 13.72 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6203, allocations: 0 / 0.5902 GB, free: 13.72 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0004687/0.6208, allocations: 146.7 kB / 0.5903 GB, free: 13.71 MB / 446.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 (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.0001356/0.621, allocations: 118.2 kB / 0.5904 GB, free: 13.61 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.6221, allocations: 0.6377 MB / 0.5911 GB, free: 13.43 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6221, allocations: 0 / 0.5911 GB, free: 13.43 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000487/0.6226, allocations: 323.6 kB / 0.5914 GB, free: 13.33 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.6231, allocations: 67.91 kB / 0.5914 GB, free: 13.3 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.6263, allocations: 2.711 MB / 0.5941 GB, free: 11.53 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.6266, allocations: 0.7928 MB / 0.5949 GB, free: 10.83 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0006036/0.6272, allocations: 179.8 kB / 0.595 GB, free: 10.81 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.6274, allocations: 28.53 kB / 0.5951 GB, free: 10.8 MB / 446.3 MB Notification: Performance of SimCode: time 6.92e-07/0.6274, allocations: 0 / 0.5951 GB, free: 10.8 MB / 446.3 MB Notification: Performance of Templates: time 0.009476/0.6369, allocations: 4.937 MB / 0.5999 GB, free: 9.793 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches