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.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.001733/0.001733, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001961/0.001961, allocations: 186 kB / 20.78 MB, free: 1.547 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.516/1.516, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6094/0.6094, allocations: 90.31 MB / 394.8 MB, free: 3.84 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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: 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: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 83.86 kB / 0.5386 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4284, allocations: 70.82 MB / 0.6078 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.232/0.6603, allocations: 190.5 MB / 0.7938 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02502/0.6853, allocations: 17.83 MB / 0.8112 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.6874, allocations: 27.88 kB / 0.8112 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.6906, allocations: 0.9782 MB / 0.8122 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008095/0.6987, allocations: 2.323 MB / 0.8145 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00686/0.7056, allocations: 1.847 MB / 0.8163 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005975/0.7116, allocations: 3.39 MB / 0.8196 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008359/0.7124, allocations: 273.7 kB / 0.8198 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.7159, allocations: 1.475 MB / 0.8213 GB, free: 28 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.7188, allocations: 1.564 MB / 0.8228 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007193/0.7195, allocations: 168 kB / 0.823 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006642/0.7262, allocations: 2.609 MB / 0.8255 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008521/0.727, allocations: 450.1 kB / 0.8259 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002119/0.7292, allocations: 1.022 MB / 0.8269 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007307/0.7365, allocations: 3.046 MB / 0.8299 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7365, allocations: 0 / 0.8299 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7365, allocations: 0 / 0.8299 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001097/0.7366, allocations: 0 / 0.8299 GB, free: 7.156 MB / 0.6544 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.006071/0.7427, allocations: 2.48 MB / 0.8323 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.7427, allocations: 8.031 kB / 0.8323 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009289/0.7436, allocations: 243.6 kB / 0.8326 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.7456, allocations: 0.958 MB / 0.8335 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.7457, allocations: 115.2 kB / 0.8336 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/0.7461, allocations: 152.3 kB / 0.8338 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.7495, allocations: 1.632 MB / 0.8354 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.7495, allocations: 4 kB / 0.8354 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.7497, allocations: 64 kB / 0.8354 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.7497, allocations: 36 kB / 0.8355 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003182/0.7529, allocations: 1.485 MB / 0.8369 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.7637, allocations: 7.096 MB / 0.8438 GB, free: 8.152 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/0.7668, allocations: 1.42 MB / 0.8452 GB, free: 6.676 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.768, allocations: 0.674 MB / 0.8459 GB, free: 5.984 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007322/0.7754, allocations: 5.959 MB / 0.8517 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.411e-05/0.7754, allocations: 63.69 kB / 0.8518 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=166): time 2.825e-06/0.7754, allocations: 4 kB / 0.8518 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=166): time 0.00718/0.7826, allocations: 3.115 MB / 0.8548 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.7827, allocations: 175 kB / 0.855 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.7844, allocations: 1.099 MB / 0.8561 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.7846, allocations: 53.7 kB / 0.8561 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/0.7852, allocations: 0.7057 MB / 0.8568 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/0.7857, allocations: 0.6003 MB / 0.8574 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004623/0.7862, allocations: 291.5 kB / 0.8577 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7863, allocations: 301.1 kB / 0.8579 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.7873, allocations: 0.492 MB / 0.8584 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.7887, allocations: 0.825 MB / 0.8592 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/0.7911, allocations: 1.434 MB / 0.8606 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.7911, allocations: 0 / 0.8606 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003758/0.7948, allocations: 1.838 MB / 0.8624 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.7949, allocations: 13.09 kB / 0.8624 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.7949, allocations: 8 kB / 0.8624 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008261/0.7957, allocations: 228.6 kB / 0.8627 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.7972, allocations: 383.4 kB / 0.863 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3094/1.107, allocations: 7.679 MB / 0.8705 GB, free: 229.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.108, allocations: 163.5 kB / 0.8707 GB, free: 229.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/1.108, allocations: 77.19 kB / 0.8708 GB, free: 229.4 MB / 0.6856 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.0006595/1.109, allocations: 331.5 kB / 0.8711 GB, free: 229.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004189/1.109, allocations: 175.4 kB / 0.8712 GB, free: 229.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/1.113, allocations: 2.028 MB / 0.8732 GB, free: 228.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/1.113, allocations: 17.28 kB / 0.8732 GB, free: 228.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.113, allocations: 13.5 kB / 0.8733 GB, free: 228.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-05/1.113, allocations: 8.625 kB / 0.8733 GB, free: 228.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006725/1.12, allocations: 3.861 MB / 0.877 GB, free: 226.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.12, allocations: 6.75 kB / 0.877 GB, free: 226.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009798/1.121, allocations: 257.7 kB / 0.8773 GB, free: 226.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/1.123, allocations: 471 kB / 0.8777 GB, free: 226.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/1.123, allocations: 56.61 kB / 0.8778 GB, free: 226.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/1.128, allocations: 9.973 MB / 0.8875 GB, free: 216.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.128, allocations: 3.25 kB / 0.8875 GB, free: 216.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/1.134, allocations: 2.859 MB / 0.8903 GB, free: 215.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005638/1.134, allocations: 261.3 kB / 0.8906 GB, free: 215.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/1.134, allocations: 48.52 kB / 0.8906 GB, free: 215 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.135, allocations: 58.22 kB / 0.8907 GB, free: 215 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/1.136, allocations: 133 kB / 0.8908 GB, free: 215 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/1.136, allocations: 68.75 kB / 0.8909 GB, free: 215 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001079/1.137, allocations: 0.7734 MB / 0.8916 GB, free: 214.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/1.137, allocations: 0 / 0.8916 GB, free: 214.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002576/1.14, allocations: 0.7758 MB / 0.8924 GB, free: 214.6 MB / 0.6856 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.001393/1.141, allocations: 0.7599 MB / 0.8931 GB, free: 214.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003765/1.145, allocations: 1.903 MB / 0.895 GB, free: 213.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.145, allocations: 4.797 kB / 0.895 GB, free: 213.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/1.147, allocations: 1.388 MB / 0.8963 GB, free: 212.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/1.151, allocations: 0.5929 MB / 0.8969 GB, free: 212.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006421/1.157, allocations: 3.64 MB / 0.9005 GB, free: 210.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009569/1.158, allocations: 1.263 MB / 0.9017 GB, free: 209.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001737/1.16, allocations: 321.3 kB / 0.902 GB, free: 209.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/1.16, allocations: 154.6 kB / 0.9022 GB, free: 209.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.944e-06/1.16, allocations: 1.375 kB / 0.9022 GB, free: 209.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.05737/1.218, allocations: 37.4 MB / 0.9387 GB, free: 185.7 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 -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/jenkins/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.8415918834507465]