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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 109.9 kB / 16.41 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7758/0.7758, allocations: 93.73 MB / 390.9 MB, free: 4.59 MB / 302.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 84.83 kB / 0.5285 GB, free: 40.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1253, allocations: 68.27 MB / 0.5952 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7821/0.9075, allocations: 362.1 MB / 0.9488 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.05157/0.9591, allocations: 38.67 MB / 0.9866 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.9617, allocations: 79.5 kB / 0.9866 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005734/0.9675, allocations: 1.978 MB / 0.9886 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02501/0.9926, allocations: 8.691 MB / 0.997 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01493/1.008, allocations: 4.219 MB / 1.001 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00672/1.014, allocations: 4 MB / 1.005 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/1.016, allocations: 1.193 MB / 1.006 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006737/1.023, allocations: 2.581 MB / 1.009 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003944/1.027, allocations: 1.774 MB / 1.01 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009044/1.028, allocations: 244 kB / 1.011 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03587/1.064, allocations: 16.51 MB / 1.027 GB, free: 7.203 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001648/1.066, allocations: 0.8528 MB / 1.028 GB, free: 6.348 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002639/1.068, allocations: 1.45 MB / 1.029 GB, free: 4.891 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.497/1.565, allocations: 10.04 MB / 1.039 GB, free: 22.92 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.565, allocations: 3.531 kB / 1.039 GB, free: 22.92 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.713e-06/1.565, allocations: 0 / 1.039 GB, free: 22.92 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.971e-05/1.566, allocations: 3.188 kB / 1.039 GB, free: 22.92 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.01353/1.579, allocations: 4.665 MB / 1.043 GB, free: 20.72 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.579, allocations: 9.25 kB / 1.043 GB, free: 20.72 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004651/1.58, allocations: 281.2 kB / 1.044 GB, free: 20.68 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007729/1.58, allocations: 308 kB / 1.044 GB, free: 20.52 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/1.584, allocations: 1.688 MB / 1.046 GB, free: 20.01 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/1.584, allocations: 143.9 kB / 1.046 GB, free: 20.01 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/1.584, allocations: 202.2 kB / 1.046 GB, free: 20 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004477/1.589, allocations: 3.09 MB / 1.049 GB, free: 19.86 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/1.589, allocations: 1.969 kB / 1.049 GB, free: 19.86 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/1.589, allocations: 80.52 kB / 1.049 GB, free: 19.86 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/1.589, allocations: 184.9 kB / 1.049 GB, free: 19.86 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004494/1.594, allocations: 3.387 MB / 1.053 GB, free: 19.84 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/1.608, allocations: 12.44 MB / 1.065 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/1.61, allocations: 1.637 MB / 1.066 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/1.612, allocations: 1.425 MB / 1.068 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/1.614, allocations: 3.85 MB / 1.071 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/1.614, allocations: 60.47 kB / 1.072 GB, free: 24.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=196): time 4.649e-06/1.614, allocations: 0 / 1.072 GB, free: 24.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=200): time 0.01472/1.629, allocations: 8.607 MB / 1.08 GB, free: 22.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/1.629, allocations: 99.08 kB / 1.08 GB, free: 22.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/1.631, allocations: 1.459 MB / 1.081 GB, free: 22.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/1.631, allocations: 63.27 kB / 1.082 GB, free: 22.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/1.632, allocations: 0.9202 MB / 1.082 GB, free: 21.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/1.632, allocations: 0.7096 MB / 1.083 GB, free: 21.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005027/1.633, allocations: 349.1 kB / 1.083 GB, free: 21.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.633, allocations: 305.1 kB / 1.084 GB, free: 20.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/1.634, allocations: 1.034 MB / 1.085 GB, free: 20.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/1.635, allocations: 1.154 MB / 1.086 GB, free: 20.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/1.638, allocations: 2.35 MB / 1.088 GB, free: 20.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.638, allocations: 3.547 kB / 1.088 GB, free: 20.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.0047/1.643, allocations: 3.085 MB / 1.091 GB, free: 20.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.643, allocations: 6.344 kB / 1.091 GB, free: 20.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.643, allocations: 0 / 1.091 GB, free: 20.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/1.645, allocations: 478.5 kB / 1.092 GB, free: 20.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.646, allocations: 338.4 kB / 1.092 GB, free: 20.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007139/1.653, allocations: 6.342 MB / 1.098 GB, free: 17.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.654, allocations: 47.3 kB / 1.098 GB, free: 17.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/1.655, allocations: 116.1 kB / 1.098 GB, free: 17.5 MB / 0.7794 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.00107/1.656, allocations: 0.5214 MB / 1.099 GB, free: 17.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005052/1.656, allocations: 217.6 kB / 1.099 GB, free: 17.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006573/1.663, allocations: 4.668 MB / 1.104 GB, free: 16.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.901e-05/1.663, allocations: 19.09 kB / 1.104 GB, free: 16.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.663, allocations: 8.438 kB / 1.104 GB, free: 16.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/1.663, allocations: 14.78 kB / 1.104 GB, free: 16.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009126/1.672, allocations: 6.281 MB / 1.11 GB, free: 16.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.672, allocations: 10.17 kB / 1.11 GB, free: 16.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009868/1.673, allocations: 305 kB / 1.11 GB, free: 16.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/1.674, allocations: 0.4951 MB / 1.111 GB, free: 16.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/1.675, allocations: 83.77 kB / 1.111 GB, free: 16.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007002/1.682, allocations: 6.359 MB / 1.117 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.682, allocations: 2.125 kB / 1.117 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006652/1.688, allocations: 4.818 MB / 1.122 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007748/1.689, allocations: 282.5 kB / 1.122 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003854/1.689, allocations: 44.83 kB / 1.122 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000909/1.69, allocations: 48.16 kB / 1.122 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/1.691, allocations: 165 kB / 1.122 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/1.691, allocations: 112.8 kB / 1.122 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001466/1.692, allocations: 1.128 MB / 1.123 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/1.692, allocations: 0 / 1.123 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005726/1.698, allocations: 1.672 MB / 1.125 GB, free: 11.99 MB / 0.7794 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.013/1.711, allocations: 7.351 MB / 1.132 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005049/1.716, allocations: 3.122 MB / 1.135 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.716, allocations: 3.938 kB / 1.135 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/1.719, allocations: 1.91 MB / 1.137 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/1.723, allocations: 0.8144 MB / 1.138 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0377/1.761, allocations: 20.46 MB / 1.158 GB, free: 9.805 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/1.763, allocations: 1.766 MB / 1.16 GB, free: 8.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00303/1.766, allocations: 1.286 MB / 1.161 GB, free: 7.457 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001871/1.768, allocations: 1.061 MB / 1.162 GB, free: 6.434 MB / 0.795 GB Notification: Performance of SimCode: time 7.91e-07/1.768, allocations: 0 / 1.162 GB, free: 6.434 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2225/1.99, allocations: 92.96 MB / 1.253 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/18, allocations: 12.91 kB / 1.253 GB, free: 10.15 MB / 0.8887 GB " [Timeout remaining time 642] (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_2/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: 22.03535264893435]