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.001666/0.001666, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001942/0.001942, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 8 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.8489/0.8489, allocations: 100.3 MB / 412.7 MB, free: 3.672 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="me",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.00256/0.00256, allocations: 84.62 kB / 0.5633 GB, free: 35.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1656, allocations: 74.46 MB / 0.636 GB, free: 7.664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.9016/1.067, allocations: 365.3 MB / 0.9928 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05981/1.127, allocations: 39.09 MB / 1.031 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003594/1.131, allocations: 107.1 kB / 1.031 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006726/1.137, allocations: 2.076 MB / 1.033 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02941/1.167, allocations: 8.851 MB / 1.042 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01518/1.182, allocations: 4.35 MB / 1.046 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008944/1.191, allocations: 4.031 MB / 1.05 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/1.192, allocations: 0.6412 MB / 1.051 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007444/1.2, allocations: 2.714 MB / 1.053 GB, free: 6.508 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004142/1.204, allocations: 1.86 MB / 1.055 GB, free: 4.641 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006142/1.204, allocations: 244 kB / 1.055 GB, free: 4.402 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6564/1.861, allocations: 17.37 MB / 1.072 GB, free: 12.23 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00184/1.863, allocations: 0.8714 MB / 1.073 GB, free: 12.23 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003158/1.866, allocations: 1.44 MB / 1.074 GB, free: 12.23 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0389/1.905, allocations: 10.09 MB / 1.084 GB, free: 11.64 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.905, allocations: 0 / 1.084 GB, free: 11.64 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.144e-06/1.905, allocations: 1.531 kB / 1.084 GB, free: 11.64 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001/1.905, allocations: 0.9688 kB / 1.084 GB, free: 11.64 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.0166/1.922, allocations: 4.602 MB / 1.089 GB, free: 9.523 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.922, allocations: 8.812 kB / 1.089 GB, free: 9.523 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003713/1.922, allocations: 284.7 kB / 1.089 GB, free: 9.477 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008915/1.923, allocations: 308.2 kB / 1.089 GB, free: 9.316 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/1.926, allocations: 1.584 MB / 1.091 GB, free: 8.867 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/1.926, allocations: 142.6 kB / 1.091 GB, free: 8.863 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/1.927, allocations: 198.8 kB / 1.091 GB, free: 8.859 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005252/1.932, allocations: 3.128 MB / 1.094 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/1.932, allocations: 2.875 kB / 1.094 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/1.932, allocations: 75.23 kB / 1.094 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002715/1.933, allocations: 187.1 kB / 1.095 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004676/1.937, allocations: 3.46 MB / 1.098 GB, free: 8.703 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/1.954, allocations: 12.4 MB / 1.11 GB, free: 17.61 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/1.956, allocations: 1.496 MB / 1.111 GB, free: 17.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/1.958, allocations: 1.282 MB / 1.113 GB, free: 17.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/1.96, allocations: 0.4911 MB / 1.113 GB, free: 17.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.343e-05/1.96, allocations: 56.06 kB / 1.113 GB, free: 17.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=196): time 6.362e-06/1.96, allocations: 0 / 1.113 GB, free: 17.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=200): time 0.0146/1.974, allocations: 7.833 MB / 1.121 GB, free: 16.39 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/1.974, allocations: 102.9 kB / 1.121 GB, free: 16.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/1.976, allocations: 1.457 MB / 1.122 GB, free: 16.13 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/1.977, allocations: 60.88 kB / 1.122 GB, free: 16.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006517/1.977, allocations: 0.9258 MB / 1.123 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004831/1.978, allocations: 0.7069 MB / 1.124 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006552/1.978, allocations: 351.1 kB / 1.124 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002128/1.979, allocations: 301.9 kB / 1.125 GB, free: 15 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/1.98, allocations: 1.035 MB / 1.126 GB, free: 15 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/1.982, allocations: 1.156 MB / 1.127 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/1.985, allocations: 2.351 MB / 1.129 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.985, allocations: 3.844 kB / 1.129 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005205/1.99, allocations: 3.064 MB / 1.132 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/1.99, allocations: 6.531 kB / 1.132 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.99, allocations: 0 / 1.132 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/1.992, allocations: 476.1 kB / 1.133 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.993, allocations: 334.3 kB / 1.133 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008092/2.001, allocations: 6.14 MB / 1.139 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/2.003, allocations: 49.98 kB / 1.139 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/2.003, allocations: 117 kB / 1.139 GB, free: 11.86 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.001156/2.004, allocations: 0.5193 MB / 1.14 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007158/2.005, allocations: 216.2 kB / 1.14 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00722/2.012, allocations: 4.64 MB / 1.144 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.286e-05/2.012, allocations: 24.77 kB / 1.144 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/2.012, allocations: 4.969 kB / 1.144 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/2.012, allocations: 11.56 kB / 1.144 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/2.025, allocations: 6.262 MB / 1.15 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/2.025, allocations: 4.594 kB / 1.15 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/2.026, allocations: 299.5 kB / 1.151 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/2.027, allocations: 496.5 kB / 1.151 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/2.028, allocations: 86.53 kB / 1.151 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008572/2.036, allocations: 6.151 MB / 1.157 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/2.036, allocations: 2.25 kB / 1.157 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008231/2.044, allocations: 4.795 MB / 1.162 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009477/2.045, allocations: 214.9 kB / 1.162 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006241/2.046, allocations: 42.31 kB / 1.162 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/2.048, allocations: 43.2 kB / 1.162 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004874/2.048, allocations: 180.1 kB / 1.162 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/2.048, allocations: 111.9 kB / 1.163 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001741/2.05, allocations: 1.119 MB / 1.164 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7.31e-07/2.05, allocations: 1.766 kB / 1.164 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006499/2.057, allocations: 1.679 MB / 1.165 GB, free: 6.773 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.01605/2.073, allocations: 7.343 MB / 1.172 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005805/2.078, allocations: 2.968 MB / 1.175 GB, free: 408 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/2.078, allocations: 0.75 kB / 1.175 GB, free: 408 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003969/2.082, allocations: 1.804 MB / 1.177 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.005086/2.088, allocations: 0.8253 MB / 1.178 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04619/2.134, allocations: 20.12 MB / 1.198 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/2.136, allocations: 1.771 MB / 1.199 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003828/2.14, allocations: 1.285 MB / 1.201 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002125/2.142, allocations: 1.058 MB / 1.202 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of SimCode: time 8.51e-07/2.142, allocations: 4 kB / 1.202 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2057/2.348, allocations: 95.09 MB / 1.294 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.79/21.14, allocations: 3.938 kB / 1.294 GB, free: 8.133 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: 25.353652063990012]