Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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.0013/0.0013, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.00142/0.00142, allocations: 211 kB / 23.02 MB, free: 4.43 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 0.8337/0.8337, allocations: 94.62 MB / 407.8 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.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="cs",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.002418/0.002418, allocations: 78.92 kB / 0.5557 GB, free: 38.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1643, allocations: 73.06 MB / 0.627 GB, free: 216 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1745/0.3388, allocations: 124.6 MB / 0.7487 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4388/0.7776, allocations: 4.194 MB / 0.7528 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006202/0.7782, allocations: 38.62 kB / 0.7528 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007885/0.779, allocations: 188.2 kB / 0.753 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009953/0.78, allocations: 323.8 kB / 0.7533 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.7815, allocations: 435.2 kB / 0.7537 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.7829, allocations: 0.7518 MB / 0.7545 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.7832, allocations: 72.55 kB / 0.7545 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.7844, allocations: 408.9 kB / 0.7549 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007147/0.7851, allocations: 349.3 kB / 0.7552 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.503e-05/0.7852, allocations: 32.59 kB / 0.7553 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.7863, allocations: 384.1 kB / 0.7556 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.7865, allocations: 104.8 kB / 0.7557 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.7868, allocations: 171.9 kB / 0.7559 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.7879, allocations: 0.6378 MB / 0.7565 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7879, allocations: 0 / 0.7565 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.105e-06/0.7879, allocations: 2 kB / 0.7565 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.788, allocations: 0 / 0.7565 GB, free: 3.238 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002066/0.79, allocations: 0.7598 MB / 0.7573 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.7901, allocations: 9.938 kB / 0.7573 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.484e-05/0.7901, allocations: 8.734 kB / 0.7573 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.758e-05/0.7902, allocations: 63.72 kB / 0.7574 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.7903, allocations: 52.73 kB / 0.7574 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.7912, allocations: 419.4 kB / 0.7578 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.7912, allocations: 18.12 kB / 0.7578 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.52e-05/0.7913, allocations: 24.25 kB / 0.7578 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.7922, allocations: 452.9 kB / 0.7583 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.7922, allocations: 2.172 kB / 0.7583 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.7923, allocations: 11.78 kB / 0.7583 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/0.7923, allocations: 17.5 kB / 0.7583 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/0.7933, allocations: 488.5 kB / 0.7588 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.7955, allocations: 1.243 MB / 0.76 GB, free: 17.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.796, allocations: 230.1 kB / 0.7602 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.7963, allocations: 190.2 kB / 0.7604 GB, free: 17.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.7964, allocations: 28.12 kB / 0.7604 GB, free: 17.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.7965, allocations: 33.34 kB / 0.7604 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/0.7965, allocations: 3.094 kB / 0.7604 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002774/0.7992, allocations: 1.234 MB / 0.7617 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.7993, allocations: 56.36 kB / 0.7617 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.7998, allocations: 398.4 kB / 0.7621 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.7998, allocations: 29.17 kB / 0.7621 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.8, allocations: 204.1 kB / 0.7623 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.8001, allocations: 126.7 kB / 0.7624 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.8003, allocations: 68.31 kB / 0.7625 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000248/0.8005, allocations: 360.5 kB / 0.7628 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.8008, allocations: 141.9 kB / 0.763 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.801, allocations: 149.5 kB / 0.7631 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.8015, allocations: 342 kB / 0.7634 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.8015, allocations: 0.9062 kB / 0.7634 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009127/0.8024, allocations: 0.5136 MB / 0.7639 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.8024, allocations: 7.594 kB / 0.764 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8024, allocations: 0.7188 kB / 0.764 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/0.8029, allocations: 119.6 kB / 0.7641 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.8032, allocations: 58.58 kB / 0.7641 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/0.8063, allocations: 2.209 MB / 0.7663 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.8065, allocations: 9.812 kB / 0.7663 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.8066, allocations: 16.05 kB / 0.7663 GB, free: 15.41 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002881/0.8069, allocations: 160.2 kB / 0.7665 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.807, allocations: 54.08 kB / 0.7665 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.8084, allocations: 0.6513 MB / 0.7671 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.8084, allocations: 2.219 kB / 0.7671 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.8084, allocations: 2.969 kB / 0.7672 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8084, allocations: 4.656 kB / 0.7672 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.809, allocations: 363.8 kB / 0.7675 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.809, allocations: 0.5 kB / 0.7675 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.8092, allocations: 35.41 kB / 0.7675 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/0.8096, allocations: 128.9 kB / 0.7677 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.8096, allocations: 15.05 kB / 0.7677 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.8123, allocations: 2.209 MB / 0.7698 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8123, allocations: 1.062 kB / 0.7698 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.8134, allocations: 0.6473 MB / 0.7705 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.48e-05/0.8135, allocations: 41.61 kB / 0.7705 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.12e-05/0.8135, allocations: 6.844 kB / 0.7705 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.8137, allocations: 8.719 kB / 0.7705 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.8138, allocations: 26.94 kB / 0.7705 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.8138, allocations: 12.09 kB / 0.7706 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004267/0.8142, allocations: 320.5 kB / 0.7709 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8142, allocations: 0.5938 kB / 0.7709 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006401/0.8149, allocations: 117.2 kB / 0.771 GB, free: 13.32 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * 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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001825/0.8167, allocations: 1.27 MB / 0.7722 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.8178, allocations: 0.5035 MB / 0.7727 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.8178, allocations: 0.75 kB / 0.7727 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.8184, allocations: 351.8 kB / 0.773 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.8191, allocations: 118.3 kB / 0.7732 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/0.8254, allocations: 4.126 MB / 0.7772 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.8256, allocations: 231.5 kB / 0.7774 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003039/0.8259, allocations: 92.86 kB / 0.7775 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.8262, allocations: 152.9 kB / 0.7776 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/0.8262, allocations: 1.094 kB / 0.7776 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/0.8675, allocations: 12.71 MB / 0.7901 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.21, allocations: 11.39 kB / 0.7901 GB, free: 9.531 MB / 0.5919 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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.94582593301311]