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.0007795/0.0007795, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0007465/0.0007465, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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 0.8267/0.8267, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.6092/0.6092, allocations: 116 MB / 375.2 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5532 GB, free: 13.35 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.27e-05, allocations: 6.219 kB / 0.5533 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.5291/0.5291, allocations: 339.1 MB / 0.8844 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.5464, allocations: 16.22 MB / 0.9003 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.549, allocations: 126.8 kB / 0.9004 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004179/0.5532, allocations: 1.79 MB / 0.9021 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01975/0.573, allocations: 9.084 MB / 0.911 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.009669/0.5826, allocations: 4.454 MB / 0.9154 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004706/0.5873, allocations: 4.597 MB / 0.9199 GB, free: 5.926 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.5884, allocations: 0.6301 MB / 0.9205 GB, free: 5.25 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006598/0.595, allocations: 3.482 MB / 0.9239 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.5974, allocations: 1.663 MB / 0.9255 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007254/0.5981, allocations: 244 kB / 0.9257 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02034/0.6185, allocations: 13.75 MB / 0.9392 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.6199, allocations: 0.9423 MB / 0.9401 GB, free: 1.121 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.00207/0.622, allocations: 1.068 MB / 0.9411 GB, free: 52 kB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.3925/1.014, allocations: 10.85 MB / 0.9517 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.014, allocations: 4.094 kB / 0.9517 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.724e-06/1.014, allocations: 0 / 0.9517 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001355/1.015, allocations: 0.8438 kB / 0.9517 GB, free: 15.64 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01312/1.028, allocations: 4.751 MB / 0.9564 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.028, allocations: 9 kB / 0.9564 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003899/1.028, allocations: 286.8 kB / 0.9566 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/1.029, allocations: 398.9 kB / 0.957 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003083/1.032, allocations: 1.726 MB / 0.9587 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.409e-05/1.032, allocations: 142 kB / 0.9589 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/1.033, allocations: 204.4 kB / 0.959 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00375/1.037, allocations: 3.209 MB / 0.9622 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/1.037, allocations: 3.438 kB / 0.9622 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/1.037, allocations: 79.5 kB / 0.9623 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/1.037, allocations: 187.2 kB / 0.9624 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003398/1.04, allocations: 3.464 MB / 0.9658 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/1.05, allocations: 7.851 MB / 0.9735 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/1.052, allocations: 1.445 MB / 0.9749 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.053, allocations: 1.188 MB / 0.9761 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008325/1.054, allocations: 477.8 kB / 0.9765 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/1.054, allocations: 59.88 kB / 0.9766 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=196): time 5.159e-06/1.054, allocations: 2.531 kB / 0.9766 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=200): time 0.009621/1.064, allocations: 7.741 MB / 0.9841 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/1.064, allocations: 99.55 kB / 0.9842 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/1.065, allocations: 1.642 MB / 0.9858 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/1.066, allocations: 58.36 kB / 0.9859 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000429/1.066, allocations: 1.028 MB / 0.9869 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/1.066, allocations: 0.7064 MB / 0.9876 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/1.067, allocations: 359.7 kB / 0.9879 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 2.528e-05/1.067, allocations: 301.9 kB / 0.9882 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/1.068, allocations: 1.004 MB / 0.9892 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/1.069, allocations: 1.187 MB / 0.9904 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/1.071, allocations: 2.361 MB / 0.9927 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.071, allocations: 0 / 0.9927 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003514/1.075, allocations: 3.081 MB / 0.9957 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.075, allocations: 7.781 kB / 0.9957 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.075, allocations: 6.688 kB / 0.9957 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009249/1.076, allocations: 480.9 kB / 0.9961 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/1.076, allocations: 347.2 kB / 0.9965 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004961/1.081, allocations: 6.046 MB / 1.002 GB, free: 20.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/1.083, allocations: 45.55 kB / 1.002 GB, free: 20.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/1.083, allocations: 121.8 kB / 1.003 GB, free: 20.8 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (182): * Single equations (assignments): 170 * 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.0009862/1.084, allocations: 0.5349 MB / 1.003 GB, free: 20.68 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/1.084, allocations: 241 kB / 1.003 GB, free: 20.55 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004212/1.088, allocations: 4.365 MB / 1.008 GB, free: 20.15 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/1.088, allocations: 19.69 kB / 1.008 GB, free: 20.15 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/1.088, allocations: 11.12 kB / 1.008 GB, free: 20.15 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/1.089, allocations: 15.84 kB / 1.008 GB, free: 20.15 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00613/1.095, allocations: 5.612 MB / 1.013 GB, free: 19.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.095, allocations: 3.125 kB / 1.013 GB, free: 19.62 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/1.095, allocations: 289.9 kB / 1.013 GB, free: 19.62 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000834/1.096, allocations: 495.1 kB / 1.014 GB, free: 19.59 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/1.096, allocations: 79 kB / 1.014 GB, free: 19.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004701/1.101, allocations: 6.061 MB / 1.02 GB, free: 16.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.101, allocations: 5.031 kB / 1.02 GB, free: 16.75 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005158/1.106, allocations: 4.61 MB / 1.024 GB, free: 16.24 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.107, allocations: 499 kB / 1.025 GB, free: 16.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/1.107, allocations: 49.81 kB / 1.025 GB, free: 16.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/1.108, allocations: 44.61 kB / 1.025 GB, free: 16.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/1.108, allocations: 167.4 kB / 1.025 GB, free: 16.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/1.108, allocations: 103.5 kB / 1.025 GB, free: 16.1 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001312/1.11, allocations: 1.231 MB / 1.026 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/1.11, allocations: 0 / 1.026 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004206/1.114, allocations: 1.663 MB / 1.028 GB, free: 15.73 MB / 0.7917 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.008053/1.122, allocations: 7.09 MB / 1.035 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003233/1.125, allocations: 2.88 MB / 1.038 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.125, allocations: 1.281 kB / 1.038 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/1.127, allocations: 1.732 MB / 1.039 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/1.13, allocations: 1.145 MB / 1.041 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02521/1.155, allocations: 20.57 MB / 1.061 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009991/1.156, allocations: 1.217 MB / 1.062 GB, free: 3.715 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002245/1.159, allocations: 1.143 MB / 1.063 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.16, allocations: 1.084 MB / 1.064 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of SimCode: time 1.683e-06/1.16, allocations: 0 / 1.064 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/1.283, allocations: 104.9 MB / 1.166 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.563/10.85, allocations: 9.203 kB / 1.166 GB, free: 13.42 MB / 0.9011 GB " [Timeout remaining time 649] (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/jenkins/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: 13.481470003724098]