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.006104/0.006104, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001465/0.001465, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.305/1.305, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6251/0.6251, allocations: 89.52 MB / 380.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 78.52 kB / 458.2 MB, free: 23.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 67.3 MB / 0.5132 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.3688/0.4765, allocations: 186.4 MB / 0.6953 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.04589/0.5224, allocations: 45.57 MB / 0.7398 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.5255, allocations: 35.81 kB / 0.7398 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005372/0.5309, allocations: 1.795 MB / 0.7415 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009796/0.5408, allocations: 3.554 MB / 0.745 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01595/0.5568, allocations: 5.999 MB / 0.7509 GB, free: 172 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006291/0.5631, allocations: 4.953 MB / 0.7557 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.5645, allocations: 0.8389 MB / 0.7565 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02322/0.5877, allocations: 11.01 MB / 0.7673 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.5902, allocations: 1.633 MB / 0.7689 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006895/0.5909, allocations: 175.9 kB / 0.769 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01991/0.6108, allocations: 9.935 MB / 0.7787 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008874/0.6117, allocations: 0.5093 MB / 0.7792 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.6137, allocations: 1.418 MB / 0.7806 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.6237, allocations: 6.128 MB / 0.7866 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6238, allocations: 0 / 0.7866 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6238, allocations: 0 / 0.7866 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.979e-05/0.6239, allocations: 0 / 0.7866 GB, free: 11.29 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.01113/0.635, allocations: 4.424 MB / 0.7909 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.6351, allocations: 12.03 kB / 0.7909 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/0.6375, allocations: 0.5596 MB / 0.7915 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.6397, allocations: 1.296 MB / 0.7928 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.6399, allocations: 177.1 kB / 0.7929 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/0.6402, allocations: 236.5 kB / 0.7932 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00594/0.6462, allocations: 2.815 MB / 0.7959 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.584e-05/0.6463, allocations: 7.938 kB / 0.7959 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.6464, allocations: 100 kB / 0.796 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.191e-05/0.6465, allocations: 60 kB / 0.7961 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005366/0.6519, allocations: 2.338 MB / 0.7983 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.6662, allocations: 12.8 MB / 0.8108 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005022/0.6713, allocations: 2.101 MB / 0.8129 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.6732, allocations: 1.057 MB / 0.8139 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3136/0.9868, allocations: 47.61 MB / 0.8604 GB, free: 213 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.9869, allocations: 63.83 kB / 0.8605 GB, free: 212.9 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=208): time 4.398e-06/0.9869, allocations: 0 / 0.8605 GB, free: 212.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208): time 0.01157/0.9985, allocations: 4.329 MB / 0.8647 GB, free: 211 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.9986, allocations: 205.7 kB / 0.8649 GB, free: 210.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/1.001, allocations: 1.458 MB / 0.8663 GB, free: 210 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/1.001, allocations: 65.48 kB / 0.8664 GB, free: 210 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/1.001, allocations: 0.9485 MB / 0.8673 GB, free: 209.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/1.002, allocations: 0.7021 MB / 0.868 GB, free: 208.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000539/1.003, allocations: 343.3 kB / 0.8683 GB, free: 208.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 4.394e-05/1.003, allocations: 305.1 kB / 0.8686 GB, free: 208.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/1.004, allocations: 0.6565 MB / 0.8693 GB, free: 207.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/1.005, allocations: 0.932 MB / 0.8702 GB, free: 207.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/1.008, allocations: 1.742 MB / 0.8719 GB, free: 206.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/1.008, allocations: 0 / 0.8719 GB, free: 206.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004121/1.012, allocations: 2.295 MB / 0.8741 GB, free: 205 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/1.012, allocations: 15.92 kB / 0.8741 GB, free: 205 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.012, allocations: 3.906 kB / 0.8741 GB, free: 205 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/1.013, allocations: 317.3 kB / 0.8744 GB, free: 204.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/1.015, allocations: 391.6 kB / 0.8748 GB, free: 204.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/1.02, allocations: 8.953 MB / 0.8836 GB, free: 195.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.022, allocations: 210.3 kB / 0.8838 GB, free: 195.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/1.022, allocations: 91 kB / 0.8838 GB, free: 195.8 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.0009451/1.023, allocations: 418.2 kB / 0.8842 GB, free: 195.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005756/1.023, allocations: 208.1 kB / 0.8844 GB, free: 195.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007106/1.031, allocations: 6.436 MB / 0.8907 GB, free: 191.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.529e-05/1.031, allocations: 83.05 kB / 0.8908 GB, free: 191.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.829e-05/1.031, allocations: 7.688 kB / 0.8908 GB, free: 191.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/1.031, allocations: 11.95 kB / 0.8908 GB, free: 191.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/1.042, allocations: 10.01 MB / 0.9006 GB, free: 182.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/1.042, allocations: 4 kB / 0.9006 GB, free: 182.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.043, allocations: 331.5 kB / 0.9009 GB, free: 181.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009632/1.044, allocations: 328.9 kB / 0.9012 GB, free: 181.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/1.044, allocations: 63.97 kB / 0.9013 GB, free: 181.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005097/1.049, allocations: 8.954 MB / 0.91 GB, free: 171.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.049, allocations: 4.125 kB / 0.91 GB, free: 171.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007068/1.056, allocations: 5.684 MB / 0.9156 GB, free: 165.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007201/1.057, allocations: 420.2 kB / 0.916 GB, free: 165.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/1.058, allocations: 87.38 kB / 0.9161 GB, free: 165.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.059, allocations: 119.9 kB / 0.9162 GB, free: 165.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/1.06, allocations: 179.4 kB / 0.9164 GB, free: 165.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.06, allocations: 67.97 kB / 0.9164 GB, free: 165 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001457/1.061, allocations: 1.263 MB / 0.9177 GB, free: 163.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/1.061, allocations: 0 / 0.9177 GB, free: 163.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004566/1.066, allocations: 1.764 MB / 0.9194 GB, free: 162.1 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.005297/1.071, allocations: 1.797 MB / 0.9211 GB, free: 160.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00442/1.076, allocations: 3.106 MB / 0.9242 GB, free: 157.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.076, allocations: 0 / 0.9242 GB, free: 157.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002758/1.078, allocations: 2.506 MB / 0.9266 GB, free: 154.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/1.083, allocations: 0.8312 MB / 0.9274 GB, free: 154 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.093, allocations: 8.043 MB / 0.9353 GB, free: 145.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.094, allocations: 1.906 MB / 0.9371 GB, free: 143.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007695/1.095, allocations: 187.4 kB / 0.9373 GB, free: 143.8 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/1.095, allocations: 0 / 0.9373 GB, free: 143.8 MB / 0.6231 GB Notification: Performance of Templates: time 0.0948/1.19, allocations: 131.8 MB / 1.066 GB, free: 11.95 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches