Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.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.001468/0.001468, allocations: 113.7 kB / 19.73 MB, free: 2.227 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.001675/0.001675, allocations: 216.1 kB / 23.04 MB, free: 5.062 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.7466/0.7466, allocations: 94.57 MB / 407.8 MB, free: 9.18 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.TestJunctionNM,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM",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.002339/0.002339, allocations: 89.8 kB / 0.5557 GB, free: 38.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1214, allocations: 73.05 MB / 0.6271 GB, free: 468 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.727/0.8484, allocations: 365.3 MB / 0.9839 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04933/0.8977, allocations: 39.1 MB / 1.022 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.9004, allocations: 103.1 kB / 1.022 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005386/0.9058, allocations: 2.072 MB / 1.024 GB, free: 7.973 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02384/0.9296, allocations: 8.848 MB / 1.033 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01211/0.9417, allocations: 4.347 MB / 1.037 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006392/0.9481, allocations: 4.031 MB / 1.041 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.9493, allocations: 0.6412 MB / 1.042 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005751/0.9551, allocations: 2.71 MB / 1.044 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.9582, allocations: 1.872 MB / 1.046 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005526/0.9587, allocations: 244 kB / 1.046 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4933/1.452, allocations: 17.37 MB / 1.063 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001364/1.453, allocations: 0.868 MB / 1.064 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002453/1.456, allocations: 1.445 MB / 1.066 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.02655/1.482, allocations: 10.09 MB / 1.075 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.482, allocations: 1.062 kB / 1.075 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/1.482, allocations: 0 / 1.075 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001279/1.482, allocations: 0 / 1.075 GB, free: 9.672 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 506 * Number of variables: 506 Notification: Performance of Generate backend data structure: time 0.01372/1.496, allocations: 4.598 MB / 1.08 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.496, allocations: 9.25 kB / 1.08 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.708e-05/1.496, allocations: 50.81 kB / 1.08 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004393/1.497, allocations: 283.6 kB / 1.08 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008084/1.498, allocations: 304.8 kB / 1.08 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/1.501, allocations: 1.589 MB / 1.082 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/1.501, allocations: 141.5 kB / 1.082 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/1.502, allocations: 200.7 kB / 1.082 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/1.506, allocations: 3.133 MB / 1.085 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/1.506, allocations: 3.062 kB / 1.085 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.506, allocations: 76.19 kB / 1.086 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/1.506, allocations: 185.1 kB / 1.086 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004167/1.511, allocations: 3.459 MB / 1.089 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/1.527, allocations: 12.4 MB / 1.101 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/1.529, allocations: 1.49 MB / 1.103 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/1.531, allocations: 1.287 MB / 1.104 GB, free: 15.56 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/1.532, allocations: 0.4891 MB / 1.104 GB, free: 15.56 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/1.532, allocations: 55.53 kB / 1.104 GB, free: 15.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 6.582e-06/1.532, allocations: 1 kB / 1.104 GB, free: 15.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01357/1.546, allocations: 7.83 MB / 1.112 GB, free: 14.43 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/1.546, allocations: 98.77 kB / 1.112 GB, free: 14.33 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/1.548, allocations: 1.464 MB / 1.114 GB, free: 14.17 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002708/1.548, allocations: 59.06 kB / 1.114 GB, free: 14.14 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000563/1.549, allocations: 0.9271 MB / 1.115 GB, free: 13.83 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005438/1.549, allocations: 0.7084 MB / 1.115 GB, free: 13.36 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005375/1.55, allocations: 342.5 kB / 1.116 GB, free: 13.34 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.55, allocations: 302.4 kB / 1.116 GB, free: 13.05 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/1.551, allocations: 1.032 MB / 1.117 GB, free: 13.04 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/1.553, allocations: 1.156 MB / 1.118 GB, free: 13.01 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/1.556, allocations: 2.351 MB / 1.12 GB, free: 12.97 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.269e-06/1.556, allocations: 0.9688 kB / 1.12 GB, free: 12.97 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004953/1.561, allocations: 3.067 MB / 1.123 GB, free: 12.75 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.561, allocations: 12.19 kB / 1.123 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.561, allocations: 4.844 kB / 1.123 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/1.562, allocations: 479.9 kB / 1.124 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.563, allocations: 333.8 kB / 1.124 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007101/1.571, allocations: 6.135 MB / 1.13 GB, free: 9.902 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/1.572, allocations: 44.59 kB / 1.13 GB, free: 9.902 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003373/1.572, allocations: 125.1 kB / 1.13 GB, free: 9.898 MB / 0.795 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 (172): * Single equations (assignments): 160 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001177/1.574, allocations: 0.5236 MB / 1.131 GB, free: 9.781 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006356/1.574, allocations: 217.3 kB / 1.131 GB, free: 9.664 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006795/1.581, allocations: 4.636 MB / 1.135 GB, free: 9.266 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.546e-05/1.581, allocations: 21.45 kB / 1.135 GB, free: 9.266 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/1.581, allocations: 8.5 kB / 1.135 GB, free: 9.266 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/1.581, allocations: 7.453 kB / 1.136 GB, free: 9.266 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/1.591, allocations: 6.256 MB / 1.142 GB, free: 8.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.591, allocations: 10.77 kB / 1.142 GB, free: 8.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.592, allocations: 306.8 kB / 1.142 GB, free: 8.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/1.594, allocations: 495 kB / 1.142 GB, free: 8.695 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/1.594, allocations: 80.83 kB / 1.142 GB, free: 8.695 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007383/1.601, allocations: 6.158 MB / 1.148 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.601, allocations: 3.938 kB / 1.148 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007939/1.609, allocations: 4.791 MB / 1.153 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009245/1.61, allocations: 208.4 kB / 1.153 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003644/1.611, allocations: 39.62 kB / 1.153 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000949/1.612, allocations: 45.12 kB / 1.153 GB, free: 3.738 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000388/1.612, allocations: 176.6 kB / 1.154 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/1.612, allocations: 119.8 kB / 1.154 GB, free: 3.59 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001566/1.614, allocations: 1.124 MB / 1.155 GB, free: 2.965 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/1.614, allocations: 0 / 1.155 GB, free: 2.965 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005425/1.619, allocations: 1.68 MB / 1.156 GB, free: 1.539 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (junctionNM1.junctionN.outlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,flowResistance9.inlet.m_flow,junctionNM.junctionN.outlet.m_flow,flowResistance1.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.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 (160): * Single equations (assignments): 148 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01412/1.633, allocations: 7.451 MB / 1.164 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005524/1.639, allocations: 2.971 MB / 1.167 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.639, allocations: 2.344 kB / 1.167 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003362/1.642, allocations: 1.804 MB / 1.168 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/1.646, allocations: 0.8212 MB / 1.169 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/1.683, allocations: 20.11 MB / 1.189 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/1.685, allocations: 1.766 MB / 1.191 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002929/1.688, allocations: 1.296 MB / 1.192 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/1.689, allocations: 1.054 MB / 1.193 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of SimCode: time 1.373e-06/1.689, allocations: 0 / 1.193 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1709/1.86, allocations: 95.12 MB / 1.286 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.63/19.49, allocations: 10.27 kB / 1.286 GB, free: 15.77 MB / 0.9356 GB " [Timeout remaining time 640] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.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: 23.603818133939058]