Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001827/0.001827, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.00251/0.00251, allocations: 220.4 kB / 23.04 MB, free: 5.074 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.7785/0.7785, allocations: 100.3 MB / 413.5 MB, free: 3.684 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.TestJunctionNM,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_dev_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.002385/0.002385, allocations: 83.44 kB / 0.564 GB, free: 35.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.135, allocations: 74.47 MB / 0.6367 GB, free: 7.676 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7423/0.8774, allocations: 365.3 MB / 0.9935 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04906/0.9264, allocations: 39.1 MB / 1.032 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.9288, allocations: 103.1 kB / 1.032 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005424/0.9342, allocations: 2.076 MB / 1.034 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02323/0.9575, allocations: 8.845 MB / 1.042 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0117/0.9692, allocations: 4.354 MB / 1.047 GB, free: 14 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006753/0.9759, allocations: 4.031 MB / 1.051 GB, free: 9.953 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.9772, allocations: 0.6451 MB / 1.051 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006518/0.9837, allocations: 2.706 MB / 1.054 GB, free: 6.547 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.987, allocations: 1.86 MB / 1.056 GB, free: 4.68 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000618/0.9876, allocations: 244 kB / 1.056 GB, free: 4.441 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5094/1.497, allocations: 17.37 MB / 1.073 GB, free: 12.26 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001904/1.499, allocations: 0.8671 MB / 1.074 GB, free: 12.26 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003448/1.502, allocations: 1.445 MB / 1.075 GB, free: 12.26 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02848/1.531, allocations: 10.08 MB / 1.085 GB, free: 11.67 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.531, allocations: 0 / 1.085 GB, free: 11.67 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/1.531, allocations: 5.562 kB / 1.085 GB, free: 11.67 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001031/1.531, allocations: 0 / 1.085 GB, free: 11.67 MB / 0.795 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.01394/1.545, allocations: 4.601 MB / 1.09 GB, free: 9.555 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.545, allocations: 9.375 kB / 1.09 GB, free: 9.555 MB / 0.795 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.915e-05/1.545, allocations: 50.91 kB / 1.09 GB, free: 9.551 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003985/1.545, allocations: 282.8 kB / 1.09 GB, free: 9.504 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000777/1.546, allocations: 313.1 kB / 1.09 GB, free: 9.344 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/1.55, allocations: 1.58 MB / 1.092 GB, free: 8.895 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/1.55, allocations: 142.9 kB / 1.092 GB, free: 8.891 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003866/1.55, allocations: 198.2 kB / 1.092 GB, free: 8.887 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005077/1.555, allocations: 3.131 MB / 1.095 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/1.555, allocations: 3.594 kB / 1.095 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/1.555, allocations: 77.06 kB / 1.095 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/1.556, allocations: 182.9 kB / 1.095 GB, free: 8.746 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/1.56, allocations: 3.465 MB / 1.099 GB, free: 8.73 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/1.577, allocations: 12.4 MB / 1.111 GB, free: 17.63 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/1.58, allocations: 1.494 MB / 1.112 GB, free: 17.58 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/1.582, allocations: 1.28 MB / 1.114 GB, free: 17.55 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/1.583, allocations: 0.4896 MB / 1.114 GB, free: 17.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/1.583, allocations: 56.5 kB / 1.114 GB, free: 17.51 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=196): time 4.639e-06/1.583, allocations: 0.7188 kB / 1.114 GB, free: 17.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=200): time 0.01437/1.597, allocations: 7.832 MB / 1.122 GB, free: 16.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/1.597, allocations: 104.5 kB / 1.122 GB, free: 16.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/1.599, allocations: 1.461 MB / 1.123 GB, free: 16.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003043/1.6, allocations: 57.16 kB / 1.123 GB, free: 16.13 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000578/1.6, allocations: 0.9282 MB / 1.124 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/1.601, allocations: 0.7094 MB / 1.125 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005377/1.601, allocations: 342.8 kB / 1.125 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.601, allocations: 307.5 kB / 1.126 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/1.603, allocations: 1.034 MB / 1.127 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/1.604, allocations: 1.152 MB / 1.128 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/1.608, allocations: 2.351 MB / 1.13 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.608, allocations: 2.312 kB / 1.13 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005074/1.613, allocations: 3.063 MB / 1.133 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/1.613, allocations: 7.406 kB / 1.133 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.613, allocations: 4.938 kB / 1.133 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/1.614, allocations: 471.4 kB / 1.133 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.615, allocations: 333.9 kB / 1.134 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00763/1.623, allocations: 6.143 MB / 1.14 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/1.625, allocations: 47.33 kB / 1.14 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004559/1.625, allocations: 122.1 kB / 1.14 GB, free: 11.89 MB / 0.8106 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.001452/1.627, allocations: 0.5196 MB / 1.14 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007942/1.628, allocations: 214.8 kB / 1.141 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007261/1.635, allocations: 4.641 MB / 1.145 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.308e-05/1.635, allocations: 22.22 kB / 1.145 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.635, allocations: 7.438 kB / 1.145 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.324e-05/1.635, allocations: 11.3 kB / 1.145 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/1.646, allocations: 6.256 MB / 1.151 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.342e-05/1.646, allocations: 6.156 kB / 1.151 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.647, allocations: 312.2 kB / 1.152 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/1.648, allocations: 491.6 kB / 1.152 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002465/1.649, allocations: 84.95 kB / 1.152 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007624/1.656, allocations: 6.155 MB / 1.158 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.656, allocations: 6.562 kB / 1.158 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007798/1.664, allocations: 4.792 MB / 1.163 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009178/1.665, allocations: 215.2 kB / 1.163 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007076/1.666, allocations: 42.89 kB / 1.163 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.667, allocations: 45.81 kB / 1.163 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/1.667, allocations: 174.1 kB / 1.163 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002421/1.668, allocations: 111 kB / 1.163 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001589/1.669, allocations: 1.124 MB / 1.164 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/1.669, allocations: 2.969 kB / 1.164 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007245/1.676, allocations: 1.684 MB / 1.166 GB, free: 6.758 MB / 0.8106 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.01659/1.693, allocations: 7.338 MB / 1.173 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006938/1.7, allocations: 2.966 MB / 1.176 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.7, allocations: 1.094 kB / 1.176 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004368/1.704, allocations: 1.806 MB / 1.178 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005322/1.71, allocations: 0.8208 MB / 1.179 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04169/1.751, allocations: 20.12 MB / 1.198 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/1.753, allocations: 1.768 MB / 1.2 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003171/1.756, allocations: 1.288 MB / 1.201 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/1.758, allocations: 1.061 MB / 1.202 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of SimCode: time 1.152e-06/1.758, allocations: 0 / 1.202 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/1.929, allocations: 95.13 MB / 1.295 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/20.5, allocations: 6.875 kB / 1.295 GB, free: 8.141 MB / 0.9356 GB " [Timeout remaining time 639] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 24.83787812292576]