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.0008695/0.0008696, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6279/0.6279, allocations: 89.62 MB / 381.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 12.22 kB / 461.3 MB, free: 24.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1119, allocations: 68.83 MB / 0.5177 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.396/0.508, allocations: 183.6 MB / 0.697 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0495/0.5575, allocations: 44.99 MB / 0.741 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003336/0.5609, allocations: 39.75 kB / 0.741 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005571/0.5665, allocations: 1.788 MB / 0.7427 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.5782, allocations: 3.563 MB / 0.7462 GB, free: 1.633 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01735/0.5956, allocations: 5.991 MB / 0.7521 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006733/0.6023, allocations: 4.949 MB / 0.7569 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.6039, allocations: 0.822 MB / 0.7577 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02066/0.6246, allocations: 10.89 MB / 0.7683 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00262/0.6273, allocations: 1.473 MB / 0.7698 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005919/0.6279, allocations: 108 kB / 0.7699 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02136/0.6493, allocations: 9.865 MB / 0.7795 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008886/0.6502, allocations: 429.6 kB / 0.7799 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002408/0.6526, allocations: 1.33 MB / 0.7812 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.6639, allocations: 6.057 MB / 0.7871 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.664, allocations: 4 kB / 0.7871 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.835e-06/0.664, allocations: 0 / 0.7871 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001096/0.6641, allocations: 0 / 0.7871 GB, free: 7.449 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.01125/0.6754, allocations: 3.925 MB / 0.791 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6754, allocations: 11.97 kB / 0.791 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/0.678, allocations: 0.5595 MB / 0.7915 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.68, allocations: 1.292 MB / 0.7928 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.6802, allocations: 177.1 kB / 0.793 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003313/0.6805, allocations: 248.4 kB / 0.7932 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.6862, allocations: 2.834 MB / 0.796 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.6862, allocations: 4 kB / 0.796 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.6864, allocations: 96 kB / 0.7961 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.6865, allocations: 60 kB / 0.7961 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005479/0.692, allocations: 2.385 MB / 0.7984 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2566/0.9486, allocations: 12.84 MB / 0.811 GB, free: 215.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005725/0.9543, allocations: 2.136 MB / 0.8131 GB, free: 215.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.9563, allocations: 1.075 MB / 0.8141 GB, free: 215.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08818/1.045, allocations: 48.05 MB / 0.861 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/1.045, allocations: 61.47 kB / 0.8611 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=208): time 4.078e-06/1.045, allocations: 0 / 0.8611 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208): time 0.01066/1.055, allocations: 4.366 MB / 0.8654 GB, free: 180.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/1.055, allocations: 214.5 kB / 0.8656 GB, free: 180.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/1.058, allocations: 1.454 MB / 0.867 GB, free: 179.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002293/1.058, allocations: 62.39 kB / 0.867 GB, free: 179.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005552/1.058, allocations: 0.9498 MB / 0.868 GB, free: 178.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006199/1.059, allocations: 0.7019 MB / 0.8687 GB, free: 177.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/1.059, allocations: 165.4 kB / 0.8688 GB, free: 177.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.107e-05/1.059, allocations: 305.1 kB / 0.8691 GB, free: 177.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/1.061, allocations: 0.6726 MB / 0.8698 GB, free: 177.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/1.062, allocations: 0.9587 MB / 0.8707 GB, free: 176.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/1.065, allocations: 1.78 MB / 0.8724 GB, free: 174.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/1.065, allocations: 3.938 kB / 0.8724 GB, free: 174.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004147/1.069, allocations: 2.345 MB / 0.8747 GB, free: 172.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.069, allocations: 10.72 kB / 0.8747 GB, free: 172.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/1.069, allocations: 8 kB / 0.8748 GB, free: 172.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009717/1.07, allocations: 316.6 kB / 0.8751 GB, free: 172.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.071, allocations: 407.4 kB / 0.8754 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005344/1.077, allocations: 8.942 MB / 0.8842 GB, free: 162 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.079, allocations: 237.9 kB / 0.8844 GB, free: 161.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/1.079, allocations: 83.97 kB / 0.8845 GB, free: 161.7 MB / 0.6075 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.001086/1.08, allocations: 421 kB / 0.8849 GB, free: 161.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005999/1.081, allocations: 221 kB / 0.8851 GB, free: 161.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/1.088, allocations: 6.477 MB / 0.8914 GB, free: 154.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-05/1.088, allocations: 71.91 kB / 0.8915 GB, free: 154.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.947e-05/1.088, allocations: 8 kB / 0.8915 GB, free: 154.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/1.088, allocations: 11.95 kB / 0.8915 GB, free: 154.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.1, allocations: 10.05 MB / 0.9013 GB, free: 144.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/1.1, allocations: 0 / 0.9013 GB, free: 144.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.101, allocations: 343.8 kB / 0.9016 GB, free: 144 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009572/1.102, allocations: 330.1 kB / 0.902 GB, free: 143.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/1.103, allocations: 67.89 kB / 0.902 GB, free: 143.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005212/1.108, allocations: 8.953 MB / 0.9108 GB, free: 133.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.108, allocations: 7.938 kB / 0.9108 GB, free: 133.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007489/1.115, allocations: 5.754 MB / 0.9164 GB, free: 128 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009162/1.116, allocations: 0.5348 MB / 0.9169 GB, free: 127.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004681/1.117, allocations: 52 kB / 0.917 GB, free: 127.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/1.118, allocations: 135.4 kB / 0.9171 GB, free: 127.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/1.119, allocations: 167.6 kB / 0.9173 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.119, allocations: 75.95 kB / 0.9173 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001596/1.121, allocations: 1.259 MB / 0.9186 GB, free: 125.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/1.121, allocations: 4 kB / 0.9186 GB, free: 125.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004734/1.125, allocations: 1.754 MB / 0.9203 GB, free: 124.1 MB / 0.6075 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.005995/1.131, allocations: 1.883 MB / 0.9221 GB, free: 122.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004993/1.136, allocations: 3.152 MB / 0.9252 GB, free: 119.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.136, allocations: 3.938 kB / 0.9252 GB, free: 119.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003025/1.139, allocations: 2.516 MB / 0.9277 GB, free: 116.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005793/1.145, allocations: 0.8341 MB / 0.9285 GB, free: 115.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/1.157, allocations: 8.313 MB / 0.9366 GB, free: 107.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/1.159, allocations: 1.902 MB / 0.9384 GB, free: 105.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008051/1.159, allocations: 195.4 kB / 0.9386 GB, free: 105.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.573e-06/1.159, allocations: 3.938 kB / 0.9386 GB, free: 105.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.3721/1.532, allocations: 131.4 MB / 1.067 GB, free: 199.1 MB / 0.6075 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