Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7855/0.7855, allocations: 100.9 MB / 413.3 MB, free: 2.855 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 85.55 kB / 0.5641 GB, free: 35.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1353, allocations: 74.62 MB / 0.6369 GB, free: 6.488 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4981/0.6335, allocations: 121.9 MB / 0.756 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004558/0.638, allocations: 3.852 MB / 0.7597 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.6384, allocations: 22.31 kB / 0.7598 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.6391, allocations: 144.4 kB / 0.7599 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.6397, allocations: 211.7 kB / 0.7601 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.6401, allocations: 125.7 kB / 0.7602 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.6405, allocations: 408.3 kB / 0.7606 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.6407, allocations: 60.56 kB / 0.7607 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.6411, allocations: 203.9 kB / 0.7609 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.6414, allocations: 161.1 kB / 0.761 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.6414, allocations: 20.81 kB / 0.761 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.6419, allocations: 228.1 kB / 0.7612 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.6419, allocations: 52.88 kB / 0.7613 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.6421, allocations: 116.4 kB / 0.7614 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000762/0.6429, allocations: 384.8 kB / 0.7618 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.6429, allocations: 2.828 kB / 0.7618 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6429, allocations: 0.9062 kB / 0.7618 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.6429, allocations: 0.7812 kB / 0.7618 GB, free: 3.172 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00163/0.6445, allocations: 0.5411 MB / 0.7623 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 9.099e-05/0.6446, allocations: 11.61 kB / 0.7623 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.029e-05/0.6447, allocations: 52.11 kB / 0.7624 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.6448, allocations: 40.67 kB / 0.7624 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007847/0.6456, allocations: 312 kB / 0.7627 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.6456, allocations: 15.94 kB / 0.7627 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.6457, allocations: 21.47 kB / 0.7627 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.6462, allocations: 229.4 kB / 0.763 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6462, allocations: 0.6562 kB / 0.763 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.6462, allocations: 5.25 kB / 0.763 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.6462, allocations: 7.328 kB / 0.763 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.6465, allocations: 137.1 kB / 0.7631 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.6479, allocations: 0.6828 MB / 0.7638 GB, free: 18.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.6483, allocations: 127.6 kB / 0.7639 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.6484, allocations: 68.44 kB / 0.764 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.6485, allocations: 13.31 kB / 0.764 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6486, allocations: 37.09 kB / 0.764 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.734e-06/0.6486, allocations: 0 / 0.764 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001619/0.6502, allocations: 0.6137 MB / 0.7646 GB, free: 17.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.6502, allocations: 55 kB / 0.7647 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.6506, allocations: 336.8 kB / 0.765 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.6507, allocations: 28.64 kB / 0.765 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.6508, allocations: 170.8 kB / 0.7652 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.6508, allocations: 68.16 kB / 0.7652 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.6509, allocations: 38.28 kB / 0.7653 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6511, allocations: 348.6 kB / 0.7656 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.6512, allocations: 44.25 kB / 0.7656 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.6513, allocations: 68.91 kB / 0.7657 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.6515, allocations: 125.5 kB / 0.7658 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6515, allocations: 0.5625 kB / 0.7658 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000449/0.652, allocations: 268.4 kB / 0.7661 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.652, allocations: 5.062 kB / 0.7661 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.652, allocations: 3.062 kB / 0.7661 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.6523, allocations: 93.17 kB / 0.7662 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.6524, allocations: 18.86 kB / 0.7662 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.6547, allocations: 1.822 MB / 0.768 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.6548, allocations: 4.781 kB / 0.768 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.6548, allocations: 8.156 kB / 0.768 GB, free: 15.82 MB / 0.5919 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.655, allocations: 146.5 kB / 0.7681 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.655, allocations: 40.67 kB / 0.7682 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.6555, allocations: 288.5 kB / 0.7684 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6555, allocations: 3.141 kB / 0.7684 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6555, allocations: 5.5 kB / 0.7685 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6555, allocations: 2.156 kB / 0.7685 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008437/0.6564, allocations: 0.5644 MB / 0.769 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.6564, allocations: 2.078 kB / 0.769 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.6564, allocations: 8.969 kB / 0.769 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.6567, allocations: 98.67 kB / 0.7691 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.6567, allocations: 11.98 kB / 0.7691 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.6586, allocations: 1.838 MB / 0.7709 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6586, allocations: 0.7969 kB / 0.7709 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.6591, allocations: 406.4 kB / 0.7713 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.6592, allocations: 30.59 kB / 0.7713 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.6592, allocations: 11.81 kB / 0.7713 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.6593, allocations: 3.984 kB / 0.7714 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.6594, allocations: 19.81 kB / 0.7714 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.6594, allocations: 6.172 kB / 0.7714 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002718/0.6597, allocations: 252 kB / 0.7716 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6597, allocations: 0 / 0.7716 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004057/0.6601, allocations: 75 kB / 0.7717 GB, free: 13.75 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.m_flow) * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.6613, allocations: 1.009 MB / 0.7727 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006975/0.662, allocations: 301.5 kB / 0.773 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.662, allocations: 0.5 kB / 0.773 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000475/0.6624, allocations: 237 kB / 0.7732 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.6631, allocations: 100.3 kB / 0.7733 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.6673, allocations: 3.132 MB / 0.7763 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.6675, allocations: 175.6 kB / 0.7765 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.6677, allocations: 34.53 kB / 0.7765 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.6678, allocations: 98.62 kB / 0.7766 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of SimCode: time 9.21e-07/0.6678, allocations: 1.469 kB / 0.7766 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04553/0.7134, allocations: 9.977 MB / 0.7864 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.45, allocations: 10.5 kB / 0.7864 GB, free: 9.684 MB / 0.5919 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.03751495294273]