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.001623/0.001623, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001975/0.001975, allocations: 215 kB / 20.13 MB, free: 2.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.539/1.539, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.6523/0.6523, allocations: 94.57 MB / 404.1 MB, free: 10.95 MB / 334.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.002442/0.002442, allocations: 84.28 kB / 0.5506 GB, free: 5.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4967, allocations: 73.02 MB / 0.6219 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.8896/1.386, allocations: 363.7 MB / 0.9771 GB, free: 8.973 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04839/1.435, allocations: 38.85 MB / 1.015 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/1.438, allocations: 105.2 kB / 1.015 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006267/1.444, allocations: 2.068 MB / 1.017 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02745/1.472, allocations: 8.802 MB / 1.026 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01298/1.485, allocations: 4.243 MB / 1.03 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007535/1.492, allocations: 4.008 MB / 1.034 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/1.494, allocations: 0.8243 MB / 1.035 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007412/1.501, allocations: 2.694 MB / 1.037 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003907/1.505, allocations: 1.856 MB / 1.039 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000956/1.506, allocations: 244 kB / 1.039 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03737/1.544, allocations: 17.23 MB / 1.056 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002073/1.546, allocations: 0.8682 MB / 1.057 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002587/1.548, allocations: 1.442 MB / 1.058 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0349/1.583, allocations: 10.07 MB / 1.068 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.583, allocations: 0 / 1.068 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.314e-06/1.583, allocations: 4 kB / 1.068 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001073/1.583, allocations: 0 / 1.068 GB, free: 1.25 MB / 0.7481 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.01373/1.597, allocations: 4.683 MB / 1.073 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.597, allocations: 8.031 kB / 1.073 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.061e-05/1.597, allocations: 55.69 kB / 1.073 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004303/1.598, allocations: 282.8 kB / 1.073 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008305/1.598, allocations: 306.1 kB / 1.073 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/1.602, allocations: 1.689 MB / 1.075 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/1.602, allocations: 143.7 kB / 1.075 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/1.602, allocations: 195.9 kB / 1.075 GB, free: 9.766 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005648/1.608, allocations: 3.093 MB / 1.078 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/1.608, allocations: 4.812 kB / 1.078 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/1.608, allocations: 75.97 kB / 1.078 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002762/1.609, allocations: 187.9 kB / 1.079 GB, free: 6.383 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0055/1.614, allocations: 3.385 MB / 1.082 GB, free: 2.996 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/1.634, allocations: 12.44 MB / 1.094 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/1.637, allocations: 1.49 MB / 1.096 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/1.639, allocations: 1.281 MB / 1.097 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003801/1.643, allocations: 3.855 MB / 1.101 GB, free: 13.81 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/1.643, allocations: 52.56 kB / 1.101 GB, free: 13.75 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 8.205e-06/1.643, allocations: 0 / 1.101 GB, free: 13.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.0174/1.66, allocations: 8.586 MB / 1.109 GB, free: 4.918 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-05/1.66, allocations: 99.11 kB / 1.109 GB, free: 4.801 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/1.663, allocations: 1.468 MB / 1.111 GB, free: 3.332 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003451/1.663, allocations: 65.62 kB / 1.111 GB, free: 3.262 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/1.664, allocations: 0.9203 MB / 1.112 GB, free: 2.332 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/1.665, allocations: 0.7087 MB / 1.112 GB, free: 1.617 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007396/1.666, allocations: 343.5 kB / 1.113 GB, free: 1.277 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.666, allocations: 305.1 kB / 1.113 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/1.668, allocations: 1.031 MB / 1.114 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/1.67, allocations: 1.155 MB / 1.115 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004139/1.674, allocations: 2.352 MB / 1.117 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.674, allocations: 4 kB / 1.117 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.00618/1.68, allocations: 3.058 MB / 1.12 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/1.68, allocations: 18.12 kB / 1.12 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.68, allocations: 0 / 1.12 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001665/1.682, allocations: 472.2 kB / 1.121 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/1.683, allocations: 335.5 kB / 1.121 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008832/1.692, allocations: 6.346 MB / 1.127 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/1.694, allocations: 40.05 kB / 1.127 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003668/1.694, allocations: 119.9 kB / 1.127 GB, free: 1.77 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.001288/1.696, allocations: 0.5208 MB / 1.128 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000719/1.696, allocations: 218.6 kB / 1.128 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008335/1.705, allocations: 4.64 MB / 1.133 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-05/1.705, allocations: 20 kB / 1.133 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/1.705, allocations: 8 kB / 1.133 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/1.705, allocations: 11.95 kB / 1.133 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/1.718, allocations: 6.281 MB / 1.139 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/1.718, allocations: 4 kB / 1.139 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.719, allocations: 299.6 kB / 1.139 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/1.721, allocations: 0.4959 MB / 1.14 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/1.721, allocations: 87.92 kB / 1.14 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008742/1.73, allocations: 6.36 MB / 1.146 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.73, allocations: 4 kB / 1.146 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008867/1.739, allocations: 4.788 MB / 1.151 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.74, allocations: 275.7 kB / 1.151 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/1.74, allocations: 44 kB / 1.151 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009985/1.741, allocations: 48.03 kB / 1.151 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003973/1.741, allocations: 169.6 kB / 1.151 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.742, allocations: 107.9 kB / 1.151 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001857/1.744, allocations: 1.123 MB / 1.152 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/1.744, allocations: 4 kB / 1.152 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.007571/1.751, allocations: 1.683 MB / 1.154 GB, free: 6.117 MB / 0.8419 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.3784/2.13, allocations: 7.335 MB / 1.161 GB, free: 380.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006248/2.136, allocations: 2.977 MB / 1.164 GB, free: 380 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/2.136, allocations: 0 / 1.164 GB, free: 380 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003207/2.139, allocations: 1.796 MB / 1.166 GB, free: 379.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/2.143, allocations: 0.8031 MB / 1.167 GB, free: 379.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/2.176, allocations: 20.1 MB / 1.186 GB, free: 371 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/2.177, allocations: 1.772 MB / 1.188 GB, free: 369.9 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002893/2.18, allocations: 1.296 MB / 1.189 GB, free: 369.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/2.181, allocations: 1.058 MB / 1.19 GB, free: 368.5 MB / 0.8419 GB Notification: Performance of SimCode: time 1.553e-06/2.181, allocations: 0 / 1.19 GB, free: 368.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1393/2.321, allocations: 93.62 MB / 1.282 GB, free: 277.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/19.06, allocations: 6.875 kB / 1.282 GB, free: 277.2 MB / 0.8419 GB " [Timeout remaining time 641] (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.316928668995388]