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.001678/0.001678, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.00203/0.00203, allocations: 215.8 kB / 22.25 MB, free: 5.133 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.984 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.7567/0.7567, allocations: 94.56 MB / 407 MB, free: 9.164 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.002593/0.002593, allocations: 92.34 kB / 0.5554 GB, free: 38.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1154, allocations: 73.05 MB / 0.6268 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.5675/0.6829, allocations: 190.8 MB / 0.8131 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01909/0.702, allocations: 17.97 MB / 0.8306 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.7046, allocations: 93.84 kB / 0.8307 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003056/0.7077, allocations: 0.9998 MB / 0.8317 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007487/0.7152, allocations: 2.423 MB / 0.8341 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005765/0.721, allocations: 1.883 MB / 0.8359 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00582/0.7268, allocations: 3.672 MB / 0.8395 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008318/0.7276, allocations: 281.8 kB / 0.8398 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003623/0.7312, allocations: 1.642 MB / 0.8414 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/0.7345, allocations: 1.585 MB / 0.8429 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005654/0.735, allocations: 167.8 kB / 0.8431 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006235/0.7413, allocations: 2.633 MB / 0.8456 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006946/0.742, allocations: 463.2 kB / 0.8461 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.7436, allocations: 1.083 MB / 0.8471 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006367/0.7499, allocations: 3.279 MB / 0.8503 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7499, allocations: 0 / 0.8503 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7499, allocations: 0 / 0.8503 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.524e-05/0.75, allocations: 0 / 0.8503 GB, free: 3.086 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.00517/0.7552, allocations: 2.626 MB / 0.8529 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.7552, allocations: 12.03 kB / 0.8529 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007191/0.7559, allocations: 263.3 kB / 0.8532 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.7585, allocations: 1.219 MB / 0.8544 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.7586, allocations: 110.9 kB / 0.8545 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.7589, allocations: 155.9 kB / 0.8546 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.7619, allocations: 1.651 MB / 0.8562 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.7619, allocations: 11.94 kB / 0.8562 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.762, allocations: 67.98 kB / 0.8563 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.7621, allocations: 32 kB / 0.8563 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/0.7649, allocations: 1.512 MB / 0.8578 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.776, allocations: 7.072 MB / 0.8647 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.7791, allocations: 1.443 MB / 0.8661 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.7803, allocations: 0.6619 MB / 0.8668 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005587/0.7859, allocations: 2.942 MB / 0.8696 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.7859, allocations: 67.73 kB / 0.8697 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=166): time 3.396e-06/0.7859, allocations: 0 / 0.8697 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=166): time 0.006859/0.7928, allocations: 2.458 MB / 0.8721 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.7929, allocations: 187 kB / 0.8723 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.7947, allocations: 1.307 MB / 0.8736 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.7949, allocations: 53.7 kB / 0.8736 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007284/0.7956, allocations: 0.8004 MB / 0.8744 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000548/0.7962, allocations: 0.5968 MB / 0.875 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004297/0.7966, allocations: 291.5 kB / 0.8753 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7967, allocations: 305.1 kB / 0.8756 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.7978, allocations: 0.492 MB / 0.876 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.7991, allocations: 0.821 MB / 0.8768 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.8016, allocations: 1.432 MB / 0.8782 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.8016, allocations: 4 kB / 0.8782 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003762/0.8054, allocations: 1.862 MB / 0.8801 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.8054, allocations: 11.94 kB / 0.8801 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.8054, allocations: 12 kB / 0.8801 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007907/0.8062, allocations: 224.6 kB / 0.8803 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.8077, allocations: 387.4 kB / 0.8807 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006774/0.8145, allocations: 7.169 MB / 0.8877 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.8159, allocations: 170.8 kB / 0.8878 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.816, allocations: 75.97 kB / 0.8879 GB, free: 11.86 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.0006824/0.8167, allocations: 333.4 kB / 0.8882 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004779/0.8172, allocations: 198.7 kB / 0.8884 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004367/0.8216, allocations: 2.062 MB / 0.8904 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.8216, allocations: 16 kB / 0.8904 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.8216, allocations: 8 kB / 0.8904 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.8216, allocations: 7.969 kB / 0.8905 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007296/0.8289, allocations: 3.899 MB / 0.8943 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.8289, allocations: 0 / 0.8943 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.83, allocations: 267.6 kB / 0.8945 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/0.8319, allocations: 475.5 kB / 0.895 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.832, allocations: 55.97 kB / 0.895 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008519/0.8406, allocations: 9.441 MB / 0.9042 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.8406, allocations: 7.938 kB / 0.9042 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005547/0.8461, allocations: 2.882 MB / 0.9071 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005713/0.8467, allocations: 210.3 kB / 0.9073 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/0.847, allocations: 36 kB / 0.9073 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.8481, allocations: 68.33 kB / 0.9074 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/0.8484, allocations: 136.6 kB / 0.9075 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.8485, allocations: 75.94 kB / 0.9076 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001344/0.8499, allocations: 0.9054 MB / 0.9084 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8499, allocations: 0 / 0.9084 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002378/0.8522, allocations: 0.7873 MB / 0.9092 GB, free: 5.133 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.001374/0.8536, allocations: 0.7608 MB / 0.91 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003688/0.8573, allocations: 1.91 MB / 0.9118 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.026e-06/0.8573, allocations: 8 kB / 0.9118 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002652/0.86, allocations: 1.372 MB / 0.9132 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/0.8631, allocations: 0.6209 MB / 0.9138 GB, free: 392 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007103/0.8702, allocations: 3.897 MB / 0.9176 GB, free: 12.43 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.8713, allocations: 1.344 MB / 0.9189 GB, free: 11.05 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001395/0.8727, allocations: 354.3 kB / 0.9192 GB, free: 10.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.8732, allocations: 163.4 kB / 0.9194 GB, free: 10.55 MB / 0.67 GB Notification: Performance of SimCode: time 7.22e-07/0.8732, allocations: 0 / 0.9194 GB, free: 10.55 MB / 0.67 GB Notification: Performance of Templates: time 0.06903/0.9422, allocations: 38.29 MB / 0.9568 GB, free: 4.586 MB / 0.7012 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/jenkins/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: 7.752842332236469]