Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.002371/0.002371, allocations: 113.7 kB / 17.06 MB, free: 5.996 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.002526/0.002526, allocations: 198.9 kB / 18 MB, free: 5.078 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.905/1.905, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.534/1.534, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 61.66 kB / 0.5723 GB, free: 38.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2087, allocations: 80.7 MB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.003056/0.2118, allocations: 1.453 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003681/0.2122, allocations: 90.66 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.2123, allocations: 4 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.2125, allocations: 11.86 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.2126, allocations: 63.7 kB / 0.6527 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.2129, allocations: 31.95 kB / 0.6527 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.2135, allocations: 0.5732 MB / 0.6533 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.899e-05/0.2136, allocations: 11.98 kB / 0.6533 GB, free: 9.402 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.2138, allocations: 203.7 kB / 0.6535 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.2143, allocations: 283.3 kB / 0.6537 GB, free: 8.926 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.2144, allocations: 32 kB / 0.6538 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.293e-05/0.2145, allocations: 32 kB / 0.6538 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.2147, allocations: 183.6 kB / 0.654 GB, free: 8.684 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.215, allocations: 187.3 kB / 0.6542 GB, free: 8.5 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.2153, allocations: 330.9 kB / 0.6545 GB, free: 8.176 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2153, allocations: 8 kB / 0.6545 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2153, allocations: 0 / 0.6545 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.2154, allocations: 0 / 0.6545 GB, free: 8.168 MB / 0.4983 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.002627/0.218, allocations: 0.8506 MB / 0.6553 GB, free: 7.262 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.2181, allocations: 15.89 kB / 0.6553 GB, free: 7.246 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.2182, allocations: 36.56 kB / 0.6554 GB, free: 7.211 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.2186, allocations: 266.1 kB / 0.6556 GB, free: 6.914 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.2187, allocations: 28.94 kB / 0.6556 GB, free: 6.887 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.2188, allocations: 56.27 kB / 0.6557 GB, free: 6.832 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008358/0.2196, allocations: 441.1 kB / 0.6561 GB, free: 6.398 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2196, allocations: 192 / 0.6561 GB, free: 6.398 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.2197, allocations: 15.94 kB / 0.6561 GB, free: 6.383 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2197, allocations: 7.984 kB / 0.6561 GB, free: 6.375 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.2204, allocations: 381.9 kB / 0.6565 GB, free: 6 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/0.2238, allocations: 2.144 MB / 0.6586 GB, free: 3.586 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/0.2248, allocations: 484.1 kB / 0.6591 GB, free: 3.105 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.2254, allocations: 326 kB / 0.6594 GB, free: 2.781 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.256e-05/0.2255, allocations: 4.438 kB / 0.6594 GB, free: 2.777 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.2256, allocations: 46.88 kB / 0.6594 GB, free: 2.723 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 2.755e-06/0.2256, allocations: 0 / 0.6594 GB, free: 2.723 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.002181/0.2278, allocations: 0.8007 MB / 0.6602 GB, free: 1.918 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.2278, allocations: 63.84 kB / 0.6603 GB, free: 1.844 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.228, allocations: 132.9 kB / 0.6604 GB, free: 1.707 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.2281, allocations: 37.7 kB / 0.6604 GB, free: 1.664 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2282, allocations: 125 kB / 0.6605 GB, free: 1.535 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.2285, allocations: 205.1 kB / 0.6607 GB, free: 1.332 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/0.2288, allocations: 114.3 kB / 0.6609 GB, free: 1.215 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0002599/0.2291, allocations: 342.8 kB / 0.6612 GB, free: 0.8711 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007508/0.2299, allocations: 277.1 kB / 0.6614 GB, free: 0.5977 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000844/0.2307, allocations: 336.7 kB / 0.6618 GB, free: 268 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.2322, allocations: 0.6116 MB / 0.6624 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2322, allocations: 0 / 0.6624 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001756/0.234, allocations: 0.7272 MB / 0.6631 GB, free: 14.91 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.234, allocations: 4 kB / 0.6631 GB, free: 14.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.234, allocations: 4.031 kB / 0.6631 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.2341, allocations: 4 kB / 0.6631 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.2359, allocations: 259.7 kB / 0.6633 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.268e-05/0.2359, allocations: 4 kB / 0.6633 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/0.2366, allocations: 55.41 kB / 0.6634 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.527e-05/0.2367, allocations: 20 kB / 0.6634 GB, free: 14.57 MB / 0.5139 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 (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.0003208/0.237, allocations: 166.5 kB / 0.6636 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.2372, allocations: 23.75 kB / 0.6636 GB, free: 14.37 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.2374, allocations: 78.28 kB / 0.6637 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.2374, allocations: 7.984 kB / 0.6637 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.2374, allocations: 0 / 0.6637 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.2375, allocations: 3.984 kB / 0.6637 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2385, allocations: 473.4 kB / 0.6641 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2385, allocations: 0 / 0.6641 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/0.2406, allocations: 267.7 kB / 0.6644 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.2406, allocations: 0 / 0.6644 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-05/0.2407, allocations: 19.98 kB / 0.6644 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.2407, allocations: 0 / 0.6644 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2407, allocations: 4 kB / 0.6644 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.2426, allocations: 1.017 MB / 0.6654 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.2427, allocations: 104.7 kB / 0.6655 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.625e-05/0.2428, allocations: 15.98 kB / 0.6655 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.2433, allocations: 23.97 kB / 0.6655 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2434, allocations: 32.39 kB / 0.6656 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.2435, allocations: 16 kB / 0.6656 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.743e-05/0.2435, allocations: 95.27 kB / 0.6657 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2435, allocations: 0 / 0.6657 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005083/0.2441, allocations: 151.9 kB / 0.6658 GB, free: 12 MB / 0.5139 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 () * 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.0001737/0.2442, allocations: 123.6 kB / 0.6659 GB, free: 11.87 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.2456, allocations: 0.6387 MB / 0.6666 GB, free: 11.23 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2456, allocations: 4.062 kB / 0.6666 GB, free: 11.23 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008579/0.2465, allocations: 326.3 kB / 0.6669 GB, free: 10.91 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.2471, allocations: 67.94 kB / 0.6669 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.2509, allocations: 2.253 MB / 0.6691 GB, free: 8.562 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.2514, allocations: 0.7956 MB / 0.6699 GB, free: 7.742 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0006492/0.2521, allocations: 178.8 kB / 0.6701 GB, free: 7.566 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.2523, allocations: 27.44 kB / 0.6701 GB, free: 7.543 MB / 0.5139 GB Notification: Performance of SimCode: time 1.082e-06/0.2523, allocations: 0 / 0.6701 GB, free: 7.543 MB / 0.5139 GB Notification: Performance of Templates: time 0.01134/0.2637, allocations: 5.625 MB / 0.6756 GB, free: 2 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches