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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001857, allocations: 106 kB / 17.06 MB, free: 6.027 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.002199/0.002199, allocations: 196.7 kB / 18 MB, free: 5.105 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.928/1.928, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.435/1.435, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 65.02 kB / 0.5723 GB, free: 38.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2242, allocations: 80.68 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.004252/0.2285, allocations: 1.464 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0005396/0.2291, allocations: 98.64 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.606e-05/0.2292, allocations: 7.938 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.2294, allocations: 11.92 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.2299, allocations: 59.72 kB / 0.6527 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.2303, allocations: 31.92 kB / 0.6527 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008601/0.2311, allocations: 0.6317 MB / 0.6533 GB, free: 9.348 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.212e-05/0.2312, allocations: 15.94 kB / 0.6534 GB, free: 9.332 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.2317, allocations: 239.6 kB / 0.6536 GB, free: 9.098 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007968/0.2325, allocations: 299.3 kB / 0.6539 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.2327, allocations: 28 kB / 0.6539 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2328, allocations: 28 kB / 0.6539 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.233, allocations: 179.6 kB / 0.6541 GB, free: 8.574 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.2334, allocations: 199.2 kB / 0.6543 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.2339, allocations: 327 kB / 0.6546 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2339, allocations: 0 / 0.6546 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.336e-06/0.2339, allocations: 0 / 0.6546 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.2339, allocations: 3.938 kB / 0.6546 GB, free: 8.055 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.002734/0.2367, allocations: 0.8506 MB / 0.6554 GB, free: 7.148 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2367, allocations: 8.031 kB / 0.6554 GB, free: 7.141 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.2369, allocations: 36.56 kB / 0.6555 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.2373, allocations: 262 kB / 0.6557 GB, free: 6.812 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.2374, allocations: 32.94 kB / 0.6558 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.2375, allocations: 52.27 kB / 0.6558 GB, free: 6.73 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.2383, allocations: 449.1 kB / 0.6562 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2384, allocations: 192 / 0.6562 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.2384, allocations: 11.94 kB / 0.6562 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.2384, allocations: 15.92 kB / 0.6563 GB, free: 6.262 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007393/0.2392, allocations: 374 kB / 0.6566 GB, free: 5.895 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.2429, allocations: 2.152 MB / 0.6587 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00089/0.2438, allocations: 476 kB / 0.6592 GB, free: 3 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/0.2443, allocations: 318 kB / 0.6595 GB, free: 2.684 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.2444, allocations: 4.438 kB / 0.6595 GB, free: 2.68 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2444, allocations: 42.94 kB / 0.6595 GB, free: 2.629 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 2.795e-06/0.2444, allocations: 0 / 0.6595 GB, free: 2.629 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001541/0.246, allocations: 0.8007 MB / 0.6603 GB, free: 1.824 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.246, allocations: 55.84 kB / 0.6604 GB, free: 1.758 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2462, allocations: 137.1 kB / 0.6605 GB, free: 1.617 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.2463, allocations: 33.7 kB / 0.6605 GB, free: 1.578 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/0.2464, allocations: 129 kB / 0.6606 GB, free: 1.445 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.2465, allocations: 201.1 kB / 0.6608 GB, free: 1.246 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.2468, allocations: 118.3 kB / 0.6609 GB, free: 1.125 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.247, allocations: 350.8 kB / 0.6613 GB, free: 0.7734 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.2475, allocations: 273.1 kB / 0.6615 GB, free: 0.5039 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/0.2481, allocations: 332.7 kB / 0.6619 GB, free: 176 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2491, allocations: 0.6039 MB / 0.6625 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2491, allocations: 0 / 0.6625 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001287/0.2504, allocations: 0.7272 MB / 0.6632 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.2505, allocations: 8 kB / 0.6632 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.2505, allocations: 7.922 kB / 0.6632 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.2505, allocations: 4 kB / 0.6632 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.2518, allocations: 255.7 kB / 0.6634 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.2518, allocations: 4 kB / 0.6634 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.2523, allocations: 55.42 kB / 0.6635 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.2524, allocations: 20 kB / 0.6635 GB, free: 14.48 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.0002181/0.2526, allocations: 166.6 kB / 0.6637 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.594e-05/0.2527, allocations: 23.75 kB / 0.6637 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.2529, allocations: 74.28 kB / 0.6638 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.2529, allocations: 4 kB / 0.6638 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.2529, allocations: 0 / 0.6638 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2529, allocations: 3.984 kB / 0.6638 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/0.2537, allocations: 477.4 kB / 0.6642 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2537, allocations: 0 / 0.6642 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.2552, allocations: 259.7 kB / 0.6645 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.046e-06/0.2552, allocations: 0 / 0.6645 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-05/0.2553, allocations: 31.98 kB / 0.6645 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2553, allocations: 0 / 0.6645 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2554, allocations: 0 / 0.6645 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.2571, allocations: 1.005 MB / 0.6655 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.29e-05/0.2572, allocations: 108.7 kB / 0.6656 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-05/0.2573, allocations: 15.98 kB / 0.6656 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/0.2577, allocations: 23.97 kB / 0.6656 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2578, allocations: 36.39 kB / 0.6657 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.2579, allocations: 8 kB / 0.6657 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.815e-05/0.258, allocations: 99.27 kB / 0.6658 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.31e-07/0.258, allocations: 0 / 0.6658 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004719/0.2584, allocations: 151.9 kB / 0.6659 GB, free: 11.93 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.0001655/0.2586, allocations: 127.6 kB / 0.666 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.2598, allocations: 0.6386 MB / 0.6666 GB, free: 11.15 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2598, allocations: 0 / 0.6666 GB, free: 11.15 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.2604, allocations: 318.3 kB / 0.6669 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.2609, allocations: 71.94 kB / 0.667 GB, free: 10.77 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.2647, allocations: 2.271 MB / 0.6692 GB, free: 8.477 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/0.2653, allocations: 0.7995 MB / 0.67 GB, free: 7.652 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0005731/0.2659, allocations: 174.8 kB / 0.6702 GB, free: 7.48 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.2661, allocations: 31.44 kB / 0.6702 GB, free: 7.453 MB / 0.5139 GB Notification: Performance of SimCode: time 8.92e-07/0.2661, allocations: 0 / 0.6702 GB, free: 7.453 MB / 0.5139 GB Notification: Performance of Templates: time 0.01171/0.2778, allocations: 5.623 MB / 0.6757 GB, free: 1.914 MB / 0.5139 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches