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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6822/0.6822, allocations: 94.61 MB / 397.3 MB, free: 488 kB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/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(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: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 79.86 kB / 0.5416 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5269, allocations: 71.85 MB / 0.6118 GB, free: 3.953 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.2094/0.7363, allocations: 142 MB / 0.7504 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005966/0.7422, allocations: 4.196 MB / 0.7545 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004686/0.7427, allocations: 15.88 kB / 0.7545 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009984/0.7437, allocations: 159 kB / 0.7547 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006887/0.7444, allocations: 222.7 kB / 0.7549 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.7448, allocations: 123.6 kB / 0.755 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.7453, allocations: 402.2 kB / 0.7554 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/0.7456, allocations: 74.28 kB / 0.7555 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.746, allocations: 199.1 kB / 0.7557 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.7463, allocations: 175.3 kB / 0.7558 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.7463, allocations: 20 kB / 0.7558 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.7468, allocations: 275.5 kB / 0.7561 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.7469, allocations: 47.73 kB / 0.7562 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.747, allocations: 139.2 kB / 0.7563 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008713/0.7479, allocations: 394.3 kB / 0.7567 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.7479, allocations: 0 / 0.7567 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7479, allocations: 3.938 kB / 0.7567 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.7479, allocations: 4 kB / 0.7567 GB, free: 0.7227 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.001341/0.7493, allocations: 0.6152 MB / 0.7573 GB, free: 56 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.7493, allocations: 8.031 kB / 0.7573 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.152e-05/0.7494, allocations: 50.73 kB / 0.7573 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/0.7495, allocations: 40.7 kB / 0.7574 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.7501, allocations: 379.3 kB / 0.7577 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.7501, allocations: 24.73 kB / 0.7578 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.7502, allocations: 16.38 kB / 0.7578 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.7505, allocations: 229.6 kB / 0.758 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.7505, allocations: 0 / 0.758 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.7506, allocations: 8 kB / 0.758 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.7506, allocations: 4 kB / 0.758 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.7509, allocations: 127.9 kB / 0.7581 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.752, allocations: 0.7733 MB / 0.7589 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.7524, allocations: 122.5 kB / 0.759 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.7525, allocations: 56.84 kB / 0.759 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.7527, allocations: 255.5 kB / 0.7593 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.7527, allocations: 34.56 kB / 0.7593 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.7527, allocations: 0 / 0.7593 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001833/0.7545, allocations: 0.9149 MB / 0.7602 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.7546, allocations: 55.41 kB / 0.7603 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.755, allocations: 341.7 kB / 0.7606 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-05/0.755, allocations: 25.7 kB / 0.7606 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.7552, allocations: 172.4 kB / 0.7608 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.7553, allocations: 59.48 kB / 0.7608 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.7553, allocations: 37.7 kB / 0.7609 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.7555, allocations: 338.8 kB / 0.7612 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.7556, allocations: 55.92 kB / 0.7613 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/0.7557, allocations: 69.64 kB / 0.7613 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.7559, allocations: 121.7 kB / 0.7614 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.7559, allocations: 0 / 0.7614 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004802/0.7564, allocations: 276 kB / 0.7617 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.7564, allocations: 4 kB / 0.7617 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.7564, allocations: 0 / 0.7617 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/0.7567, allocations: 96.72 kB / 0.7618 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.7568, allocations: 23.92 kB / 0.7618 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.7593, allocations: 1.942 MB / 0.7637 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.227e-05/0.7594, allocations: 4.078 kB / 0.7637 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.7594, allocations: 15.97 kB / 0.7637 GB, free: 8.93 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.0001606/0.7595, allocations: 153.8 kB / 0.7639 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.7596, allocations: 35.77 kB / 0.7639 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.7601, allocations: 288.4 kB / 0.7642 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.7601, allocations: 11.94 kB / 0.7642 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.7601, allocations: 0 / 0.7642 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.7601, allocations: 3.984 kB / 0.7642 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/0.7611, allocations: 0.6147 MB / 0.7648 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7611, allocations: 0 / 0.7648 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.7611, allocations: 8 kB / 0.7648 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.7614, allocations: 96.8 kB / 0.7649 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.7614, allocations: 7.984 kB / 0.7649 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.7635, allocations: 1.95 MB / 0.7668 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7635, allocations: 4 kB / 0.7668 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.7641, allocations: 410.4 kB / 0.7672 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.7643, allocations: 109 kB / 0.7673 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.7644, allocations: 3.938 kB / 0.7673 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.7645, allocations: 12 kB / 0.7673 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.7645, allocations: 11.92 kB / 0.7673 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.7645, allocations: 7.984 kB / 0.7674 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002812/0.7648, allocations: 251.2 kB / 0.7676 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7648, allocations: 4 kB / 0.7676 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003799/0.7652, allocations: 79.94 kB / 0.7677 GB, free: 4.605 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.001214/0.7664, allocations: 1.008 MB / 0.7687 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000665/0.7671, allocations: 290.5 kB / 0.7689 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7671, allocations: 4 kB / 0.7689 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.7675, allocations: 238.5 kB / 0.7692 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.7682, allocations: 105.1 kB / 0.7693 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.7726, allocations: 3.114 MB / 0.7723 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.7732, allocations: 0.7834 MB / 0.7731 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.7733, allocations: 34.94 kB / 0.7731 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.7734, allocations: 99.41 kB / 0.7732 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.7734, allocations: 0 / 0.7732 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04443/0.8178, allocations: 9.031 MB / 0.782 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.985/10.8, allocations: 12.02 kB / 0.782 GB, free: 5.859 MB / 0.6075 GB " [Timeout remaining time 649] (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_2/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: 14.541601966135204]