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.001378/0.001378, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001646/0.001646, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8297/0.8297, allocations: 94.62 MB / 407.8 MB, free: 8.902 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.002504/0.002504, allocations: 94.02 kB / 0.5557 GB, free: 38.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1516, allocations: 73.05 MB / 0.627 GB, free: 188 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7928/0.9444, allocations: 319.1 MB / 0.9386 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.05238/0.9968, allocations: 34.93 MB / 0.9727 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.9997, allocations: 107 kB / 0.9728 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006078/1.006, allocations: 1.729 MB / 0.9745 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02827/1.034, allocations: 8.712 MB / 0.983 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01526/1.049, allocations: 4.315 MB / 0.9873 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006832/1.056, allocations: 4.016 MB / 0.9912 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/1.058, allocations: 0.6412 MB / 0.9918 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007187/1.065, allocations: 2.721 MB / 0.9945 GB, free: 168 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004034/1.069, allocations: 1.864 MB / 0.9963 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001222/1.07, allocations: 244 kB / 0.9965 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03034/1.101, allocations: 13.97 MB / 1.01 GB, free: 64 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001709/1.102, allocations: 0.8721 MB / 1.011 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003005/1.105, allocations: 1.19 MB / 1.012 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.03032/1.136, allocations: 9.659 MB / 1.022 GB, free: 4.305 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/1.136, allocations: 0 / 1.022 GB, free: 4.305 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.914e-06/1.136, allocations: 0 / 1.022 GB, free: 4.305 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001792/1.136, allocations: 7.938 kB / 1.022 GB, free: 4.297 MB / 0.7637 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.0136/1.149, allocations: 4.581 MB / 1.026 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.15, allocations: 8.031 kB / 1.026 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.603e-05/1.15, allocations: 55.75 kB / 1.026 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007058/1.15, allocations: 282.8 kB / 1.026 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/1.152, allocations: 370 kB / 1.027 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/1.156, allocations: 1.574 MB / 1.028 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/1.156, allocations: 139.7 kB / 1.028 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005028/1.157, allocations: 203.9 kB / 1.029 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005869/1.163, allocations: 3.128 MB / 1.032 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/1.163, allocations: 0 / 1.032 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/1.163, allocations: 75.97 kB / 1.032 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002739/1.163, allocations: 191.8 kB / 1.032 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00563/1.169, allocations: 3.451 MB / 1.035 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/1.184, allocations: 7.034 MB / 1.042 GB, free: 15 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/1.187, allocations: 1.474 MB / 1.044 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002205/1.189, allocations: 1.274 MB / 1.045 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/1.191, allocations: 489.5 kB / 1.045 GB, free: 11.75 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/1.191, allocations: 60.44 kB / 1.045 GB, free: 11.68 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 7.354e-06/1.191, allocations: 4 kB / 1.045 GB, free: 11.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01747/1.208, allocations: 7.81 MB / 1.053 GB, free: 3.812 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.974e-05/1.208, allocations: 99.11 kB / 1.053 GB, free: 3.695 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/1.211, allocations: 1.46 MB / 1.055 GB, free: 2.234 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003093/1.211, allocations: 65.69 kB / 1.055 GB, free: 2.164 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007856/1.212, allocations: 0.9202 MB / 1.056 GB, free: 1.234 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008405/1.213, allocations: 0.7048 MB / 1.056 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008182/1.214, allocations: 343.5 kB / 1.057 GB, free: 188 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.3151/1.529, allocations: 301.1 kB / 1.057 GB, free: 332.9 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/1.531, allocations: 1.024 MB / 1.058 GB, free: 332.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/1.533, allocations: 1.151 MB / 1.059 GB, free: 332.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/1.537, allocations: 2.349 MB / 1.061 GB, free: 332.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.537, allocations: 0 / 1.061 GB, free: 332.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005274/1.542, allocations: 3.053 MB / 1.064 GB, free: 331.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.542, allocations: 5.391 kB / 1.064 GB, free: 331.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.542, allocations: 0 / 1.064 GB, free: 331.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/1.544, allocations: 475.2 kB / 1.065 GB, free: 331.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.545, allocations: 335.2 kB / 1.065 GB, free: 331 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008258/1.553, allocations: 6.047 MB / 1.071 GB, free: 326.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/1.555, allocations: 42.77 kB / 1.071 GB, free: 326.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004455/1.555, allocations: 116.8 kB / 1.071 GB, free: 326.7 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.001182/1.557, allocations: 0.5203 MB / 1.072 GB, free: 326.4 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006653/1.557, allocations: 222.2 kB / 1.072 GB, free: 326.4 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00776/1.565, allocations: 4.549 MB / 1.076 GB, free: 324.7 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-05/1.565, allocations: 22.91 kB / 1.076 GB, free: 324.7 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.382e-05/1.565, allocations: 6.312 kB / 1.076 GB, free: 324.7 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-05/1.565, allocations: 13.5 kB / 1.076 GB, free: 324.7 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009419/1.575, allocations: 5.72 MB / 1.082 GB, free: 322.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.575, allocations: 11.72 kB / 1.082 GB, free: 322.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/1.576, allocations: 291.2 kB / 1.082 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/1.577, allocations: 496.2 kB / 1.083 GB, free: 322.1 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002688/1.578, allocations: 81.92 kB / 1.083 GB, free: 322.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0062/1.584, allocations: 6.063 MB / 1.089 GB, free: 317.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.584, allocations: 3.938 kB / 1.089 GB, free: 317.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006432/1.59, allocations: 4.732 MB / 1.093 GB, free: 314.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/1.591, allocations: 203.5 kB / 1.093 GB, free: 314.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/1.591, allocations: 50.95 kB / 1.093 GB, free: 314.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009789/1.592, allocations: 39.98 kB / 1.093 GB, free: 314.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/1.592, allocations: 169.6 kB / 1.094 GB, free: 314.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/1.593, allocations: 99.94 kB / 1.094 GB, free: 314.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001259/1.594, allocations: 1.123 MB / 1.095 GB, free: 313.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/1.594, allocations: 3.938 kB / 1.095 GB, free: 313.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00447/1.598, allocations: 1.61 MB / 1.096 GB, free: 311.9 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 (150): * Single equations (assignments): 138 * 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.01072/1.609, allocations: 7.183 MB / 1.103 GB, free: 305.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005263/1.614, allocations: 2.964 MB / 1.106 GB, free: 302.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.614, allocations: 4 kB / 1.106 GB, free: 302.3 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002688/1.617, allocations: 1.771 MB / 1.108 GB, free: 300.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/1.621, allocations: 0.8005 MB / 1.109 GB, free: 299.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/1.65, allocations: 20 MB / 1.128 GB, free: 280 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.652, allocations: 1.193 MB / 1.13 GB, free: 278.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002747/1.654, allocations: 1.282 MB / 1.131 GB, free: 277.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/1.656, allocations: 1.023 MB / 1.132 GB, free: 276.5 MB / 0.795 GB Notification: Performance of SimCode: time 1.713e-06/1.656, allocations: 0 / 1.132 GB, free: 276.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/1.793, allocations: 96.63 MB / 1.226 GB, free: 180.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/20.13, allocations: 19.89 kB / 1.226 GB, free: 180.4 MB / 0.795 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: 24.59530852898024]