Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_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.001433/0.001433, allocations: 112.8 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.001424/0.001424, allocations: 200 kB / 18.01 MB, free: 5.047 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.299/1.299, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.878/0.878, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001818, allocations: 57.94 kB / 0.5718 GB, free: 39.3 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1368, allocations: 80.69 MB / 0.6506 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002397/0.1393, allocations: 1.482 MB / 0.6521 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002873/0.1396, allocations: 91.66 kB / 0.6522 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.1397, allocations: 4 kB / 0.6522 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1398, allocations: 11.92 kB / 0.6522 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1399, allocations: 59.7 kB / 0.6522 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.1401, allocations: 35.89 kB / 0.6523 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.1411, allocations: 1.088 MB / 0.6533 GB, free: 9.465 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.473e-05/0.1412, allocations: 11.98 kB / 0.6533 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.1416, allocations: 387.6 kB / 0.6537 GB, free: 9.074 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007741/0.1423, allocations: 0.5224 MB / 0.6542 GB, free: 8.551 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.1425, allocations: 64 kB / 0.6543 GB, free: 8.488 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1427, allocations: 60 kB / 0.6543 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.143, allocations: 379.1 kB / 0.6547 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004685/0.1435, allocations: 394.5 kB / 0.6551 GB, free: 7.672 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006349/0.1441, allocations: 0.65 MB / 0.6557 GB, free: 7.02 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1442, allocations: 7.938 kB / 0.6557 GB, free: 7.012 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1442, allocations: 4 kB / 0.6557 GB, free: 7.008 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.1442, allocations: 0 / 0.6557 GB, free: 7.008 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.004392/0.1486, allocations: 1.436 MB / 0.6571 GB, free: 5.516 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1486, allocations: 8.031 kB / 0.6571 GB, free: 5.508 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.1488, allocations: 98.7 kB / 0.6572 GB, free: 5.402 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1489, allocations: 68.61 kB / 0.6573 GB, free: 5.336 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.1495, allocations: 355.6 kB / 0.6576 GB, free: 4.949 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.1495, allocations: 53.69 kB / 0.6577 GB, free: 4.898 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.1497, allocations: 108.2 kB / 0.6578 GB, free: 4.793 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.1512, allocations: 0.8773 MB / 0.6586 GB, free: 3.906 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.1512, allocations: 7.875 kB / 0.6587 GB, free: 3.898 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.1513, allocations: 27.94 kB / 0.6587 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1513, allocations: 12 kB / 0.6587 GB, free: 3.859 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.1526, allocations: 0.7703 MB / 0.6594 GB, free: 3.09 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00645/0.159, allocations: 4.306 MB / 0.6637 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.1606, allocations: 0.9799 MB / 0.6646 GB, free: 13.27 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.1617, allocations: 0.6759 MB / 0.6653 GB, free: 12.6 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.1618, allocations: 9 kB / 0.6653 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1618, allocations: 47.5 kB / 0.6653 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 2.565e-06/0.1618, allocations: 0 / 0.6653 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.002951/0.1648, allocations: 1.664 MB / 0.6669 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.1648, allocations: 60.41 kB / 0.667 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.165, allocations: 145.8 kB / 0.6671 GB, free: 10.64 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.615e-05/0.1651, allocations: 49.7 kB / 0.6672 GB, free: 10.58 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1652, allocations: 162 kB / 0.6673 GB, free: 10.42 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.1656, allocations: 432.3 kB / 0.6678 GB, free: 9.992 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.1659, allocations: 223 kB / 0.668 GB, free: 9.77 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.1661, allocations: 362.8 kB / 0.6683 GB, free: 9.406 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009759/0.1671, allocations: 0.5725 MB / 0.6689 GB, free: 8.832 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.1681, allocations: 0.6755 MB / 0.6695 GB, free: 8.152 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.1702, allocations: 1.266 MB / 0.6708 GB, free: 6.879 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1702, allocations: 0 / 0.6708 GB, free: 6.879 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002484/0.1727, allocations: 1.477 MB / 0.6722 GB, free: 5.395 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1727, allocations: 7.125 kB / 0.6722 GB, free: 5.391 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1727, allocations: 4 kB / 0.6722 GB, free: 5.387 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.1727, allocations: 4 kB / 0.6722 GB, free: 5.383 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.175, allocations: 0.5308 MB / 0.6727 GB, free: 4.852 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.175, allocations: 4 kB / 0.6728 GB, free: 4.848 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.1758, allocations: 123.2 kB / 0.6729 GB, free: 4.727 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.1759, allocations: 43.94 kB / 0.6729 GB, free: 4.684 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.0003226/0.1763, allocations: 218.4 kB / 0.6731 GB, free: 4.461 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.1764, allocations: 47.64 kB / 0.6732 GB, free: 4.414 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/0.1769, allocations: 152 kB / 0.6733 GB, free: 4.266 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.1769, allocations: 8 kB / 0.6733 GB, free: 4.258 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.1769, allocations: 0 / 0.6733 GB, free: 4.258 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.1769, allocations: 7.969 kB / 0.6733 GB, free: 4.25 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.178, allocations: 0.7981 MB / 0.6741 GB, free: 3.398 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.178, allocations: 0 / 0.6741 GB, free: 3.398 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/0.1808, allocations: 0.5385 MB / 0.6746 GB, free: 2.859 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.1808, allocations: 4 kB / 0.6746 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.181, allocations: 43.95 kB / 0.6747 GB, free: 2.812 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.181, allocations: 4 kB / 0.6747 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.181, allocations: 0 / 0.6747 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/0.1841, allocations: 1.968 MB / 0.6766 GB, free: 0.8242 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.1843, allocations: 132.6 kB / 0.6767 GB, free: 0.6758 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.1844, allocations: 35.97 kB / 0.6768 GB, free: 0.6406 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007378/0.1852, allocations: 55.88 kB / 0.6768 GB, free: 0.5859 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.1854, allocations: 56.92 kB / 0.6769 GB, free: 0.5312 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-05/0.1854, allocations: 35.92 kB / 0.6769 GB, free: 0.4961 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.207e-05/0.1855, allocations: 95.27 kB / 0.677 GB, free: 412 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1855, allocations: 0 / 0.677 GB, free: 412 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0006798/0.1862, allocations: 307.9 kB / 0.6773 GB, free: 104 kB / 0.5139 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.00359/0.1898, allocations: 2.559 MB / 0.6798 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002327/0.1922, allocations: 1.346 MB / 0.6811 GB, free: 12.17 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1922, allocations: 0 / 0.6811 GB, free: 12.17 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.1932, allocations: 0.6654 MB / 0.6818 GB, free: 11.51 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.1939, allocations: 127.9 kB / 0.6819 GB, free: 11.38 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.2085, allocations: 11.1 MB / 0.6927 GB, free: 196 kB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.2091, allocations: 0.9143 MB / 0.6936 GB, free: 15.25 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001079/0.2102, allocations: 392.5 kB / 0.694 GB, free: 14.86 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/0.2107, allocations: 183.4 kB / 0.6942 GB, free: 14.68 MB / 0.5452 GB Notification: Performance of SimCode: time 1.153e-06/0.2107, allocations: 4 kB / 0.6942 GB, free: 14.68 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4994/0.7101, allocations: 17.5 MB / 0.7112 GB, free: 13.45 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.741/10.45, allocations: 13.66 kB / 0.7113 GB, free: 13.45 MB / 0.5608 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches