Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.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.001815/0.001815, allocations: 84.52 kB / 19.77 MB, free: 1.875 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.002312/0.002312, allocations: 161 kB / 23.01 MB, free: 4.59 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.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.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.7465/0.7465, allocations: 74.9 MB / 334.7 MB, free: 15.54 MB / 318.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: translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") [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.002691/0.002691, allocations: 88.23 kB / 496.4 MB, free: 29.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1276, allocations: 73.04 MB / 0.5561 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.5648/0.6924, allocations: 165.7 MB / 0.7178 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0213/0.7137, allocations: 16.33 MB / 0.7338 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.7162, allocations: 97.03 kB / 0.7339 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.7194, allocations: 0.8904 MB / 0.7347 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007806/0.7272, allocations: 2.388 MB / 0.7371 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005683/0.7328, allocations: 1.863 MB / 0.7389 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005995/0.7388, allocations: 3.653 MB / 0.7425 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009163/0.7398, allocations: 271.3 kB / 0.7427 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004316/0.7441, allocations: 1.644 MB / 0.7443 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003258/0.7473, allocations: 1.495 MB / 0.7458 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008489/0.7482, allocations: 165.8 kB / 0.7459 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006246/0.7544, allocations: 2.231 MB / 0.7481 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.7555, allocations: 464.8 kB / 0.7486 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002065/0.7575, allocations: 0.8983 MB / 0.7494 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007232/0.7648, allocations: 3.24 MB / 0.7526 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.7648, allocations: 3.625 kB / 0.7526 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7648, allocations: 0 / 0.7526 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.293e-05/0.7648, allocations: 1 kB / 0.7526 GB, free: 1.82 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.005951/0.7708, allocations: 2.616 MB / 0.7552 GB, free: 16.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.7708, allocations: 12.5 kB / 0.7552 GB, free: 16.6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009704/0.7718, allocations: 267.3 kB / 0.7554 GB, free: 16.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.7747, allocations: 1.228 MB / 0.7566 GB, free: 16.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.7748, allocations: 107.6 kB / 0.7567 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/0.7751, allocations: 162.1 kB / 0.7569 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003441/0.7786, allocations: 2.258 MB / 0.7591 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-05/0.7786, allocations: 3.938 kB / 0.7591 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.7788, allocations: 64.41 kB / 0.7592 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.7788, allocations: 37.44 kB / 0.7592 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.7813, allocations: 1.508 MB / 0.7607 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009568/0.7909, allocations: 4.609 MB / 0.7652 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/0.7939, allocations: 1.427 MB / 0.7666 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.7952, allocations: 0.6658 MB / 0.7672 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005967/0.8012, allocations: 2.684 MB / 0.7698 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/0.8013, allocations: 61.16 kB / 0.7699 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 4.048e-06/0.8013, allocations: 1 kB / 0.7699 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.007429/0.8087, allocations: 2.469 MB / 0.7723 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.8088, allocations: 176.5 kB / 0.7725 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.8107, allocations: 1.222 MB / 0.7737 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003694/0.8111, allocations: 58.3 kB / 0.7737 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007814/0.8118, allocations: 0.8127 MB / 0.7745 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000753/0.8126, allocations: 0.5991 MB / 0.7751 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005379/0.8131, allocations: 289.7 kB / 0.7754 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.8133, allocations: 302 kB / 0.7757 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.8144, allocations: 0.4886 MB / 0.7761 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.8159, allocations: 0.8325 MB / 0.777 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.8185, allocations: 1.441 MB / 0.7784 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.8185, allocations: 7.062 kB / 0.7784 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004309/0.8228, allocations: 1.854 MB / 0.7802 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.8228, allocations: 11.91 kB / 0.7802 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.8229, allocations: 13.06 kB / 0.7802 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000936/0.8238, allocations: 224.2 kB / 0.7804 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.8255, allocations: 376.8 kB / 0.7808 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00744/0.8329, allocations: 7.03 MB / 0.7876 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.8346, allocations: 146.4 kB / 0.7878 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/0.835, allocations: 76.36 kB / 0.7879 GB, free: 13.28 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (201): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001134/0.8361, allocations: 339.9 kB / 0.7882 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009489/0.8371, allocations: 204.8 kB / 0.7884 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005072/0.8421, allocations: 2.051 MB / 0.7904 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.8422, allocations: 21.31 kB / 0.7904 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/0.8422, allocations: 9.406 kB / 0.7904 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.188e-05/0.8422, allocations: 10.41 kB / 0.7904 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008366/0.8506, allocations: 3.529 MB / 0.7939 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.8506, allocations: 3 kB / 0.7939 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.8518, allocations: 252.5 kB / 0.7941 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/0.8539, allocations: 470.7 kB / 0.7946 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/0.8541, allocations: 59.91 kB / 0.7946 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009292/0.8634, allocations: 9.3 MB / 0.8037 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8634, allocations: 2.781 kB / 0.8037 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006738/0.8702, allocations: 2.881 MB / 0.8065 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/0.8709, allocations: 202.3 kB / 0.8067 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/0.8714, allocations: 47.89 kB / 0.8068 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.8729, allocations: 59.95 kB / 0.8068 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000373/0.8733, allocations: 139.2 kB / 0.8069 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002781/0.8736, allocations: 71.95 kB / 0.807 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001516/0.8751, allocations: 0.8283 MB / 0.8078 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8751, allocations: 6.625 kB / 0.8078 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00318/0.8783, allocations: 0.7873 MB / 0.8086 GB, free: 9.848 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.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 (140): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,3), (2,3), (2,3), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001849/0.8801, allocations: 0.7555 MB / 0.8093 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00444/0.8845, allocations: 1.908 MB / 0.8112 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/0.8846, allocations: 4 kB / 0.8112 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003186/0.8877, allocations: 1.378 MB / 0.8125 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/0.8915, allocations: 0.563 MB / 0.8131 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008732/0.9003, allocations: 3.878 MB / 0.8169 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.9016, allocations: 0.7659 MB / 0.8176 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001768/0.9034, allocations: 341.6 kB / 0.818 GB, free: 196 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005758/0.904, allocations: 160.5 kB / 0.8181 GB, free: 36 kB / 0.6387 GB Notification: Performance of SimCode: time 6.92e-07/0.904, allocations: 0 / 0.8181 GB, free: 36 kB / 0.6387 GB Notification: Performance of Templates: time 0.06992/0.9739, allocations: 36.62 MB / 0.8539 GB, free: 11.99 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.PCV_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.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: 7.964148925966583]