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.001561/0.001561, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001753/0.001753, allocations: 219.5 kB / 22.99 MB, free: 4.914 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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.7298/0.7298, allocations: 94.62 MB / 407.8 MB, free: 8.902 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.002557/0.002557, allocations: 85.08 kB / 0.5562 GB, free: 38.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1205, allocations: 73.05 MB / 0.6275 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4994/0.6199, allocations: 165.7 MB / 0.7893 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.6379, allocations: 16.32 MB / 0.8052 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.6405, allocations: 97.03 kB / 0.8053 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.6432, allocations: 0.8886 MB / 0.8062 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006452/0.6497, allocations: 2.389 MB / 0.8085 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004776/0.6545, allocations: 1.863 MB / 0.8103 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004474/0.659, allocations: 3.653 MB / 0.8139 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007288/0.6597, allocations: 274.1 kB / 0.8142 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/0.6627, allocations: 1.643 MB / 0.8158 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/0.6651, allocations: 1.494 MB / 0.8172 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005858/0.6657, allocations: 169 kB / 0.8174 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004991/0.6707, allocations: 2.231 MB / 0.8196 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006232/0.6713, allocations: 460.5 kB / 0.82 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.6731, allocations: 0.8971 MB / 0.8209 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006517/0.6796, allocations: 3.25 MB / 0.824 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6796, allocations: 2.375 kB / 0.824 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6796, allocations: 0.9375 kB / 0.824 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.345e-05/0.6797, allocations: 0 / 0.824 GB, free: 14.95 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.005715/0.6854, allocations: 2.62 MB / 0.8266 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6855, allocations: 9.156 kB / 0.8266 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007774/0.6862, allocations: 271.2 kB / 0.8269 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.6886, allocations: 1.232 MB / 0.8281 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.688e-05/0.6887, allocations: 110.7 kB / 0.8282 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.6889, allocations: 156.7 kB / 0.8283 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.6919, allocations: 2.254 MB / 0.8305 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.692, allocations: 5.594 kB / 0.8305 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.6921, allocations: 61.59 kB / 0.8306 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.6921, allocations: 34.22 kB / 0.8306 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/0.6946, allocations: 1.504 MB / 0.8321 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008126/0.7027, allocations: 4.613 MB / 0.8366 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.7054, allocations: 1.44 MB / 0.838 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.7065, allocations: 0.6612 MB / 0.8387 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00506/0.7116, allocations: 2.675 MB / 0.8413 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.7116, allocations: 65.73 kB / 0.8413 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=166): time 3.878e-06/0.7116, allocations: 0 / 0.8413 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166): time 0.006176/0.7178, allocations: 2.466 MB / 0.8437 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.7179, allocations: 177 kB / 0.8439 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.7194, allocations: 1.222 MB / 0.8451 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.7195, allocations: 55.67 kB / 0.8452 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006551/0.7202, allocations: 0.8097 MB / 0.8459 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005125/0.7207, allocations: 0.6005 MB / 0.8465 GB, free: 268 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00038/0.7211, allocations: 291 kB / 0.8468 GB, free: 96 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7212, allocations: 305.1 kB / 0.8471 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009385/0.7221, allocations: 0.4907 MB / 0.8476 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.7235, allocations: 0.8313 MB / 0.8484 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.7259, allocations: 1.439 MB / 0.8498 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.7259, allocations: 4 kB / 0.8498 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003773/0.7297, allocations: 1.855 MB / 0.8516 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.7297, allocations: 8 kB / 0.8516 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.7297, allocations: 11.94 kB / 0.8516 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007673/0.7305, allocations: 227.2 kB / 0.8518 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.7319, allocations: 382.7 kB / 0.8522 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006477/0.7383, allocations: 7.027 MB / 0.8591 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.7399, allocations: 150.9 kB / 0.8592 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.7402, allocations: 75.97 kB / 0.8593 GB, free: 3.062 MB / 0.6075 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.0009966/0.7412, allocations: 344.8 kB / 0.8596 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007943/0.742, allocations: 203.8 kB / 0.8598 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004471/0.7464, allocations: 2.053 MB / 0.8618 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.7465, allocations: 16 kB / 0.8618 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.7465, allocations: 11.94 kB / 0.8618 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.7465, allocations: 7.969 kB / 0.8619 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006892/0.7534, allocations: 3.519 MB / 0.8653 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.7534, allocations: 4 kB / 0.8653 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.7544, allocations: 259.1 kB / 0.8655 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/0.7563, allocations: 470 kB / 0.866 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/0.7565, allocations: 59.91 kB / 0.866 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008363/0.7648, allocations: 9.299 MB / 0.8751 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.7648, allocations: 6.875 kB / 0.8751 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/0.7704, allocations: 2.865 MB / 0.8779 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005601/0.771, allocations: 202.4 kB / 0.8781 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.7712, allocations: 47.94 kB / 0.8782 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.7723, allocations: 59.95 kB / 0.8782 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/0.7725, allocations: 137.6 kB / 0.8784 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.7727, allocations: 71.95 kB / 0.8784 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001212/0.7739, allocations: 0.8361 MB / 0.8792 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7739, allocations: 0 / 0.8792 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002251/0.7761, allocations: 0.7873 MB / 0.88 GB, free: 13.18 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.001354/0.7775, allocations: 0.755 MB / 0.8807 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.7811, allocations: 1.917 MB / 0.8826 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.7811, allocations: 4 kB / 0.8826 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002591/0.7837, allocations: 1.379 MB / 0.884 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/0.7865, allocations: 0.5639 MB / 0.8845 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006969/0.7935, allocations: 3.942 MB / 0.8884 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008751/0.7943, allocations: 0.7684 MB / 0.8891 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005878/0.7949, allocations: 179.4 kB / 0.8893 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/0.7949, allocations: 0 / 0.8893 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of Templates: time 0.09155/0.8865, allocations: 79.76 MB / 0.9672 GB, free: 3.887 MB / 0.7169 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/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: 13.542882249224931]