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.001564/0.001564, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001842/0.001842, allocations: 213.8 kB / 22.25 MB, free: 4.859 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.82 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.7701/0.7701, allocations: 100.9 MB / 413.3 MB, free: 2.879 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.002629/0.002629, allocations: 91.42 kB / 0.5646 GB, free: 35.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1195, allocations: 74.6 MB / 0.6374 GB, free: 6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4827/0.6023, allocations: 165.6 MB / 0.7992 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01746/0.6197, allocations: 16.33 MB / 0.8151 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.622, allocations: 96.53 kB / 0.8152 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.6245, allocations: 0.8977 MB / 0.8161 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006436/0.6309, allocations: 2.376 MB / 0.8184 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004994/0.6359, allocations: 1.87 MB / 0.8202 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004601/0.6405, allocations: 3.67 MB / 0.8238 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006135/0.6411, allocations: 264.8 kB / 0.8241 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/0.6442, allocations: 1.644 MB / 0.8257 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.6466, allocations: 1.5 MB / 0.8271 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003992/0.647, allocations: 168.9 kB / 0.8273 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004885/0.6518, allocations: 2.231 MB / 0.8295 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005887/0.6524, allocations: 461.1 kB / 0.8299 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.6538, allocations: 0.8947 MB / 0.8308 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005367/0.6591, allocations: 3.245 MB / 0.834 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6591, allocations: 0 / 0.834 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6591, allocations: 0.9062 kB / 0.834 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.008e-05/0.6592, allocations: 0 / 0.834 GB, free: 10.1 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.004622/0.6638, allocations: 2.624 MB / 0.8365 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.6638, allocations: 12.06 kB / 0.8365 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007229/0.6646, allocations: 275.2 kB / 0.8368 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.6669, allocations: 1.22 MB / 0.838 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.035e-05/0.667, allocations: 115 kB / 0.8381 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.6672, allocations: 159.4 kB / 0.8383 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/0.6701, allocations: 2.254 MB / 0.8405 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.6702, allocations: 8.531 kB / 0.8405 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.6703, allocations: 64.34 kB / 0.8405 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.6703, allocations: 36.44 kB / 0.8406 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.6728, allocations: 1.506 MB / 0.842 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008061/0.6808, allocations: 4.609 MB / 0.8465 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/0.6835, allocations: 1.421 MB / 0.8479 GB, free: 484 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.6846, allocations: 0.6738 MB / 0.8486 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00498/0.6895, allocations: 2.683 MB / 0.8512 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.6896, allocations: 60.45 kB / 0.8513 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 3.947e-06/0.6896, allocations: 0 / 0.8513 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.006575/0.6962, allocations: 2.462 MB / 0.8537 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.6963, allocations: 189.4 kB / 0.8538 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.6979, allocations: 1.224 MB / 0.855 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.6981, allocations: 61.7 kB / 0.8551 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000748/0.6989, allocations: 0.8084 MB / 0.8559 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000597/0.6995, allocations: 0.5964 MB / 0.8565 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004327/0.6999, allocations: 291.5 kB / 0.8567 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7, allocations: 313.1 kB / 0.857 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009993/0.701, allocations: 495.8 kB / 0.8575 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.7023, allocations: 0.83 MB / 0.8583 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.7048, allocations: 1.424 MB / 0.8597 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.7048, allocations: 4 kB / 0.8597 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003774/0.7085, allocations: 1.862 MB / 0.8615 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.7086, allocations: 8.625 kB / 0.8615 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/0.7086, allocations: 11.94 kB / 0.8616 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008771/0.7095, allocations: 227.3 kB / 0.8618 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.711, allocations: 384.1 kB / 0.8621 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006505/0.7175, allocations: 7.028 MB / 0.869 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.7187, allocations: 152.1 kB / 0.8691 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.7188, allocations: 75.98 kB / 0.8692 GB, free: 11.4 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.0006918/0.7195, allocations: 340.7 kB / 0.8695 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/0.7201, allocations: 202.7 kB / 0.8697 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/0.7243, allocations: 2.048 MB / 0.8717 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.7244, allocations: 20 kB / 0.8718 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.7244, allocations: 7.938 kB / 0.8718 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.7244, allocations: 7.969 kB / 0.8718 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006754/0.7311, allocations: 3.521 MB / 0.8752 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.7311, allocations: 0 / 0.8752 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.7322, allocations: 255.1 kB / 0.8755 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.734, allocations: 470 kB / 0.8759 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.7341, allocations: 59.91 kB / 0.876 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008345/0.7424, allocations: 9.301 MB / 0.885 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.7424, allocations: 6.625 kB / 0.885 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005441/0.7479, allocations: 2.875 MB / 0.8879 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006199/0.7485, allocations: 198.5 kB / 0.888 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.7488, allocations: 43.92 kB / 0.8881 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.7498, allocations: 55.97 kB / 0.8881 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.7501, allocations: 139.4 kB / 0.8883 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.7502, allocations: 71.95 kB / 0.8883 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001181/0.7514, allocations: 0.8386 MB / 0.8892 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7514, allocations: 0 / 0.8892 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002225/0.7536, allocations: 0.7912 MB / 0.8899 GB, free: 5.488 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.001319/0.755, allocations: 0.7651 MB / 0.8907 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003543/0.7585, allocations: 1.911 MB / 0.8925 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.7585, allocations: 0 / 0.8925 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.7611, allocations: 1.389 MB / 0.8939 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/0.764, allocations: 0.5659 MB / 0.8945 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007029/0.771, allocations: 3.884 MB / 0.8982 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008847/0.7719, allocations: 0.7658 MB / 0.899 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001342/0.7732, allocations: 337.6 kB / 0.8993 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.7737, allocations: 159.4 kB / 0.8995 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/0.7737, allocations: 0 / 0.8995 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.06575/0.8394, allocations: 39.47 MB / 0.938 GB, free: 4.707 MB / 0.6856 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: 7.45267335139215]