Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.002153/0.002153, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003358/0.003358, allocations: 211.4 kB / 22.24 MB, free: 4.855 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.779/1.779, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 1.032/1.032, allocations: 94.62 MB / 407 MB, free: 8.906 MB / 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/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_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_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.002623/0.002623, allocations: 85.09 kB / 0.5549 GB, free: 38.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2467, allocations: 73.05 MB / 0.6263 GB, free: 228 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.2171/0.4638, allocations: 121.9 MB / 0.7453 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005655/0.4695, allocations: 3.846 MB / 0.7491 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.4699, allocations: 31.75 kB / 0.7491 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000764/0.4707, allocations: 139.1 kB / 0.7493 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006551/0.4713, allocations: 210.6 kB / 0.7495 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.4718, allocations: 135.6 kB / 0.7496 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.4724, allocations: 402.2 kB / 0.75 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.4726, allocations: 62.47 kB / 0.75 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004581/0.4731, allocations: 195.2 kB / 0.7502 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.4734, allocations: 171.2 kB / 0.7504 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.4734, allocations: 16 kB / 0.7504 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005215/0.4739, allocations: 235.6 kB / 0.7506 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.163e-05/0.474, allocations: 47.8 kB / 0.7507 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.4742, allocations: 119.3 kB / 0.7508 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.5896/1.064, allocations: 375.9 kB / 0.7511 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.551e-05/1.064, allocations: 0.6562 kB / 0.7511 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.29e-06/1.064, allocations: 0.5 kB / 0.7511 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.535e-05/1.064, allocations: 0 / 0.7511 GB, free: 4.328 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.001767/1.066, allocations: 0.5429 MB / 0.7517 GB, free: 19.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.262e-05/1.066, allocations: 9.875 kB / 0.7517 GB, free: 19.95 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.408e-05/1.066, allocations: 50.98 kB / 0.7517 GB, free: 19.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/1.066, allocations: 39.14 kB / 0.7518 GB, free: 19.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008309/1.067, allocations: 308.6 kB / 0.7521 GB, free: 19.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/1.067, allocations: 15.19 kB / 0.7521 GB, free: 19.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.071e-05/1.067, allocations: 25.08 kB / 0.7521 GB, free: 19.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/1.067, allocations: 235.1 kB / 0.7523 GB, free: 19.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/1.067, allocations: 0 / 0.7523 GB, free: 19.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/1.067, allocations: 8.375 kB / 0.7523 GB, free: 19.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/1.067, allocations: 3.812 kB / 0.7523 GB, free: 19.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/1.068, allocations: 130.9 kB / 0.7525 GB, free: 19.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/1.069, allocations: 0.6838 MB / 0.7531 GB, free: 19.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/1.07, allocations: 122.1 kB / 0.7532 GB, free: 19.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/1.07, allocations: 64.19 kB / 0.7533 GB, free: 19.28 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/1.07, allocations: 16.81 kB / 0.7533 GB, free: 19.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/1.07, allocations: 34.33 kB / 0.7534 GB, free: 19.24 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.512e-06/1.07, allocations: 0 / 0.7534 GB, free: 19.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001811/1.072, allocations: 0.6231 MB / 0.754 GB, free: 19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/1.072, allocations: 55.56 kB / 0.754 GB, free: 18.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/1.072, allocations: 335.7 kB / 0.7543 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/1.072, allocations: 31.27 kB / 0.7544 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/1.072, allocations: 173.9 kB / 0.7545 GB, free: 18.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.159e-05/1.073, allocations: 59.55 kB / 0.7546 GB, free: 18.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/1.073, allocations: 32.89 kB / 0.7546 GB, free: 18.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002042/1.073, allocations: 347.8 kB / 0.7549 GB, free: 18.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/1.073, allocations: 50.94 kB / 0.755 GB, free: 18.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/1.073, allocations: 67.66 kB / 0.7551 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/1.073, allocations: 124.4 kB / 0.7552 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/1.073, allocations: 0 / 0.7552 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005995/1.074, allocations: 273.5 kB / 0.7554 GB, free: 18.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.074, allocations: 6.109 kB / 0.7554 GB, free: 18.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.074, allocations: 4.281 kB / 0.7555 GB, free: 18.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000402/1.074, allocations: 95.53 kB / 0.7555 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/1.074, allocations: 19.28 kB / 0.7556 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/1.077, allocations: 1.822 MB / 0.7573 GB, free: 17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/1.077, allocations: 9.625 kB / 0.7573 GB, free: 17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/1.077, allocations: 10.55 kB / 0.7574 GB, free: 17 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.0002289/1.077, allocations: 144.2 kB / 0.7575 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/1.078, allocations: 36.48 kB / 0.7575 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006237/1.078, allocations: 274.2 kB / 0.7578 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/1.078, allocations: 1.594 kB / 0.7578 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/1.078, allocations: 6.156 kB / 0.7578 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.078, allocations: 5.531 kB / 0.7578 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/1.079, allocations: 0.5646 MB / 0.7584 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.079, allocations: 1.281 kB / 0.7584 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/1.079, allocations: 7.688 kB / 0.7584 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003357/1.08, allocations: 107.5 kB / 0.7585 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/1.08, allocations: 6.938 kB / 0.7585 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/1.082, allocations: 1.833 MB / 0.7603 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.082, allocations: 1.125 kB / 0.7603 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007779/1.083, allocations: 401.5 kB / 0.7606 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.903e-05/1.083, allocations: 36.2 kB / 0.7607 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/1.083, allocations: 11.75 kB / 0.7607 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/1.083, allocations: 4.719 kB / 0.7607 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/1.083, allocations: 17.19 kB / 0.7607 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/1.083, allocations: 12.31 kB / 0.7607 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003619/1.084, allocations: 251.8 kB / 0.761 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.084, allocations: 0 / 0.761 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004912/1.084, allocations: 78.3 kB / 0.761 GB, free: 14.95 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.001294/1.086, allocations: 1.003 MB / 0.762 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009203/1.087, allocations: 297.2 kB / 0.7623 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.087, allocations: 0 / 0.7623 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005105/1.087, allocations: 244.2 kB / 0.7625 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/1.088, allocations: 99.88 kB / 0.7626 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/1.093, allocations: 3.113 MB / 0.7657 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/1.093, allocations: 175.8 kB / 0.7658 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000224/1.094, allocations: 46.39 kB / 0.7659 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/1.094, allocations: 100.9 kB / 0.766 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of SimCode: time 2.655e-06/1.094, allocations: 0.9062 kB / 0.766 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0581/1.152, allocations: 9.969 MB / 0.7757 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.44, allocations: 10.31 kB / 0.7757 GB, free: 11.01 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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: 19.102281778119504]