Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.002009/0.002009, 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.00283/0.00283, allocations: 215.9 kB / 22.25 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.977 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.8162/0.8162, allocations: 100.3 MB / 412.7 MB, free: 3.656 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: 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_dev_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_dev_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.00267/0.00267, allocations: 96.95 kB / 0.5638 GB, free: 35.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1272, allocations: 74.45 MB / 0.6365 GB, free: 7.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.5531/0.6803, allocations: 190.8 MB / 0.8228 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03872/0.719, allocations: 17.97 MB / 0.8403 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/0.7224, allocations: 95.62 kB / 0.8404 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005058/0.7275, allocations: 0.9982 MB / 0.8414 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/0.7403, allocations: 2.415 MB / 0.8438 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01013/0.7504, allocations: 1.897 MB / 0.8456 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009501/0.7599, allocations: 3.683 MB / 0.8492 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.7611, allocations: 275.8 kB / 0.8495 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005614/0.7667, allocations: 1.641 MB / 0.8511 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00514/0.7718, allocations: 1.594 MB / 0.8526 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007477/0.7726, allocations: 171.6 kB / 0.8528 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/0.7828, allocations: 2.631 MB / 0.8554 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009831/0.7838, allocations: 460.4 kB / 0.8558 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002751/0.7866, allocations: 1.077 MB / 0.8569 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.7966, allocations: 3.272 MB / 0.8601 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7967, allocations: 4 kB / 0.8601 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7967, allocations: 0 / 0.8601 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.874e-05/0.7967, allocations: 0 / 0.8601 GB, free: 9.777 MB / 0.6075 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.008941/0.8057, allocations: 2.632 MB / 0.8626 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.8057, allocations: 9.469 kB / 0.8626 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.807, allocations: 270.3 kB / 0.8629 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/0.8113, allocations: 1.225 MB / 0.8641 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.8114, allocations: 110.9 kB / 0.8642 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003769/0.8118, allocations: 151.9 kB / 0.8643 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004257/0.8161, allocations: 1.65 MB / 0.866 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.8161, allocations: 7.938 kB / 0.866 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.8163, allocations: 60 kB / 0.866 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/0.8163, allocations: 36 kB / 0.8661 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.8191, allocations: 1.516 MB / 0.8675 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.8296, allocations: 7.081 MB / 0.8744 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002987/0.8325, allocations: 1.429 MB / 0.8758 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.8338, allocations: 0.6707 MB / 0.8765 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00536/0.8391, allocations: 2.942 MB / 0.8794 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.379e-05/0.8392, allocations: 71.73 kB / 0.8794 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=166): time 4.028e-06/0.8392, allocations: 0 / 0.8794 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=166): time 0.006722/0.8459, allocations: 2.456 MB / 0.8818 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.846, allocations: 186.9 kB / 0.882 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.8479, allocations: 1.299 MB / 0.8833 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.848, allocations: 57.7 kB / 0.8833 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007196/0.8487, allocations: 0.8023 MB / 0.8841 GB, free: 456 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000536/0.8492, allocations: 0.6009 MB / 0.8847 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/0.8497, allocations: 287.5 kB / 0.885 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8498, allocations: 305.1 kB / 0.8853 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.8508, allocations: 0.492 MB / 0.8858 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.8522, allocations: 0.8249 MB / 0.8866 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/0.8547, allocations: 1.43 MB / 0.888 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.8547, allocations: 4 kB / 0.888 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003768/0.8585, allocations: 1.862 MB / 0.8898 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.8585, allocations: 8 kB / 0.8898 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.8585, allocations: 12 kB / 0.8898 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007929/0.8593, allocations: 224.8 kB / 0.89 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.8608, allocations: 379.4 kB / 0.8904 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006855/0.8677, allocations: 7.184 MB / 0.8974 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.8688, allocations: 158.8 kB / 0.8975 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.869, allocations: 75.97 kB / 0.8976 GB, free: 1.773 MB / 0.6387 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.0006815/0.8697, allocations: 329.4 kB / 0.8979 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000446/0.8701, allocations: 206.7 kB / 0.8981 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/0.8745, allocations: 2.062 MB / 0.9001 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.8746, allocations: 16 kB / 0.9002 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.8746, allocations: 4 kB / 0.9002 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/0.8746, allocations: 11.97 kB / 0.9002 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007163/0.8818, allocations: 3.898 MB / 0.904 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.8818, allocations: 0 / 0.904 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.8828, allocations: 255.9 kB / 0.9042 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/0.8847, allocations: 483.2 kB / 0.9047 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.8849, allocations: 55.97 kB / 0.9047 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008545/0.8934, allocations: 9.452 MB / 0.914 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.8934, allocations: 7.938 kB / 0.914 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/0.8989, allocations: 2.874 MB / 0.9168 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005663/0.8995, allocations: 210.3 kB / 0.917 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.8997, allocations: 44.12 kB / 0.917 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.9008, allocations: 63.95 kB / 0.9171 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.9011, allocations: 136.6 kB / 0.9172 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.9012, allocations: 71.95 kB / 0.9173 GB, free: 12.73 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001302/0.9025, allocations: 0.9015 MB / 0.9182 GB, free: 11.83 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.9025, allocations: 0 / 0.9182 GB, free: 11.83 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002224/0.9048, allocations: 0.7873 MB / 0.9189 GB, free: 11.04 MB / 0.67 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.001321/0.9061, allocations: 0.7566 MB / 0.9197 GB, free: 10.31 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00358/0.9097, allocations: 1.909 MB / 0.9215 GB, free: 8.34 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.9097, allocations: 4 kB / 0.9215 GB, free: 8.336 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00265/0.9123, allocations: 1.381 MB / 0.9229 GB, free: 6.898 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/0.9153, allocations: 0.6196 MB / 0.9235 GB, free: 6.301 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007034/0.9224, allocations: 3.901 MB / 0.9273 GB, free: 2.344 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.9235, allocations: 1.34 MB / 0.9286 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001333/0.9248, allocations: 354.3 kB / 0.9289 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/0.9252, allocations: 163.4 kB / 0.9291 GB, free: 472 kB / 0.67 GB Notification: Performance of SimCode: time 8.11e-07/0.9252, allocations: 0 / 0.9291 GB, free: 472 kB / 0.67 GB Notification: Performance of Templates: time 0.06948/0.9947, allocations: 38.27 MB / 0.9665 GB, free: 10.51 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 8.01391970179975]