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.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.001535/0.001535, allocations: 105.7 kB / 16.45 MB, free: 6.035 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.001717/0.001717, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.468/1.468, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.7862/0.7862, allocations: 94.59 MB / 397.3 MB, free: 368 kB / 302.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.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 84.39 kB / 0.5416 GB, free: 42.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.141, allocations: 71.85 MB / 0.6118 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.5933/0.7344, allocations: 145 MB / 0.7533 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004789/0.7392, allocations: 4.614 MB / 0.7578 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005457/0.7397, allocations: 27.03 kB / 0.7579 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007107/0.7404, allocations: 201.5 kB / 0.7581 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008497/0.7413, allocations: 324.7 kB / 0.7584 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.7425, allocations: 429.8 kB / 0.7588 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007741/0.7433, allocations: 0.7471 MB / 0.7595 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.7435, allocations: 77.97 kB / 0.7596 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007736/0.7443, allocations: 404.8 kB / 0.76 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.7447, allocations: 342.7 kB / 0.7603 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.7447, allocations: 32.53 kB / 0.7603 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009829/0.7457, allocations: 466.2 kB / 0.7608 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.7459, allocations: 111.2 kB / 0.7609 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.7461, allocations: 210.5 kB / 0.7611 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009879/0.7471, allocations: 0.6508 MB / 0.7617 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7471, allocations: 0.8438 kB / 0.7617 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7471, allocations: 0.9375 kB / 0.7617 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.7471, allocations: 0 / 0.7617 GB, free: 2.617 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.001612/0.7487, allocations: 0.8328 MB / 0.7625 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.7488, allocations: 9.281 kB / 0.7625 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.189e-05/0.7488, allocations: 62.14 kB / 0.7626 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.7489, allocations: 56.11 kB / 0.7627 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.75, allocations: 493.3 kB / 0.7631 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.75, allocations: 20.83 kB / 0.7631 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.7501, allocations: 23.56 kB / 0.7632 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/0.7509, allocations: 444.8 kB / 0.7636 GB, free: 17.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.7509, allocations: 1.688 kB / 0.7636 GB, free: 17.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.7509, allocations: 12.36 kB / 0.7636 GB, free: 17.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.751, allocations: 16.23 kB / 0.7636 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009367/0.7519, allocations: 485 kB / 0.7641 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.7542, allocations: 1.446 MB / 0.7655 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.7546, allocations: 227.2 kB / 0.7657 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.7549, allocations: 191.1 kB / 0.7659 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003453/0.7552, allocations: 339.3 kB / 0.7662 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.7553, allocations: 38.06 kB / 0.7663 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.833e-06/0.7553, allocations: 0 / 0.7663 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002769/0.758, allocations: 1.532 MB / 0.7678 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.7581, allocations: 59.84 kB / 0.7678 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000543/0.7586, allocations: 396 kB / 0.7682 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.7587, allocations: 30.55 kB / 0.7682 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.7588, allocations: 207.3 kB / 0.7684 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.7589, allocations: 120 kB / 0.7685 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.759, allocations: 64.06 kB / 0.7686 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.7593, allocations: 362.5 kB / 0.7689 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.7594, allocations: 142.4 kB / 0.7691 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.7597, allocations: 149 kB / 0.7692 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.7601, allocations: 342.7 kB / 0.7695 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.7601, allocations: 0.9375 kB / 0.7695 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007865/0.7609, allocations: 0.516 MB / 0.77 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.7609, allocations: 5.812 kB / 0.77 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7609, allocations: 3.938 kB / 0.7701 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.7612, allocations: 112.8 kB / 0.7702 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.7615, allocations: 61.31 kB / 0.7702 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.764, allocations: 2.329 MB / 0.7725 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.7642, allocations: 11.62 kB / 0.7725 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.7642, allocations: 17.02 kB / 0.7725 GB, free: 13.57 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.000198/0.7644, allocations: 168.3 kB / 0.7727 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.7645, allocations: 47.28 kB / 0.7727 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009472/0.7655, allocations: 0.6559 MB / 0.7734 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7655, allocations: 3.438 kB / 0.7734 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7655, allocations: 8.734 kB / 0.7734 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7655, allocations: 3.656 kB / 0.7734 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.7659, allocations: 441.4 kB / 0.7738 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.7659, allocations: 6.031 kB / 0.7738 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.7661, allocations: 33.31 kB / 0.7738 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/0.7664, allocations: 127.2 kB / 0.774 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.7664, allocations: 13.17 kB / 0.774 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.7688, allocations: 2.335 MB / 0.7763 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7688, allocations: 0 / 0.7763 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/0.7697, allocations: 0.654 MB / 0.7769 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.7698, allocations: 114.2 kB / 0.777 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.7699, allocations: 10 kB / 0.777 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.7701, allocations: 6.656 kB / 0.777 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.7701, allocations: 25.67 kB / 0.777 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.7701, allocations: 8.531 kB / 0.7771 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000301/0.7704, allocations: 321.4 kB / 0.7774 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7704, allocations: 0 / 0.7774 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005119/0.7709, allocations: 113.3 kB / 0.7775 GB, free: 11.23 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.001386/0.7723, allocations: 1.259 MB / 0.7787 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008687/0.7732, allocations: 0.4991 MB / 0.7792 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7732, allocations: 0.8438 kB / 0.7792 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.7738, allocations: 364 kB / 0.7795 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.7743, allocations: 116.9 kB / 0.7796 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.7795, allocations: 4.123 MB / 0.7837 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.78, allocations: 0.8281 MB / 0.7845 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002755/0.7803, allocations: 93.39 kB / 0.7846 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.7804, allocations: 155.9 kB / 0.7847 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/0.7804, allocations: 0.9375 kB / 0.7847 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.446/2.226, allocations: 12.01 MB / 0.7964 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/17.69, allocations: 7.688 kB / 0.7965 GB, free: 6.73 MB / 0.5919 GB " [Timeout remaining time 642] (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_2/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: 24.496872341260314]