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.001736/0.001736, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002062/0.002062, allocations: 212.5 kB / 23.03 MB, free: 4.922 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8082/0.8082, allocations: 100.3 MB / 413.5 MB, free: 3.398 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.002336/0.002336, allocations: 85.31 kB / 0.564 GB, free: 35.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1246, allocations: 74.47 MB / 0.6367 GB, free: 7.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7181/0.8426, allocations: 319 MB / 0.9483 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.04755/0.8902, allocations: 34.94 MB / 0.9824 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.8931, allocations: 107.1 kB / 0.9825 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005535/0.8986, allocations: 1.733 MB / 0.9842 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02676/0.9254, allocations: 8.705 MB / 0.9927 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01225/0.9377, allocations: 4.318 MB / 0.9969 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006363/0.944, allocations: 4.02 MB / 1.001 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.9453, allocations: 0.6412 MB / 1.001 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00668/0.952, allocations: 2.714 MB / 1.004 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004338/0.9563, allocations: 1.864 MB / 1.006 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009113/0.9572, allocations: 244 kB / 1.006 GB, free: 0.6133 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02871/0.9859, allocations: 13.97 MB / 1.02 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.9875, allocations: 0.8721 MB / 1.021 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002038/0.9895, allocations: 1.186 MB / 1.022 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02698/1.016, allocations: 9.655 MB / 1.031 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.016, allocations: 0 / 1.031 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/1.016, allocations: 4 kB / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.244e-05/1.017, allocations: 0 / 1.031 GB, free: 6.859 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.01132/1.028, allocations: 4.589 MB / 1.036 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.028, allocations: 12.03 kB / 1.036 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.076e-05/1.028, allocations: 47.75 kB / 1.036 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003926/1.028, allocations: 282.8 kB / 1.036 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/1.03, allocations: 374 kB / 1.036 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/1.033, allocations: 1.578 MB / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/1.033, allocations: 143.7 kB / 1.038 GB, free: 15.74 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/1.034, allocations: 195.9 kB / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005168/1.039, allocations: 3.128 MB / 1.041 GB, free: 12.39 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/1.039, allocations: 3.938 kB / 1.041 GB, free: 12.39 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/1.039, allocations: 75.98 kB / 1.041 GB, free: 12.31 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002492/1.039, allocations: 183.8 kB / 1.042 GB, free: 12.13 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005168/1.045, allocations: 3.455 MB / 1.045 GB, free: 8.676 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/1.059, allocations: 7.033 MB / 1.052 GB, free: 1.555 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/1.062, allocations: 1.483 MB / 1.053 GB, free: 56 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2879/1.35, allocations: 1.265 MB / 1.055 GB, free: 326.2 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/1.352, allocations: 487.9 kB / 1.055 GB, free: 326.2 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/1.352, allocations: 62.75 kB / 1.055 GB, free: 326.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 6.752e-06/1.352, allocations: 0.5312 kB / 1.055 GB, free: 326.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01505/1.367, allocations: 7.805 MB / 1.063 GB, free: 323.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/1.367, allocations: 104.6 kB / 1.063 GB, free: 323.2 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/1.369, allocations: 1.458 MB / 1.064 GB, free: 322.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003011/1.369, allocations: 60.3 kB / 1.064 GB, free: 322.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006103/1.37, allocations: 0.9258 MB / 1.065 GB, free: 322 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000705/1.37, allocations: 0.7097 MB / 1.066 GB, free: 321.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007174/1.371, allocations: 336.1 kB / 1.066 GB, free: 321.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.472e-05/1.371, allocations: 306.3 kB / 1.066 GB, free: 321.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/1.373, allocations: 1.033 MB / 1.067 GB, free: 320.7 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/1.375, allocations: 1.152 MB / 1.069 GB, free: 320.2 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/1.379, allocations: 2.344 MB / 1.071 GB, free: 319.2 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.379, allocations: 5 kB / 1.071 GB, free: 319.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005255/1.384, allocations: 3.052 MB / 1.074 GB, free: 317.9 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/1.384, allocations: 6.688 kB / 1.074 GB, free: 317.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.384, allocations: 0 / 1.074 GB, free: 317.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/1.385, allocations: 472.5 kB / 1.074 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.387, allocations: 335.2 kB / 1.075 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005987/1.393, allocations: 6.053 MB / 1.081 GB, free: 313.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.394, allocations: 43.56 kB / 1.081 GB, free: 313.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/1.394, allocations: 117.9 kB / 1.081 GB, free: 313.4 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.000922/1.395, allocations: 0.5141 MB / 1.081 GB, free: 313 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000552/1.396, allocations: 219.6 kB / 1.081 GB, free: 312.9 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006487/1.402, allocations: 4.541 MB / 1.086 GB, free: 311.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-05/1.402, allocations: 18.97 kB / 1.086 GB, free: 311.2 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.402, allocations: 7.156 kB / 1.086 GB, free: 311.2 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/1.402, allocations: 11.38 kB / 1.086 GB, free: 311.2 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008338/1.411, allocations: 5.733 MB / 1.092 GB, free: 307.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.411, allocations: 8.188 kB / 1.092 GB, free: 307.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.412, allocations: 287.6 kB / 1.092 GB, free: 307.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/1.413, allocations: 0.4887 MB / 1.092 GB, free: 306.7 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/1.413, allocations: 83.88 kB / 1.092 GB, free: 306.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005611/1.419, allocations: 6.061 MB / 1.098 GB, free: 300.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.419, allocations: 4 kB / 1.098 GB, free: 300.4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005767/1.425, allocations: 4.731 MB / 1.103 GB, free: 295.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005535/1.425, allocations: 204.6 kB / 1.103 GB, free: 295.4 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/1.426, allocations: 41.31 kB / 1.103 GB, free: 295.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009704/1.426, allocations: 39.97 kB / 1.103 GB, free: 295.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/1.427, allocations: 173.4 kB / 1.103 GB, free: 295.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/1.427, allocations: 107.9 kB / 1.103 GB, free: 295.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001133/1.428, allocations: 1.123 MB / 1.105 GB, free: 294 MB / 0.795 GB Notification: Performance of sort global known variables: time 8.1e-08/1.428, allocations: 0 / 1.105 GB, free: 294 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00374/1.432, allocations: 1.613 MB / 1.106 GB, free: 292.6 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.009212/1.441, allocations: 7.187 MB / 1.113 GB, free: 285.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00416/1.445, allocations: 2.957 MB / 1.116 GB, free: 283 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.445, allocations: 4 kB / 1.116 GB, free: 283 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/1.448, allocations: 1.766 MB / 1.118 GB, free: 281.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/1.451, allocations: 0.8094 MB / 1.119 GB, free: 280.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/1.477, allocations: 20.01 MB / 1.138 GB, free: 260.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009774/1.478, allocations: 1.19 MB / 1.139 GB, free: 259.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002335/1.481, allocations: 1.282 MB / 1.14 GB, free: 258 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/1.482, allocations: 1.026 MB / 1.141 GB, free: 256.9 MB / 0.795 GB Notification: Performance of SimCode: time 1.092e-06/1.482, allocations: 0 / 1.141 GB, free: 256.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/1.604, allocations: 96.63 MB / 1.236 GB, free: 160.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.04/19.65, allocations: 12 kB / 1.236 GB, free: 160.9 MB / 0.795 GB " [Timeout remaining time 640] (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: 23.957586421980523]