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.001272/0.001272, allocations: 112.1 kB / 17.54 MB, free: 4.738 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.001294/0.001294, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.409/1.409, allocations: 225.6 MB / 249.3 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.618/0.618, allocations: 94.58 MB / 399 MB, free: 15.79 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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.002313/0.002313, allocations: 83.88 kB / 0.5442 GB, free: 12.63 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.415, allocations: 71.84 MB / 0.6144 GB, free: 3.832 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1795/0.5945, allocations: 142.1 MB / 0.7531 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004939/0.5994, allocations: 4.235 MB / 0.7573 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.5997, allocations: 23.88 kB / 0.7573 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.6003, allocations: 159 kB / 0.7574 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005341/0.6008, allocations: 210.7 kB / 0.7576 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.6012, allocations: 131.6 kB / 0.7578 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004885/0.6017, allocations: 402.2 kB / 0.7581 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.6019, allocations: 62.27 kB / 0.7582 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004158/0.6023, allocations: 199.1 kB / 0.7584 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.6026, allocations: 171.3 kB / 0.7585 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.6027, allocations: 16 kB / 0.7586 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.6032, allocations: 275.5 kB / 0.7588 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.119e-05/0.6033, allocations: 51.72 kB / 0.7589 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.6035, allocations: 139.2 kB / 0.759 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006076/0.6041, allocations: 390.3 kB / 0.7594 GB, free: 68 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6041, allocations: 0 / 0.7594 GB, free: 68 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6041, allocations: 0 / 0.7594 GB, free: 68 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.6041, allocations: 4 kB / 0.7594 GB, free: 64 kB / 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.001014/0.6051, allocations: 0.6192 MB / 0.76 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6051, allocations: 8.031 kB / 0.76 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.6052, allocations: 50.73 kB / 0.76 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.6053, allocations: 40.7 kB / 0.7601 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005218/0.6058, allocations: 383.3 kB / 0.7604 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.6058, allocations: 16.75 kB / 0.7605 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.6059, allocations: 20.38 kB / 0.7605 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.6062, allocations: 233.5 kB / 0.7607 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.6063, allocations: 0 / 0.7607 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.6063, allocations: 8 kB / 0.7607 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.6063, allocations: 4 kB / 0.7607 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.6065, allocations: 131.9 kB / 0.7608 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.6076, allocations: 0.7655 MB / 0.7616 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.608, allocations: 122.5 kB / 0.7617 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.6081, allocations: 64.81 kB / 0.7618 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.6084, allocations: 239.3 kB / 0.762 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.6084, allocations: 50.77 kB / 0.762 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.6084, allocations: 0 / 0.762 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001737/0.6102, allocations: 0.9172 MB / 0.7629 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.6102, allocations: 55.41 kB / 0.763 GB, free: 12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.6106, allocations: 337.7 kB / 0.7633 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.6106, allocations: 25.7 kB / 0.7633 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.6107, allocations: 172.4 kB / 0.7635 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.6108, allocations: 59.48 kB / 0.7636 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.6109, allocations: 37.7 kB / 0.7636 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.611, allocations: 346.8 kB / 0.7639 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.6111, allocations: 47.94 kB / 0.764 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.785e-05/0.6112, allocations: 65.69 kB / 0.764 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.6114, allocations: 127.8 kB / 0.7642 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.6114, allocations: 0 / 0.7642 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004644/0.6119, allocations: 273.9 kB / 0.7644 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6119, allocations: 8 kB / 0.7644 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6119, allocations: 0 / 0.7644 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.6122, allocations: 88.8 kB / 0.7645 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.6123, allocations: 19.92 kB / 0.7645 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.6147, allocations: 1.954 MB / 0.7664 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.6148, allocations: 3.938 kB / 0.7664 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.6148, allocations: 8 kB / 0.7665 GB, free: 8.262 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.0001781/0.615, allocations: 157.7 kB / 0.7666 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.615, allocations: 35.77 kB / 0.7666 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005642/0.6156, allocations: 287.4 kB / 0.7669 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6156, allocations: 7.938 kB / 0.7669 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.6156, allocations: 4.281 kB / 0.7669 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6156, allocations: 0 / 0.7669 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000834/0.6165, allocations: 0.6148 MB / 0.7675 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6165, allocations: 0 / 0.7675 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.6165, allocations: 11.98 kB / 0.7675 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/0.6168, allocations: 96.84 kB / 0.7676 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.6168, allocations: 4 kB / 0.7676 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.6189, allocations: 1.958 MB / 0.7695 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6189, allocations: 0 / 0.7695 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.6195, allocations: 410.8 kB / 0.7699 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.6196, allocations: 109 kB / 0.77 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.6196, allocations: 7.875 kB / 0.77 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.6197, allocations: 8 kB / 0.7701 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.6198, allocations: 15.91 kB / 0.7701 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.6198, allocations: 8 kB / 0.7701 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003275/0.6201, allocations: 251.2 kB / 0.7703 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6201, allocations: 0 / 0.7703 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003918/0.6205, allocations: 83.92 kB / 0.7704 GB, free: 3.934 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.001091/0.6216, allocations: 1.007 MB / 0.7714 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006035/0.6222, allocations: 290.5 kB / 0.7717 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6222, allocations: 0 / 0.7717 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.6226, allocations: 238.5 kB / 0.7719 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.6233, allocations: 101.8 kB / 0.772 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.6275, allocations: 3.118 MB / 0.775 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.6279, allocations: 0.7872 MB / 0.7758 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.628, allocations: 30.97 kB / 0.7758 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.6281, allocations: 99.39 kB / 0.7759 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.6281, allocations: 0 / 0.7759 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04331/0.6715, allocations: 9.028 MB / 0.7847 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.85, allocations: 6.25 kB / 0.7847 GB, free: 5.168 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 --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: 14.087602555999183]