Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 110.4 kB / 18.68 MB, free: 3.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 250.6 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7311/0.7311, allocations: 94.59 MB / 400.4 MB, free: 15.81 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 89.34 kB / 0.5464 GB, free: 42.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1597, allocations: 71.84 MB / 0.6166 GB, free: 8.586 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.5285/0.6882, allocations: 188.8 MB / 0.801 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03963/0.7278, allocations: 45.35 MB / 0.8453 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00362/0.7315, allocations: 171.9 kB / 0.8454 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005731/0.7372, allocations: 2.047 MB / 0.8474 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01414/0.7513, allocations: 4.165 MB / 0.8515 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0218/0.7731, allocations: 7.236 MB / 0.8586 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007907/0.781, allocations: 4.818 MB / 0.8633 GB, free: 220 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.7823, allocations: 0.5731 MB / 0.8638 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02803/0.8103, allocations: 11.61 MB / 0.8752 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003365/0.8137, allocations: 1.808 MB / 0.8769 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007062/0.8144, allocations: 240 kB / 0.8772 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02439/0.8388, allocations: 10.11 MB / 0.887 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.84, allocations: 0.6259 MB / 0.8877 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002693/0.8427, allocations: 1.686 MB / 0.8893 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02662/0.8693, allocations: 9.479 MB / 0.8986 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8693, allocations: 0 / 0.8986 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.116e-06/0.8693, allocations: 8 kB / 0.8986 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.594e-05/0.8694, allocations: 0 / 0.8986 GB, free: 11.8 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.01373/0.8831, allocations: 5.238 MB / 0.9037 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.8831, allocations: 12.03 kB / 0.9037 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/0.8861, allocations: 0.6634 MB / 0.9043 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005536/0.8916, allocations: 2.328 MB / 0.9066 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.8918, allocations: 176.8 kB / 0.9068 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004476/0.8923, allocations: 251.9 kB / 0.907 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006608/0.8989, allocations: 2.847 MB / 0.9098 GB, free: 16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/0.8989, allocations: 4.938 kB / 0.9098 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.8991, allocations: 96 kB / 0.9099 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/0.8992, allocations: 63.94 kB / 0.91 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005971/0.9051, allocations: 2.381 MB / 0.9123 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01928/0.9244, allocations: 13.87 MB / 0.9258 GB, free: 14.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006324/0.9308, allocations: 2.032 MB / 0.9278 GB, free: 12.33 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.933, allocations: 0.9412 MB / 0.9287 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1058/1.039, allocations: 47.82 MB / 0.9754 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/1.039, allocations: 58.55 kB / 0.9755 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=208): time 5.009e-06/1.039, allocations: 0 / 0.9755 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=208): time 0.01225/1.051, allocations: 4.407 MB / 0.9798 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.051, allocations: 199.9 kB / 0.98 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/1.054, allocations: 2.105 MB / 0.982 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/1.054, allocations: 61.64 kB / 0.9821 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/1.056, allocations: 1.323 MB / 0.9834 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007424/1.056, allocations: 0.7435 MB / 0.9841 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005821/1.057, allocations: 339.5 kB / 0.9844 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.057, allocations: 305.1 kB / 0.9847 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/1.059, allocations: 0.6559 MB / 0.9854 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/1.06, allocations: 0.9395 MB / 0.9863 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/1.064, allocations: 1.731 MB / 0.988 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.064, allocations: 8 kB / 0.988 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005404/1.069, allocations: 2.389 MB / 0.9903 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/1.069, allocations: 8 kB / 0.9903 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.069, allocations: 11.97 kB / 0.9903 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009638/1.07, allocations: 302.2 kB / 0.9906 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.072, allocations: 399.4 kB / 0.991 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008951/1.08, allocations: 9.628 MB / 1 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/1.082, allocations: 190.6 kB / 1.001 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/1.083, allocations: 83.97 kB / 1.001 GB, free: 10.77 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,source5.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,source4.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,source3.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,source2.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,source1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,source.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001168/1.084, allocations: 457.6 kB / 1.001 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007832/1.085, allocations: 314 kB / 1.001 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009488/1.094, allocations: 6.474 MB / 1.008 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/1.094, allocations: 11.95 kB / 1.008 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.094, allocations: 4 kB / 1.008 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.095, allocations: 497.4 kB / 1.008 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003132/1.095, allocations: 79.62 kB / 1.008 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/1.097, allocations: 63.95 kB / 1.008 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003104/1.097, allocations: 188.2 kB / 1.009 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007566/1.104, allocations: 4.131 MB / 1.013 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008417/1.113, allocations: 5.581 MB / 1.018 GB, free: 8.855 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002237/1.115, allocations: 1.292 MB / 1.019 GB, free: 7.562 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00296/1.118, allocations: 1.68 MB / 1.021 GB, free: 5.891 MB / 0.7637 GB Notification: Performance of Backend: time 7.92e-07/1.118, allocations: 0 / 1.021 GB, free: 5.891 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01467/1.133, allocations: 4.748 MB / 1.026 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of SimCode: time 0.01226/1.145, allocations: 6.817 MB / 1.032 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.4322/1.577, allocations: 95.23 MB / 1.125 GB, free: 254.8 MB / 0.7794 GB " [Timeout remaining time 658] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.DynamicBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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: 11.247760936035775]