Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.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: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001501, allocations: 109 kB / 17.06 MB, free: 5.969 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.001513/0.001513, allocations: 200 kB / 18.01 MB, free: 5.051 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.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8755/0.8755, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 66.52 kB / 0.5718 GB, free: 39.19 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1178, allocations: 80.68 MB / 0.6506 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.002378/0.1202, allocations: 1.475 MB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002846/0.1205, allocations: 99.66 kB / 0.6522 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.1206, allocations: 0 / 0.6522 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.1207, allocations: 15.91 kB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1208, allocations: 55.72 kB / 0.6522 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.121, allocations: 39.88 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.1221, allocations: 1.213 MB / 0.6535 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.1222, allocations: 8 kB / 0.6535 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.1227, allocations: 475.4 kB / 0.6539 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008155/0.1235, allocations: 0.5341 MB / 0.6544 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.1237, allocations: 60 kB / 0.6545 GB, free: 8.148 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.1239, allocations: 64 kB / 0.6546 GB, free: 8.086 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.1242, allocations: 371.1 kB / 0.6549 GB, free: 7.723 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.1247, allocations: 390.5 kB / 0.6553 GB, free: 7.34 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006325/0.1253, allocations: 0.6617 MB / 0.6559 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1254, allocations: 0 / 0.6559 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.478e-06/0.1254, allocations: 3.984 kB / 0.6559 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.1254, allocations: 0 / 0.6559 GB, free: 6.672 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004415/0.1298, allocations: 1.432 MB / 0.6573 GB, free: 5.184 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1298, allocations: 15.89 kB / 0.6574 GB, free: 5.168 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.13, allocations: 98.7 kB / 0.6574 GB, free: 5.062 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1301, allocations: 64.61 kB / 0.6575 GB, free: 5 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.1307, allocations: 355.6 kB / 0.6578 GB, free: 4.613 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.1307, allocations: 57.69 kB / 0.6579 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.1309, allocations: 100.2 kB / 0.658 GB, free: 4.461 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.1324, allocations: 0.8811 MB / 0.6589 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1324, allocations: 3.938 kB / 0.6589 GB, free: 3.566 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.1325, allocations: 27.98 kB / 0.6589 GB, free: 3.539 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.1325, allocations: 16 kB / 0.6589 GB, free: 3.523 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.1338, allocations: 0.7663 MB / 0.6597 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006299/0.1401, allocations: 4.314 MB / 0.6639 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.1417, allocations: 0.9727 MB / 0.6648 GB, free: 12.94 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.1428, allocations: 0.6602 MB / 0.6655 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.1429, allocations: 13 kB / 0.6655 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1429, allocations: 47.5 kB / 0.6655 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 2.294e-06/0.1429, allocations: 4 kB / 0.6655 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.002938/0.1459, allocations: 1.641 MB / 0.6671 GB, free: 10.56 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1459, allocations: 64.41 kB / 0.6672 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.146, allocations: 144.5 kB / 0.6673 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.572e-05/0.1461, allocations: 53.64 kB / 0.6674 GB, free: 10.28 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1463, allocations: 165.9 kB / 0.6675 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/0.1466, allocations: 428.3 kB / 0.6679 GB, free: 9.688 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/0.147, allocations: 227 kB / 0.6682 GB, free: 9.461 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1472, allocations: 366.8 kB / 0.6685 GB, free: 9.094 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009732/0.1481, allocations: 0.5725 MB / 0.6691 GB, free: 8.52 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.1492, allocations: 0.6638 MB / 0.6697 GB, free: 7.852 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.1512, allocations: 1.254 MB / 0.6709 GB, free: 6.59 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1512, allocations: 0 / 0.6709 GB, free: 6.59 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002427/0.1537, allocations: 1.477 MB / 0.6724 GB, free: 5.105 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1537, allocations: 4 kB / 0.6724 GB, free: 5.102 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1537, allocations: 0 / 0.6724 GB, free: 5.102 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.1537, allocations: 8 kB / 0.6724 GB, free: 5.094 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/0.1559, allocations: 0.5268 MB / 0.6729 GB, free: 4.566 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.156, allocations: 12 kB / 0.6729 GB, free: 4.555 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.1567, allocations: 119.2 kB / 0.673 GB, free: 4.438 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-05/0.1568, allocations: 36 kB / 0.6731 GB, free: 4.402 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 (157): * Single equations (assignments): 157 * 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.0003009/0.1571, allocations: 218.4 kB / 0.6733 GB, free: 4.18 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.1573, allocations: 43.7 kB / 0.6733 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004466/0.1577, allocations: 148 kB / 0.6735 GB, free: 3.992 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1577, allocations: 19.94 kB / 0.6735 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1577, allocations: 0 / 0.6735 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.1578, allocations: 3.984 kB / 0.6735 GB, free: 3.969 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.1589, allocations: 0.802 MB / 0.6743 GB, free: 3.113 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1589, allocations: 0 / 0.6743 GB, free: 3.113 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/0.1617, allocations: 0.5268 MB / 0.6748 GB, free: 2.586 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.1617, allocations: 7.984 kB / 0.6748 GB, free: 2.578 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.1618, allocations: 39.97 kB / 0.6748 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.1618, allocations: 4 kB / 0.6748 GB, free: 2.535 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1618, allocations: 0 / 0.6748 GB, free: 2.535 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/0.1649, allocations: 1.964 MB / 0.6767 GB, free: 0.5547 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.165, allocations: 128.6 kB / 0.6769 GB, free: 420 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.1652, allocations: 43.95 kB / 0.6769 GB, free: 376 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/0.1659, allocations: 51.95 kB / 0.677 GB, free: 324 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.1661, allocations: 60.84 kB / 0.677 GB, free: 264 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.018e-05/0.1662, allocations: 27.94 kB / 0.677 GB, free: 236 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.1663, allocations: 99.25 kB / 0.6771 GB, free: 136 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1663, allocations: 0 / 0.6771 GB, free: 136 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.00063/0.1669, allocations: 311.9 kB / 0.6774 GB, free: 15.82 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * 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.003443/0.1704, allocations: 2.555 MB / 0.6799 GB, free: 13.25 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.1725, allocations: 1.342 MB / 0.6812 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1725, allocations: 0 / 0.6812 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.1736, allocations: 0.6458 MB / 0.6819 GB, free: 11.26 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.1742, allocations: 139.9 kB / 0.682 GB, free: 11.12 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/0.1891, allocations: 11.17 MB / 0.6929 GB, free: 15.86 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.1897, allocations: 0.9142 MB / 0.6938 GB, free: 14.92 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001059/0.1908, allocations: 392.5 kB / 0.6942 GB, free: 14.53 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/0.1913, allocations: 187.4 kB / 0.6944 GB, free: 14.35 MB / 0.5452 GB Notification: Performance of SimCode: time 2.395e-06/0.1913, allocations: 0 / 0.6944 GB, free: 14.35 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.472/0.6632, allocations: 17.51 MB / 0.7115 GB, free: 13.12 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.349/10.01, allocations: 20.25 kB / 0.7115 GB, free: 13.1 MB / 0.5608 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches