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.001268/0.001268, allocations: 109.2 kB / 17.74 MB, free: 5.34 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.001181/0.001181, allocations: 190.9 kB / 18.68 MB, free: 4.41 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.273/1.273, allocations: 222.9 MB / 242.4 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 0.9738/0.9738, allocations: 119.3 MB / 411.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 65.36 kB / 0.573 GB, free: 38.94 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1423, allocations: 80.7 MB / 0.6518 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002337/0.1447, allocations: 1.46 MB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002875/0.145, allocations: 94.66 kB / 0.6533 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.1451, allocations: 0 / 0.6533 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.1452, allocations: 15.86 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.1453, allocations: 59.72 kB / 0.6533 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.1455, allocations: 27.94 kB / 0.6534 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000498/0.146, allocations: 0.5771 MB / 0.6539 GB, free: 9.402 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.847e-05/0.1461, allocations: 8 kB / 0.6539 GB, free: 9.395 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.1463, allocations: 211.7 kB / 0.6541 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003971/0.1467, allocations: 283.3 kB / 0.6544 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.1468, allocations: 28 kB / 0.6544 GB, free: 8.883 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.1468, allocations: 28 kB / 0.6545 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.147, allocations: 179.6 kB / 0.6546 GB, free: 8.68 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.1472, allocations: 195.3 kB / 0.6548 GB, free: 8.488 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.1475, allocations: 330.9 kB / 0.6551 GB, free: 8.164 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1475, allocations: 0 / 0.6551 GB, free: 8.164 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1475, allocations: 0 / 0.6551 GB, free: 8.164 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.1475, allocations: 4 kB / 0.6551 GB, free: 8.16 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.002232/0.1497, allocations: 0.8506 MB / 0.656 GB, free: 7.254 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1498, allocations: 15.89 kB / 0.656 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.228e-05/0.1499, allocations: 36.56 kB / 0.656 GB, free: 7.203 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1502, allocations: 259.9 kB / 0.6563 GB, free: 6.91 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.1502, allocations: 28.94 kB / 0.6563 GB, free: 6.883 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/0.1503, allocations: 48.28 kB / 0.6563 GB, free: 6.836 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/0.151, allocations: 449.1 kB / 0.6568 GB, free: 6.395 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.151, allocations: 192 / 0.6568 GB, free: 6.395 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.1511, allocations: 11.94 kB / 0.6568 GB, free: 6.383 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1511, allocations: 8 kB / 0.6568 GB, free: 6.375 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.1517, allocations: 381.9 kB / 0.6572 GB, free: 6 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.1546, allocations: 2.156 MB / 0.6593 GB, free: 3.574 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.1554, allocations: 476.1 kB / 0.6597 GB, free: 3.102 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.1558, allocations: 329.9 kB / 0.66 GB, free: 2.773 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.1559, allocations: 8.438 kB / 0.66 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1559, allocations: 42.94 kB / 0.6601 GB, free: 2.715 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.723e-06/0.1559, allocations: 0 / 0.6601 GB, free: 2.715 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001372/0.1573, allocations: 0.8046 MB / 0.6609 GB, free: 1.906 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1573, allocations: 55.84 kB / 0.6609 GB, free: 1.84 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1575, allocations: 136.9 kB / 0.6611 GB, free: 1.699 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.1575, allocations: 33.7 kB / 0.6611 GB, free: 1.66 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.1576, allocations: 125 kB / 0.6612 GB, free: 1.531 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.1577, allocations: 213 kB / 0.6614 GB, free: 1.32 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.1579, allocations: 114.3 kB / 0.6615 GB, free: 1.203 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.158, allocations: 342.8 kB / 0.6618 GB, free: 0.8594 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.1585, allocations: 281.1 kB / 0.6621 GB, free: 0.582 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.1589, allocations: 332.7 kB / 0.6624 GB, free: 256 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009052/0.1599, allocations: 0.6078 MB / 0.663 GB, free: 15.63 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1599, allocations: 4 kB / 0.663 GB, free: 15.63 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0011/0.161, allocations: 0.7312 MB / 0.6637 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.161, allocations: 4 kB / 0.6637 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.161, allocations: 0 / 0.6637 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.161, allocations: 4 kB / 0.6637 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.1621, allocations: 255.7 kB / 0.664 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.1621, allocations: 4 kB / 0.664 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.1625, allocations: 63.41 kB / 0.6641 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.1625, allocations: 24.03 kB / 0.6641 GB, free: 14.54 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.0001732/0.1627, allocations: 166.5 kB / 0.6642 GB, free: 14.37 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.1628, allocations: 23.75 kB / 0.6643 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.163, allocations: 74.28 kB / 0.6643 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.163, allocations: 4 kB / 0.6643 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.163, allocations: 0 / 0.6643 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.163, allocations: 7.984 kB / 0.6643 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.1636, allocations: 465.3 kB / 0.6648 GB, free: 13.76 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1636, allocations: 0 / 0.6648 GB, free: 13.76 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.1649, allocations: 259.7 kB / 0.665 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1649, allocations: 4 kB / 0.665 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.165, allocations: 23.97 kB / 0.6651 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.165, allocations: 4 kB / 0.6651 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.165, allocations: 0 / 0.6651 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.1665, allocations: 1.005 MB / 0.666 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.1665, allocations: 108.7 kB / 0.6661 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.1666, allocations: 19.98 kB / 0.6662 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.167, allocations: 23.97 kB / 0.6662 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.1671, allocations: 28.39 kB / 0.6662 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.1671, allocations: 12 kB / 0.6662 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.1672, allocations: 95.27 kB / 0.6663 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1672, allocations: 0 / 0.6663 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003761/0.1676, allocations: 151.9 kB / 0.6665 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.0001527/0.1677, allocations: 131.6 kB / 0.6666 GB, free: 11.86 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000999/0.1687, allocations: 0.6425 MB / 0.6672 GB, free: 11.22 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1687, allocations: 0 / 0.6672 GB, free: 11.22 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.1692, allocations: 322.3 kB / 0.6675 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.0004235/0.1696, allocations: 67.95 kB / 0.6676 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.1726, allocations: 2.293 MB / 0.6698 GB, free: 8.516 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.1729, allocations: 0.7956 MB / 0.6706 GB, free: 7.695 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.1732, allocations: 31.44 kB / 0.6706 GB, free: 7.668 MB / 0.5139 GB Notification: Performance of SimCode: time 3.6e-07/0.1732, allocations: 0 / 0.6706 GB, free: 7.668 MB / 0.5139 GB Notification: Performance of Templates: time 0.008631/0.1818, allocations: 5.436 MB / 0.6759 GB, free: 2.25 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