Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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=2000,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_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001581, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 193.6 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6721/0.6721, allocations: 91.19 MB / 381.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 81.31 kB / 459.6 MB, free: 23.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1567, allocations: 67.69 MB / 0.515 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.4024/0.5592, allocations: 187.4 MB / 0.698 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.05116/0.6104, allocations: 45.96 MB / 0.7429 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00438/0.6148, allocations: 178.8 kB / 0.743 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005691/0.6205, allocations: 1.822 MB / 0.7448 GB, free: 4.938 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.6319, allocations: 3.73 MB / 0.7485 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01855/0.6505, allocations: 6 MB / 0.7543 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007117/0.6576, allocations: 5.514 MB / 0.7597 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.6594, allocations: 0.8866 MB / 0.7606 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02477/0.6842, allocations: 11.3 MB / 0.7716 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.6871, allocations: 1.749 MB / 0.7733 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.6882, allocations: 172 kB / 0.7735 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.021/0.7092, allocations: 9.936 MB / 0.7832 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.7103, allocations: 0.5518 MB / 0.7837 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002883/0.7132, allocations: 1.604 MB / 0.7853 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02217/0.7354, allocations: 9.009 MB / 0.7941 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7355, allocations: 0 / 0.7941 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7355, allocations: 0 / 0.7941 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001294/0.7356, allocations: 4 kB / 0.7941 GB, free: 2.184 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: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.0129/0.7485, allocations: 5.025 MB / 0.799 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.7486, allocations: 12.03 kB / 0.799 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.7513, allocations: 0.6357 MB / 0.7996 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.755, allocations: 1.996 MB / 0.8016 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.7551, allocations: 176.8 kB / 0.8017 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004616/0.7556, allocations: 251.8 kB / 0.802 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006593/0.7622, allocations: 2.843 MB / 0.8048 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/0.7623, allocations: 7.938 kB / 0.8048 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.7625, allocations: 99.98 kB / 0.8049 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.844e-05/0.7626, allocations: 63.94 kB / 0.8049 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005557/0.7682, allocations: 2.373 MB / 0.8072 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.784, allocations: 13.88 MB / 0.8208 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004989/0.789, allocations: 2.172 MB / 0.8229 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.7907, allocations: 1.052 MB / 0.8239 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3167/1.107, allocations: 47.61 MB / 0.8704 GB, free: 186.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.78e-05/1.108, allocations: 56.22 kB / 0.8705 GB, free: 186.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=208): time 5.189e-06/1.108, allocations: 0 / 0.8705 GB, free: 186.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208): time 0.01176/1.119, allocations: 4.396 MB / 0.8748 GB, free: 185.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/1.119, allocations: 209.1 kB / 0.875 GB, free: 185.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/1.122, allocations: 2.044 MB / 0.877 GB, free: 184.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001946/1.123, allocations: 62.55 kB / 0.877 GB, free: 184.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/1.124, allocations: 1.283 MB / 0.8783 GB, free: 184.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000713/1.124, allocations: 0.6995 MB / 0.879 GB, free: 183.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005575/1.125, allocations: 343.3 kB / 0.8793 GB, free: 183.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 5.039e-05/1.125, allocations: 308.4 kB / 0.8796 GB, free: 183.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/1.126, allocations: 0.6562 MB / 0.8802 GB, free: 183.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/1.128, allocations: 0.9437 MB / 0.8812 GB, free: 183.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/1.13, allocations: 1.73 MB / 0.8829 GB, free: 182.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/1.13, allocations: 0 / 0.8829 GB, free: 182.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004361/1.135, allocations: 2.379 MB / 0.8852 GB, free: 181.4 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.135, allocations: 7.562 kB / 0.8852 GB, free: 181.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.135, allocations: 10.98 kB / 0.8852 GB, free: 181.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008484/1.136, allocations: 301.6 kB / 0.8855 GB, free: 181.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.137, allocations: 394.1 kB / 0.8859 GB, free: 181.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00545/1.143, allocations: 8.93 MB / 0.8946 GB, free: 172.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/1.144, allocations: 232.6 kB / 0.8948 GB, free: 172.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/1.145, allocations: 83.59 kB / 0.8949 GB, free: 172.3 MB / 0.6231 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.0009802/1.146, allocations: 447.9 kB / 0.8953 GB, free: 172 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006834/1.146, allocations: 284.1 kB / 0.8956 GB, free: 171.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007239/1.154, allocations: 6.495 MB / 0.9019 GB, free: 166 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.588e-05/1.154, allocations: 79.89 kB / 0.902 GB, free: 165.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/1.154, allocations: 4 kB / 0.902 GB, free: 165.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/1.154, allocations: 19.89 kB / 0.902 GB, free: 165.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.165, allocations: 10.21 MB / 0.912 GB, free: 155.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.511e-05/1.165, allocations: 7.938 kB / 0.912 GB, free: 155.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.167, allocations: 329.2 kB / 0.9123 GB, free: 155.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008119/1.167, allocations: 316.7 kB / 0.9126 GB, free: 155.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/1.168, allocations: 67.95 kB / 0.9127 GB, free: 155 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005232/1.173, allocations: 8.938 MB / 0.9214 GB, free: 145.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.173, allocations: 7.406 kB / 0.9214 GB, free: 145.3 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007552/1.18, allocations: 5.755 MB / 0.927 GB, free: 139.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009364/1.181, allocations: 480.1 kB / 0.9275 GB, free: 139 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005337/1.182, allocations: 87.38 kB / 0.9276 GB, free: 139 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.184, allocations: 127.5 kB / 0.9277 GB, free: 138.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/1.184, allocations: 171.3 kB / 0.9279 GB, free: 138.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.184, allocations: 71.97 kB / 0.9279 GB, free: 138.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00232/1.187, allocations: 1.65 MB / 0.9295 GB, free: 136.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3e-07/1.187, allocations: 1.641 kB / 0.9295 GB, free: 136.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005076/1.192, allocations: 1.776 MB / 0.9313 GB, free: 135.3 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (flowResistance5.inlet.m_flow,flowResistance4.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance1.inlet.m_flow,flowResistance.inlet.m_flow) * Number of discrete variables: 36 ($cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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 Backend phase and start with SimCode phase: time 0.005659/1.197, allocations: 1.791 MB / 0.933 GB, free: 133.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004605/1.202, allocations: 3.106 MB / 0.9361 GB, free: 130.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.202, allocations: 0 / 0.9361 GB, free: 130.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003012/1.205, allocations: 2.509 MB / 0.9385 GB, free: 128.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004875/1.21, allocations: 0.8937 MB / 0.9394 GB, free: 127.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.222, allocations: 8.901 MB / 0.9481 GB, free: 118.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/1.224, allocations: 2.111 MB / 0.9501 GB, free: 116.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002076/1.226, allocations: 0.9559 MB / 0.9511 GB, free: 115.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006804/1.226, allocations: 227.4 kB / 0.9513 GB, free: 115 MB / 0.6231 GB Notification: Performance of SimCode: time 1.203e-06/1.226, allocations: 0 / 0.9513 GB, free: 115 MB / 0.6231 GB Notification: Performance of Templates: time 0.09751/1.324, allocations: 77.43 MB / 1.027 GB, free: 38.18 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.DynamicBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches