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.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.001028/0.001028, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001006/0.001006, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8168/0.8168, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6116/0.6116, allocations: 116 MB / 375.2 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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 2.284e-06/2.284e-06, allocations: 0 / 0.5532 GB, free: 13.37 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.23e-05, allocations: 2.281 kB / 0.5532 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.3342/0.3342, allocations: 125.6 MB / 0.6759 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003244/0.3375, allocations: 3.409 MB / 0.6792 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.3379, allocations: 40.09 kB / 0.6793 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.3385, allocations: 193.8 kB / 0.6794 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008585/0.3393, allocations: 368 kB / 0.6798 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.3405, allocations: 444.5 kB / 0.6802 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009626/0.3414, allocations: 0.8232 MB / 0.681 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.3416, allocations: 75.91 kB / 0.6811 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009934/0.3426, allocations: 0.5064 MB / 0.6816 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.3431, allocations: 335.7 kB / 0.6819 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.3432, allocations: 37.44 kB / 0.6819 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000799/0.344, allocations: 393.5 kB / 0.6823 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.3441, allocations: 115 kB / 0.6824 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.3443, allocations: 149.6 kB / 0.6826 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.3453, allocations: 0.6709 MB / 0.6832 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3453, allocations: 0 / 0.6832 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3453, allocations: 1.125 kB / 0.6832 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.3454, allocations: 0 / 0.6832 GB, free: 6.277 MB / 0.5573 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.001406/0.3468, allocations: 0.7717 MB / 0.684 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3468, allocations: 11.16 kB / 0.684 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.15e-05/0.3469, allocations: 63.05 kB / 0.6841 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.364e-05/0.347, allocations: 57.16 kB / 0.6841 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/0.3476, allocations: 443.9 kB / 0.6845 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3476, allocations: 17.31 kB / 0.6846 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.3477, allocations: 23.06 kB / 0.6846 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005993/0.3483, allocations: 443.5 kB / 0.685 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3483, allocations: 384 / 0.685 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.3483, allocations: 15.27 kB / 0.685 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/0.3484, allocations: 19.77 kB / 0.685 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/0.3489, allocations: 488.4 kB / 0.6855 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.3506, allocations: 1.25 MB / 0.6867 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.3511, allocations: 222.3 kB / 0.6869 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.3513, allocations: 196.8 kB / 0.6871 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.3515, allocations: 32.58 kB / 0.6871 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.3515, allocations: 36 kB / 0.6872 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 3.306e-06/0.3515, allocations: 1.062 kB / 0.6872 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.002167/0.3536, allocations: 1.232 MB / 0.6884 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.3537, allocations: 55.06 kB / 0.6884 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.3541, allocations: 411.5 kB / 0.6888 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.3541, allocations: 33.7 kB / 0.6889 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.998e-05/0.3542, allocations: 210.3 kB / 0.6891 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/0.3543, allocations: 121.4 kB / 0.6892 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-05/0.3544, allocations: 64.45 kB / 0.6892 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.3545, allocations: 358.7 kB / 0.6896 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.3547, allocations: 143.4 kB / 0.6897 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.3549, allocations: 145.6 kB / 0.6899 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.3553, allocations: 341.1 kB / 0.6902 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3553, allocations: 0 / 0.6902 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007326/0.356, allocations: 0.5251 MB / 0.6907 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.3561, allocations: 8.469 kB / 0.6907 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3561, allocations: 1 kB / 0.6907 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/0.3564, allocations: 114.3 kB / 0.6908 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.3566, allocations: 59.94 kB / 0.6909 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.3582, allocations: 2.202 MB / 0.693 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.3585, allocations: 9.5 kB / 0.693 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.3585, allocations: 12.7 kB / 0.693 GB, free: 2.285 MB / 0.5573 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.0002163/0.3587, allocations: 169.6 kB / 0.6932 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.3588, allocations: 50.98 kB / 0.6933 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007862/0.3596, allocations: 0.6539 MB / 0.6939 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3596, allocations: 2.75 kB / 0.6939 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3596, allocations: 2.75 kB / 0.6939 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3596, allocations: 6.656 kB / 0.6939 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.3601, allocations: 365.8 kB / 0.6943 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3601, allocations: 5.312 kB / 0.6943 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.3602, allocations: 38.73 kB / 0.6943 GB, free: 1.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/0.3605, allocations: 124.3 kB / 0.6944 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.3605, allocations: 14.22 kB / 0.6944 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.3623, allocations: 2.212 MB / 0.6966 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3623, allocations: 96 / 0.6966 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009603/0.3632, allocations: 0.6416 MB / 0.6972 GB, free: 15.46 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.3634, allocations: 76.14 kB / 0.6973 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.3635, allocations: 13.3 kB / 0.6973 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3636, allocations: 10.5 kB / 0.6973 GB, free: 15.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.3636, allocations: 27.5 kB / 0.6973 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3636, allocations: 9.984 kB / 0.6973 GB, free: 15.39 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002988/0.3639, allocations: 328.2 kB / 0.6977 GB, free: 15.24 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.3639, allocations: 0 / 0.6977 GB, free: 15.24 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004835/0.3644, allocations: 121.3 kB / 0.6978 GB, free: 15.22 MB / 0.573 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.001086/0.3655, allocations: 1.259 MB / 0.699 GB, free: 14.38 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007322/0.3662, allocations: 0.5017 MB / 0.6995 GB, free: 14.12 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3662, allocations: 0 / 0.6995 GB, free: 14.12 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.3666, allocations: 353.4 kB / 0.6998 GB, free: 13.92 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/0.3672, allocations: 181.5 kB / 0.7 GB, free: 13.87 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.3715, allocations: 4.106 MB / 0.704 GB, free: 11.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.3717, allocations: 233.4 kB / 0.7042 GB, free: 11.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002591/0.3719, allocations: 95.09 kB / 0.7043 GB, free: 11.49 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.3721, allocations: 168 kB / 0.7045 GB, free: 11.37 MB / 0.573 GB Notification: Performance of SimCode: time 2.004e-06/0.3721, allocations: 0 / 0.7045 GB, free: 11.37 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.4017, allocations: 14.68 MB / 0.7188 GB, free: 4.004 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/7.259, allocations: 6.281 kB / 0.7188 GB, free: 4 MB / 0.573 GB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.609617922455072]