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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.001146/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001199/0.001199, allocations: 197.8 kB / 16.14 MB, free: 6.723 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.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.687/0.687, allocations: 89.48 MB / 379.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 83.5 kB / 457.5 MB, free: 23.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1322, allocations: 67.3 MB / 0.5125 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.4325/0.5647, allocations: 186.4 MB / 0.6946 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.04967/0.6144, allocations: 45.57 MB / 0.7391 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004752/0.6192, allocations: 39.75 kB / 0.7391 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005805/0.625, allocations: 1.791 MB / 0.7408 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.6367, allocations: 3.565 MB / 0.7443 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01826/0.655, allocations: 6 MB / 0.7502 GB, free: 248 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006337/0.6613, allocations: 4.945 MB / 0.755 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.6629, allocations: 0.8428 MB / 0.7558 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02563/0.6885, allocations: 11.01 MB / 0.7666 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.6913, allocations: 1.629 MB / 0.7682 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.6927, allocations: 172 kB / 0.7683 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02383/0.7165, allocations: 9.931 MB / 0.778 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.7179, allocations: 0.521 MB / 0.7786 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003091/0.721, allocations: 1.418 MB / 0.7799 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02211/0.7432, allocations: 8.694 MB / 0.7884 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7432, allocations: 0 / 0.7884 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7432, allocations: 0 / 0.7884 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001302/0.7433, allocations: 0 / 0.7884 GB, free: 8.801 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: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 0.01326/0.7566, allocations: 4.42 MB / 0.7927 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.7567, allocations: 8.031 kB / 0.7928 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.7594, allocations: 0.5596 MB / 0.7933 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.7619, allocations: 1.292 MB / 0.7946 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.7621, allocations: 177.1 kB / 0.7947 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000424/0.7625, allocations: 244.5 kB / 0.795 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006724/0.7693, allocations: 2.823 MB / 0.7977 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.808e-05/0.7693, allocations: 4 kB / 0.7977 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/0.7696, allocations: 100 kB / 0.7978 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/0.7696, allocations: 60 kB / 0.7979 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005969/0.7756, allocations: 2.342 MB / 0.8002 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01666/0.7923, allocations: 12.8 MB / 0.8127 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005146/0.7975, allocations: 2.105 MB / 0.8147 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.7993, allocations: 1.049 MB / 0.8157 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3508/1.15, allocations: 47.6 MB / 0.8622 GB, free: 211.1 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/1.15, allocations: 65.59 kB / 0.8623 GB, free: 211.1 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=208): time 3.897e-06/1.15, allocations: 0 / 0.8623 GB, free: 211.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208): time 0.01064/1.161, allocations: 4.333 MB / 0.8665 GB, free: 208.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/1.161, allocations: 203.3 kB / 0.8667 GB, free: 208.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/1.163, allocations: 1.457 MB / 0.8681 GB, free: 207.9 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/1.163, allocations: 61.23 kB / 0.8682 GB, free: 207.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000534/1.163, allocations: 0.9468 MB / 0.8691 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000413/1.164, allocations: 0.7022 MB / 0.8698 GB, free: 206.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004301/1.164, allocations: 341.6 kB / 0.8701 GB, free: 206.4 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 3.886e-05/1.164, allocations: 301.1 kB / 0.8704 GB, free: 206.1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/1.166, allocations: 0.6577 MB / 0.8711 GB, free: 205.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/1.167, allocations: 0.9418 MB / 0.872 GB, free: 205.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002579/1.169, allocations: 1.738 MB / 0.8737 GB, free: 204.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.169, allocations: 0 / 0.8737 GB, free: 204.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.003966/1.173, allocations: 2.298 MB / 0.8759 GB, free: 202.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.173, allocations: 9.062 kB / 0.8759 GB, free: 202.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.173, allocations: 7.875 kB / 0.8759 GB, free: 202.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009112/1.174, allocations: 323.3 kB / 0.8763 GB, free: 202.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.176, allocations: 391.7 kB / 0.8766 GB, free: 202.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005282/1.181, allocations: 8.945 MB / 0.8854 GB, free: 193.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/1.183, allocations: 222.8 kB / 0.8856 GB, free: 193.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/1.183, allocations: 83.14 kB / 0.8857 GB, free: 193.6 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.0007619/1.184, allocations: 415.9 kB / 0.886 GB, free: 193.3 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/1.184, allocations: 212.1 kB / 0.8863 GB, free: 193.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/1.191, allocations: 6.438 MB / 0.8925 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.693e-05/1.191, allocations: 83.02 kB / 0.8926 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.191, allocations: 3.844 kB / 0.8926 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/1.191, allocations: 11.75 kB / 0.8926 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009874/1.201, allocations: 9.996 MB / 0.9024 GB, free: 179.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.201, allocations: 4 kB / 0.9024 GB, free: 179.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.202, allocations: 339.7 kB / 0.9027 GB, free: 179.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000889/1.203, allocations: 332.5 kB / 0.903 GB, free: 179 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/1.203, allocations: 67.95 kB / 0.9031 GB, free: 178.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005226/1.208, allocations: 8.946 MB / 0.9118 GB, free: 169.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.208, allocations: 4.031 kB / 0.9118 GB, free: 169.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006696/1.215, allocations: 5.688 MB / 0.9174 GB, free: 163.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006455/1.216, allocations: 424.2 kB / 0.9178 GB, free: 163 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/1.216, allocations: 87.69 kB / 0.9179 GB, free: 162.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.217, allocations: 127.5 kB / 0.918 GB, free: 162.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/1.218, allocations: 163.6 kB / 0.9182 GB, free: 162.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.218, allocations: 83.95 kB / 0.9182 GB, free: 162.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001367/1.219, allocations: 1.255 MB / 0.9195 GB, free: 161.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/1.219, allocations: 0 / 0.9195 GB, free: 161.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004457/1.224, allocations: 1.762 MB / 0.9212 GB, free: 159.6 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 ($cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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.004911/1.229, allocations: 1.796 MB / 0.9229 GB, free: 158.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004338/1.233, allocations: 3.1 MB / 0.926 GB, free: 154.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.233, allocations: 0 / 0.926 GB, free: 154.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00278/1.236, allocations: 2.504 MB / 0.9284 GB, free: 152.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004312/1.24, allocations: 0.8271 MB / 0.9292 GB, free: 151.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/1.25, allocations: 8.002 MB / 0.937 GB, free: 143.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009706/1.251, allocations: 1.902 MB / 0.9389 GB, free: 141.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001747/1.253, allocations: 0.8777 MB / 0.9398 GB, free: 140.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/1.254, allocations: 179.4 kB / 0.9399 GB, free: 140.5 MB / 0.6231 GB Notification: Performance of SimCode: time 8.42e-07/1.254, allocations: 0 / 0.9399 GB, free: 140.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.08743/1.341, allocations: 75.89 MB / 1.014 GB, free: 65.08 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