Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001878/0.001878, allocations: 104.3 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.001949/0.001949, 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.488/1.488, allocations: 225.6 MB / 247.8 MB, free: 3.738 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.6204/0.6204, allocations: 94.6 MB / 397.3 MB, free: 500 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.TestJunction,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 83.86 kB / 0.5416 GB, free: 14.05 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4464, allocations: 71.85 MB / 0.6118 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1901/0.6365, allocations: 145 MB / 0.7534 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005973/0.6425, allocations: 4.609 MB / 0.7579 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004413/0.6429, allocations: 27.81 kB / 0.7579 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008198/0.6437, allocations: 198.7 kB / 0.7581 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009826/0.6447, allocations: 322.2 kB / 0.7584 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.646, allocations: 438.3 kB / 0.7588 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.647, allocations: 0.7362 MB / 0.7595 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.6473, allocations: 78.62 kB / 0.7596 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009099/0.6482, allocations: 402.4 kB / 0.76 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.6488, allocations: 346.7 kB / 0.7603 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-05/0.6489, allocations: 36 kB / 0.7603 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009649/0.6499, allocations: 467 kB / 0.7608 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.65, allocations: 103.6 kB / 0.7609 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.6503, allocations: 210.8 kB / 0.7611 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.6514, allocations: 0.6537 MB / 0.7617 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6514, allocations: 0 / 0.7617 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6514, allocations: 4 kB / 0.7617 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.6514, allocations: 0 / 0.7617 GB, free: 11.52 MB / 0.5919 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.001814/0.6533, allocations: 0.833 MB / 0.7625 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6533, allocations: 8.031 kB / 0.7626 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.6534, allocations: 70.7 kB / 0.7626 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.6535, allocations: 52.61 kB / 0.7627 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000889/0.6544, allocations: 490.2 kB / 0.7631 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.6544, allocations: 16.94 kB / 0.7632 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/0.6545, allocations: 28.33 kB / 0.7632 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.6552, allocations: 441.2 kB / 0.7636 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6552, allocations: 4 kB / 0.7636 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.6552, allocations: 8 kB / 0.7636 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/0.6553, allocations: 24.48 kB / 0.7636 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007671/0.6561, allocations: 477.8 kB / 0.7641 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.6584, allocations: 1.442 MB / 0.7655 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.6589, allocations: 234.4 kB / 0.7657 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.6592, allocations: 196.3 kB / 0.7659 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/0.6595, allocations: 336.4 kB / 0.7662 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.6596, allocations: 34.56 kB / 0.7663 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.6596, allocations: 0 / 0.7663 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002775/0.6623, allocations: 1.527 MB / 0.7678 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.6624, allocations: 59.34 kB / 0.7678 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.6629, allocations: 394 kB / 0.7682 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.6629, allocations: 29.7 kB / 0.7682 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.6631, allocations: 208.6 kB / 0.7684 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.6632, allocations: 115 kB / 0.7685 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.6633, allocations: 69.67 kB / 0.7686 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.6635, allocations: 362.7 kB / 0.7689 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.6637, allocations: 139.9 kB / 0.7691 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.6639, allocations: 155.6 kB / 0.7692 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.6645, allocations: 332.7 kB / 0.7695 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6645, allocations: 0 / 0.7695 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009485/0.6654, allocations: 0.5216 MB / 0.77 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6655, allocations: 4 kB / 0.77 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6655, allocations: 0 / 0.77 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003695/0.6658, allocations: 120.7 kB / 0.7702 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.6661, allocations: 59.88 kB / 0.7702 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/0.6689, allocations: 2.342 MB / 0.7725 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.6691, allocations: 16.03 kB / 0.7725 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.6691, allocations: 11.98 kB / 0.7725 GB, free: 15.85 MB / 0.6075 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.0002085/0.6694, allocations: 167.6 kB / 0.7727 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-05/0.6694, allocations: 43.72 kB / 0.7727 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.6705, allocations: 0.6545 MB / 0.7734 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.6705, allocations: 7.984 kB / 0.7734 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6705, allocations: 0 / 0.7734 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6705, allocations: 0 / 0.7734 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.6711, allocations: 449.1 kB / 0.7738 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6711, allocations: 0 / 0.7738 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.6712, allocations: 35.89 kB / 0.7738 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003124/0.6716, allocations: 124.7 kB / 0.774 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.6716, allocations: 11.98 kB / 0.774 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002653/0.6742, allocations: 2.346 MB / 0.7763 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6742, allocations: 0 / 0.7763 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.6753, allocations: 0.65 MB / 0.7769 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6754, allocations: 116.9 kB / 0.777 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.6754, allocations: 4 kB / 0.777 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.6756, allocations: 8 kB / 0.777 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.6757, allocations: 28.05 kB / 0.7771 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.6757, allocations: 15.92 kB / 0.7771 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003679/0.6761, allocations: 326.8 kB / 0.7774 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6761, allocations: 4 kB / 0.7774 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005032/0.6766, allocations: 107.9 kB / 0.7775 GB, free: 10.5 MB / 0.6075 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.001648/0.6782, allocations: 1.257 MB / 0.7787 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.6792, allocations: 0.5059 MB / 0.7792 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6792, allocations: 0 / 0.7792 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000668/0.6799, allocations: 358.4 kB / 0.7795 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.6805, allocations: 114 kB / 0.7797 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006041/0.6865, allocations: 4.112 MB / 0.7837 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.6871, allocations: 0.8347 MB / 0.7845 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002526/0.6874, allocations: 88.05 kB / 0.7846 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.6876, allocations: 159.3 kB / 0.7847 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.6876, allocations: 0 / 0.7847 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04635/0.7339, allocations: 12.01 MB / 0.7965 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.06, allocations: 11.67 kB / 0.7965 GB, free: 7.051 MB / 0.6231 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 14.497910134959966]