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.001499/0.001499, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001688/0.001688, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.34/1.34, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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.6839/0.6839, allocations: 94.56 MB / 407.8 MB, free: 9.18 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.002425/0.002425, allocations: 96.31 kB / 0.5562 GB, free: 38.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1116, allocations: 73.05 MB / 0.6275 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.471/0.5826, allocations: 190.8 MB / 0.8138 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.6002, allocations: 17.98 MB / 0.8314 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.6025, allocations: 93.66 kB / 0.8315 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.6051, allocations: 1.008 MB / 0.8325 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006446/0.6115, allocations: 2.426 MB / 0.8348 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004888/0.6164, allocations: 1.878 MB / 0.8367 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004609/0.621, allocations: 3.666 MB / 0.8403 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.6216, allocations: 279.4 kB / 0.8405 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.6244, allocations: 1.647 MB / 0.8421 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.6265, allocations: 1.59 MB / 0.8437 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002918/0.6268, allocations: 171.2 kB / 0.8438 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005328/0.6322, allocations: 2.621 MB / 0.8464 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005835/0.6327, allocations: 465.2 kB / 0.8468 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.6341, allocations: 1.085 MB / 0.8479 GB, free: 5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006134/0.6402, allocations: 3.275 MB / 0.8511 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.6402, allocations: 3.984 kB / 0.8511 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6402, allocations: 4 kB / 0.8511 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.396e-05/0.6403, allocations: 0 / 0.8511 GB, free: 3.129 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.004846/0.6451, allocations: 2.623 MB / 0.8537 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6451, allocations: 12.02 kB / 0.8537 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000677/0.6458, allocations: 258.5 kB / 0.8539 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.6482, allocations: 1.231 MB / 0.8551 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-05/0.6483, allocations: 110.9 kB / 0.8552 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.6485, allocations: 155.9 kB / 0.8554 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.6512, allocations: 1.648 MB / 0.857 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.6512, allocations: 7.922 kB / 0.857 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.6513, allocations: 64 kB / 0.8571 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.6514, allocations: 36 kB / 0.8571 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.6539, allocations: 1.52 MB / 0.8586 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.664, allocations: 7.072 MB / 0.8655 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/0.6669, allocations: 1.434 MB / 0.8669 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.668, allocations: 0.6713 MB / 0.8675 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005156/0.6732, allocations: 2.938 MB / 0.8704 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.6732, allocations: 59.75 kB / 0.8705 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=166): time 3.196e-06/0.6732, allocations: 0 / 0.8705 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=166): time 0.006304/0.6795, allocations: 2.464 MB / 0.8729 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.6796, allocations: 182.9 kB / 0.8731 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.6813, allocations: 1.303 MB / 0.8743 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.6815, allocations: 57.7 kB / 0.8744 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006308/0.6821, allocations: 0.7994 MB / 0.8752 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004941/0.6826, allocations: 0.594 MB / 0.8757 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/0.683, allocations: 299.5 kB / 0.876 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6831, allocations: 301.1 kB / 0.8763 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009541/0.6841, allocations: 0.4888 MB / 0.8768 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.6853, allocations: 0.8288 MB / 0.8776 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.6876, allocations: 1.436 MB / 0.879 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.6876, allocations: 4 kB / 0.879 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003467/0.6911, allocations: 1.858 MB / 0.8808 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.6911, allocations: 11.94 kB / 0.8808 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.6911, allocations: 12.16 kB / 0.8808 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007558/0.6919, allocations: 224.1 kB / 0.8811 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.6932, allocations: 387 kB / 0.8814 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00611/0.6993, allocations: 7.169 MB / 0.8884 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.7006, allocations: 166.7 kB / 0.8886 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.7008, allocations: 71.98 kB / 0.8887 GB, free: 11.91 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.00065/0.7015, allocations: 337.5 kB / 0.889 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.7019, allocations: 202.7 kB / 0.8892 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/0.706, allocations: 2.055 MB / 0.8912 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.706, allocations: 19.98 kB / 0.8912 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.706, allocations: 11.94 kB / 0.8912 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/0.706, allocations: 11.97 kB / 0.8912 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006891/0.7129, allocations: 3.892 MB / 0.895 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.7129, allocations: 7.938 kB / 0.895 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.7139, allocations: 255.7 kB / 0.8953 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.7157, allocations: 471.2 kB / 0.8957 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.7159, allocations: 59.95 kB / 0.8958 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007785/0.7236, allocations: 9.45 MB / 0.905 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.7236, allocations: 7.938 kB / 0.905 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005005/0.7286, allocations: 2.885 MB / 0.9078 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/0.7291, allocations: 210.3 kB / 0.908 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.7294, allocations: 36 kB / 0.9081 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009933/0.7303, allocations: 63.89 kB / 0.9081 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.7306, allocations: 140.6 kB / 0.9083 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.7307, allocations: 67.95 kB / 0.9083 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001219/0.7319, allocations: 0.9015 MB / 0.9092 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7319, allocations: 0 / 0.9092 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002135/0.7341, allocations: 0.7835 MB / 0.91 GB, free: 5.176 MB / 0.6544 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.001287/0.7354, allocations: 0.7719 MB / 0.9107 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003348/0.7387, allocations: 1.907 MB / 0.9126 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.7387, allocations: 4.062 kB / 0.9126 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.7411, allocations: 1.371 MB / 0.9139 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/0.744, allocations: 0.6148 MB / 0.9145 GB, free: 436 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006699/0.7507, allocations: 3.955 MB / 0.9184 GB, free: 12.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009892/0.7517, allocations: 1.34 MB / 0.9197 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006025/0.7523, allocations: 183.4 kB / 0.9199 GB, free: 10.86 MB / 0.67 GB Notification: Performance of SimCode: time 8.32e-07/0.7523, allocations: 0 / 0.9199 GB, free: 10.86 MB / 0.67 GB Notification: Performance of Templates: time 0.08628/0.8386, allocations: 79.55 MB / 0.9976 GB, free: 11.3 MB / 0.7481 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.120562978787348]