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.001295/0.001295, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001445/0.001445, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.7588/0.7588, allocations: 100.9 MB / 414.1 MB, free: 2.887 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.002594/0.002594, allocations: 89.92 kB / 0.5653 GB, free: 35.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1181, allocations: 74.6 MB / 0.6381 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4919/0.6101, allocations: 165.6 MB / 0.7999 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.6284, allocations: 16.33 MB / 0.8159 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002659/0.631, allocations: 96.28 kB / 0.816 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.6336, allocations: 0.8895 MB / 0.8168 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006432/0.6401, allocations: 2.392 MB / 0.8192 GB, free: 344 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004739/0.6448, allocations: 1.857 MB / 0.821 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004467/0.6493, allocations: 3.667 MB / 0.8246 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000558/0.6498, allocations: 274.1 kB / 0.8248 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.6528, allocations: 1.639 MB / 0.8264 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.6552, allocations: 1.496 MB / 0.8279 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003722/0.6556, allocations: 165.8 kB / 0.828 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005017/0.6606, allocations: 2.229 MB / 0.8302 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007181/0.6613, allocations: 463.3 kB / 0.8307 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.6628, allocations: 0.9018 MB / 0.8315 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006446/0.6693, allocations: 3.245 MB / 0.8347 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6693, allocations: 0 / 0.8347 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6693, allocations: 0 / 0.8347 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.286e-05/0.6693, allocations: 3.5 kB / 0.8347 GB, free: 10.08 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.004586/0.6739, allocations: 2.618 MB / 0.8373 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.674, allocations: 11.41 kB / 0.8373 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.6747, allocations: 271.7 kB / 0.8375 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.6771, allocations: 1.231 MB / 0.8387 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.452e-05/0.6771, allocations: 117.5 kB / 0.8388 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.6773, allocations: 151.7 kB / 0.839 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/0.6805, allocations: 2.256 MB / 0.8412 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.6805, allocations: 9.875 kB / 0.8412 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.6807, allocations: 57.97 kB / 0.8413 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.6807, allocations: 34.78 kB / 0.8413 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.6831, allocations: 1.503 MB / 0.8428 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008035/0.6911, allocations: 4.614 MB / 0.8473 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.6937, allocations: 1.43 MB / 0.8487 GB, free: 464 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.6948, allocations: 0.6629 MB / 0.8493 GB, free: 104 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004776/0.6995, allocations: 2.685 MB / 0.8519 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/0.6996, allocations: 60.59 kB / 0.852 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 3.928e-06/0.6996, allocations: 0 / 0.852 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.00635/0.7059, allocations: 2.462 MB / 0.8544 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.706, allocations: 179 kB / 0.8546 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.7076, allocations: 1.23 MB / 0.8558 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.7077, allocations: 57.7 kB / 0.8558 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006436/0.7084, allocations: 0.8123 MB / 0.8566 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005176/0.7089, allocations: 0.6003 MB / 0.8572 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/0.7093, allocations: 291.5 kB / 0.8575 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7094, allocations: 301.1 kB / 0.8578 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009779/0.7104, allocations: 499.8 kB / 0.8582 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.7117, allocations: 0.8377 MB / 0.8591 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.7141, allocations: 1.424 MB / 0.8605 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.7141, allocations: 4 kB / 0.8605 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003832/0.718, allocations: 1.856 MB / 0.8623 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.718, allocations: 16.03 kB / 0.8623 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.718, allocations: 11.94 kB / 0.8623 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008075/0.7188, allocations: 226.6 kB / 0.8625 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.7202, allocations: 378.8 kB / 0.8629 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00641/0.7266, allocations: 7.03 MB / 0.8697 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.728, allocations: 151.8 kB / 0.8699 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.7281, allocations: 75.97 kB / 0.87 GB, free: 11.37 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.0007245/0.7289, allocations: 344.6 kB / 0.8703 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006251/0.7295, allocations: 198.7 kB / 0.8705 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/0.7339, allocations: 2.049 MB / 0.8725 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.7339, allocations: 16 kB / 0.8725 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.092e-05/0.734, allocations: 11.94 kB / 0.8725 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/0.734, allocations: 11.97 kB / 0.8725 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007071/0.7411, allocations: 3.52 MB / 0.8759 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.7411, allocations: 4 kB / 0.876 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.7421, allocations: 256.6 kB / 0.8762 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/0.7439, allocations: 472.4 kB / 0.8766 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.7441, allocations: 59.91 kB / 0.8767 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008252/0.7523, allocations: 9.293 MB / 0.8858 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7523, allocations: 0 / 0.8858 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005708/0.758, allocations: 2.893 MB / 0.8886 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/0.7586, allocations: 202.4 kB / 0.8888 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/0.759, allocations: 39.94 kB / 0.8888 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.7603, allocations: 62.48 kB / 0.8889 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.7606, allocations: 135.1 kB / 0.889 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/0.7607, allocations: 75.95 kB / 0.8891 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00135/0.7621, allocations: 0.8361 MB / 0.8899 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7621, allocations: 0 / 0.8899 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0025/0.7646, allocations: 0.7912 MB / 0.8907 GB, free: 5.438 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.001618/0.7662, allocations: 0.7566 MB / 0.8914 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00383/0.77, allocations: 1.907 MB / 0.8933 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.7701, allocations: 4 kB / 0.8933 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/0.7727, allocations: 1.376 MB / 0.8946 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/0.7761, allocations: 0.5739 MB / 0.8952 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007658/0.7837, allocations: 3.929 MB / 0.899 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.7848, allocations: 0.7659 MB / 0.8998 GB, free: 12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/0.7854, allocations: 183.4 kB / 0.9 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.7855, allocations: 0 / 0.9 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.09374/0.8792, allocations: 79.75 MB / 0.9778 GB, free: 12.1 MB / 0.7325 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/jenkins1/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: 13.620024853385985]