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.001347/0.001347, allocations: 108 kB / 15.61 MB, free: 152 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.002841/0.002841, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7145/0.7145, allocations: 91.21 MB / 381.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 85.58 kB / 460.3 MB, free: 23.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1269, allocations: 67.7 MB / 0.5156 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.4763/0.6032, allocations: 185.6 MB / 0.6969 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.05381/0.6571, allocations: 44.86 MB / 0.7407 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004504/0.6616, allocations: 163 kB / 0.7409 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006098/0.6677, allocations: 2.038 MB / 0.7429 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.6805, allocations: 4.041 MB / 0.7468 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02037/0.7009, allocations: 7.201 MB / 0.7538 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008043/0.709, allocations: 4.648 MB / 0.7584 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.7114, allocations: 0.9466 MB / 0.7593 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02717/0.7386, allocations: 11.45 MB / 0.7705 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003591/0.7422, allocations: 1.769 MB / 0.7722 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.7438, allocations: 243.9 kB / 0.7724 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02291/0.7668, allocations: 9.862 MB / 0.7821 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.7679, allocations: 0.6104 MB / 0.7827 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002948/0.7709, allocations: 1.682 MB / 0.7843 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02379/0.7947, allocations: 9.259 MB / 0.7934 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.7947, allocations: 0 / 0.7934 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7947, allocations: 0 / 0.7934 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001085/0.7948, allocations: 0 / 0.7934 GB, free: 2.891 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.01307/0.8079, allocations: 5.017 MB / 0.7983 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.808, allocations: 12.03 kB / 0.7983 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.8104, allocations: 0.6357 MB / 0.7989 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/0.8138, allocations: 1.992 MB / 0.8008 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.8139, allocations: 180.8 kB / 0.801 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/0.8142, allocations: 247.8 kB / 0.8012 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005383/0.8196, allocations: 2.847 MB / 0.804 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/0.8197, allocations: 7.938 kB / 0.804 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.8199, allocations: 108 kB / 0.8041 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.8199, allocations: 63.94 kB / 0.8042 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005128/0.8251, allocations: 2.369 MB / 0.8065 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.8403, allocations: 13.91 MB / 0.8201 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004958/0.8452, allocations: 2.16 MB / 0.8222 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.847, allocations: 1.06 MB / 0.8232 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3252/1.172, allocations: 47.6 MB / 0.8697 GB, free: 186 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.172, allocations: 60.31 kB / 0.8698 GB, free: 185.9 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=208): time 3.537e-06/1.172, allocations: 0 / 0.8698 GB, free: 185.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208): time 0.009706/1.182, allocations: 4.398 MB / 0.8741 GB, free: 185.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/1.182, allocations: 208.1 kB / 0.8743 GB, free: 185 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/1.185, allocations: 2.046 MB / 0.8763 GB, free: 184.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/1.185, allocations: 62.64 kB / 0.8763 GB, free: 184.7 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007907/1.186, allocations: 1.28 MB / 0.8776 GB, free: 184.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000453/1.186, allocations: 0.7043 MB / 0.8783 GB, free: 184.1 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004395/1.186, allocations: 342.3 kB / 0.8786 GB, free: 184.1 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 5.237e-05/1.187, allocations: 305.1 kB / 0.8789 GB, free: 183.8 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/1.188, allocations: 0.6505 MB / 0.8795 GB, free: 183.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/1.189, allocations: 0.9418 MB / 0.8804 GB, free: 183.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/1.191, allocations: 1.732 MB / 0.8821 GB, free: 182.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.191, allocations: 3.969 kB / 0.8821 GB, free: 182.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.003767/1.195, allocations: 2.38 MB / 0.8845 GB, free: 181.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.195, allocations: 7.5 kB / 0.8845 GB, free: 181.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.195, allocations: 4.625 kB / 0.8845 GB, free: 181.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007586/1.196, allocations: 311.3 kB / 0.8848 GB, free: 181.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.197, allocations: 392.8 kB / 0.8851 GB, free: 181.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005682/1.203, allocations: 9.629 MB / 0.8945 GB, free: 171.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.204, allocations: 191.6 kB / 0.8947 GB, free: 171.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/1.205, allocations: 79.3 kB / 0.8948 GB, free: 171.5 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.0008689/1.205, allocations: 461.9 kB / 0.8952 GB, free: 171.2 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/1.206, allocations: 282.5 kB / 0.8955 GB, free: 171 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006473/1.212, allocations: 6.495 MB / 0.9019 GB, free: 165.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.854e-05/1.212, allocations: 75.89 kB / 0.9019 GB, free: 165.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.213, allocations: 4 kB / 0.9019 GB, free: 165.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/1.213, allocations: 17.81 kB / 0.902 GB, free: 165.6 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009685/1.222, allocations: 10.21 MB / 0.9119 GB, free: 155.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/1.222, allocations: 8 kB / 0.9119 GB, free: 155.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.223, allocations: 332.6 kB / 0.9123 GB, free: 155 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007014/1.224, allocations: 311.8 kB / 0.9126 GB, free: 154.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.224, allocations: 63.97 kB / 0.9126 GB, free: 154.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005159/1.229, allocations: 9.631 MB / 0.922 GB, free: 144.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.229, allocations: 11.06 kB / 0.922 GB, free: 144.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006294/1.236, allocations: 5.761 MB / 0.9277 GB, free: 138.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/1.236, allocations: 475.3 kB / 0.9281 GB, free: 137.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/1.237, allocations: 87.38 kB / 0.9282 GB, free: 137.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.238, allocations: 59.97 kB / 0.9282 GB, free: 137.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/1.238, allocations: 179.1 kB / 0.9284 GB, free: 137.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.34e-05/1.238, allocations: 73.94 kB / 0.9285 GB, free: 137.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001627/1.24, allocations: 1.646 MB / 0.9301 GB, free: 135.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/1.24, allocations: 0 / 0.9301 GB, free: 135.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004393/1.244, allocations: 1.777 MB / 0.9318 GB, free: 134.2 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.004831/1.249, allocations: 1.793 MB / 0.9336 GB, free: 132.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005258/1.254, allocations: 3.199 MB / 0.9367 GB, free: 129.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.254, allocations: 0 / 0.9367 GB, free: 129.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002662/1.257, allocations: 2.506 MB / 0.9392 GB, free: 127 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004423/1.261, allocations: 0.9575 MB / 0.9401 GB, free: 126.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.272, allocations: 7.323 MB / 0.9472 GB, free: 118.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/1.273, allocations: 2.117 MB / 0.9493 GB, free: 116.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001751/1.274, allocations: 0.9522 MB / 0.9502 GB, free: 115.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/1.275, allocations: 223.4 kB / 0.9505 GB, free: 115.5 MB / 0.6231 GB Notification: Performance of SimCode: time 8.12e-07/1.275, allocations: 4 kB / 0.9505 GB, free: 115.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.08618/1.361, allocations: 79.59 MB / 1.028 GB, free: 36.51 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