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.001498/0.001498, allocations: 80.52 kB / 19.76 MB, free: 1.887 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.001653/0.001653, allocations: 160.1 kB / 23.01 MB, free: 4.59 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.343/1.343, allocations: 177.2 MB / 203.4 MB, free: 9.266 MB / 190.1 MB " [Timeout remaining time 179] 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.706/0.706, allocations: 79.61 MB / 339.4 MB, free: 11.52 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.002577/0.002577, allocations: 87.28 kB / 0.4923 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1141, allocations: 74.59 MB / 0.5652 GB, free: 6.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4701/0.5841, allocations: 165.3 MB / 0.7266 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.6004, allocations: 16.31 MB / 0.7426 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.6025, allocations: 96.12 kB / 0.7427 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.6047, allocations: 0.9018 MB / 0.7435 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005628/0.6103, allocations: 2.388 MB / 0.7459 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004241/0.6145, allocations: 1.86 MB / 0.7477 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004155/0.6187, allocations: 3.668 MB / 0.7513 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005141/0.6192, allocations: 262.9 kB / 0.7515 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003234/0.6224, allocations: 2.222 MB / 0.7537 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.6241, allocations: 1.491 MB / 0.7552 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002493/0.6244, allocations: 169.5 kB / 0.7553 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004115/0.6285, allocations: 2.235 MB / 0.7575 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.6289, allocations: 459.1 kB / 0.7579 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008956/0.6298, allocations: 0.8988 MB / 0.7588 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004263/0.634, allocations: 3.247 MB / 0.762 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.634, allocations: 0 / 0.762 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.293e-06/0.634, allocations: 0.9062 kB / 0.762 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.215e-05/0.6341, allocations: 0 / 0.762 GB, free: 0.8984 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.004036/0.6381, allocations: 2.621 MB / 0.7645 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.6381, allocations: 11.5 kB / 0.7646 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006958/0.6388, allocations: 274.4 kB / 0.7648 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.6409, allocations: 1.232 MB / 0.766 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.641, allocations: 109.5 kB / 0.7661 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.6412, allocations: 156.6 kB / 0.7663 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/0.644, allocations: 2.255 MB / 0.7685 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.644, allocations: 9.781 kB / 0.7685 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.6442, allocations: 59.56 kB / 0.7685 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.6442, allocations: 38.19 kB / 0.7686 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.6465, allocations: 1.503 MB / 0.77 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007434/0.6539, allocations: 4.615 MB / 0.7746 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.6565, allocations: 1.414 MB / 0.7759 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.6575, allocations: 0.6655 MB / 0.7766 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004584/0.6621, allocations: 2.691 MB / 0.7792 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.6622, allocations: 62.81 kB / 0.7793 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 3.326e-06/0.6622, allocations: 1 kB / 0.7793 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.005959/0.6681, allocations: 2.468 MB / 0.7817 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.6682, allocations: 176.6 kB / 0.7819 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.6696, allocations: 1.226 MB / 0.7831 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.6697, allocations: 58.89 kB / 0.7831 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/0.6704, allocations: 0.8125 MB / 0.7839 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004657/0.6708, allocations: 0.6042 MB / 0.7845 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004058/0.6712, allocations: 288.9 kB / 0.7848 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6714, allocations: 302.4 kB / 0.7851 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009897/0.6724, allocations: 0.4888 MB / 0.7855 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.6737, allocations: 0.8263 MB / 0.7863 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.6761, allocations: 1.43 MB / 0.7877 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/0.6762, allocations: 3.875 kB / 0.7877 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003273/0.6794, allocations: 1.865 MB / 0.7896 GB, free: 52 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6794, allocations: 12.44 kB / 0.7896 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.6795, allocations: 15.06 kB / 0.7896 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006635/0.6801, allocations: 226.5 kB / 0.7898 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.6814, allocations: 377.9 kB / 0.7902 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006273/0.6876, allocations: 7.027 MB / 0.797 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.6888, allocations: 146.9 kB / 0.7972 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.689, allocations: 79.97 kB / 0.7972 GB, free: 8.75 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.0006926/0.6897, allocations: 335.7 kB / 0.7976 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005938/0.6903, allocations: 210.8 kB / 0.7978 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/0.6947, allocations: 2.045 MB / 0.7998 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.6947, allocations: 20 kB / 0.7998 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.6947, allocations: 15.88 kB / 0.7998 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.6947, allocations: 7.969 kB / 0.7998 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006727/0.7014, allocations: 3.518 MB / 0.8032 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.7014, allocations: 4 kB / 0.8032 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.7025, allocations: 256.4 kB / 0.8035 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.7043, allocations: 466.5 kB / 0.8039 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.7044, allocations: 59.91 kB / 0.804 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008114/0.7125, allocations: 9.301 MB / 0.8131 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.7125, allocations: 7.438 kB / 0.8131 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005411/0.7179, allocations: 2.879 MB / 0.8159 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004691/0.7184, allocations: 198.4 kB / 0.8161 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.7187, allocations: 40.2 kB / 0.8161 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.7198, allocations: 59.95 kB / 0.8162 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/0.72, allocations: 147.7 kB / 0.8163 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.7202, allocations: 71.95 kB / 0.8164 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00123/0.7214, allocations: 0.8322 MB / 0.8172 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7214, allocations: 0 / 0.8172 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002263/0.7237, allocations: 0.7951 MB / 0.818 GB, free: 2.859 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.00138/0.7251, allocations: 0.7582 MB / 0.8187 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003489/0.7286, allocations: 1.908 MB / 0.8206 GB, free: 220 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/0.7286, allocations: 4 kB / 0.8206 GB, free: 216 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002554/0.7311, allocations: 1.375 MB / 0.8219 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.7337, allocations: 0.5737 MB / 0.8225 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006732/0.7404, allocations: 3.877 MB / 0.8263 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000906/0.7414, allocations: 0.7645 MB / 0.827 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001222/0.7426, allocations: 337.6 kB / 0.8273 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.743, allocations: 160.5 kB / 0.8275 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.743, allocations: 0 / 0.8275 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of Templates: time 0.06/0.803, allocations: 36.62 MB / 0.8633 GB, free: 4.992 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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: 7.070678068790585]