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.008002/0.008001, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.00174/0.00174, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7153/0.7153, allocations: 91.2 MB / 381.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 79.86 kB / 0.5169 GB, free: 9.02 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1534, allocations: 67.68 MB / 0.583 GB, free: 5.262 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.5091/0.6625, allocations: 185.7 MB / 0.7643 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.05105/0.7136, allocations: 44.86 MB / 0.8081 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004819/0.7185, allocations: 162.9 kB / 0.8082 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00574/0.7242, allocations: 2.042 MB / 0.8102 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.7361, allocations: 4.105 MB / 0.8142 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01841/0.7545, allocations: 7.219 MB / 0.8213 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006121/0.7606, allocations: 4.682 MB / 0.8258 GB, free: 15.21 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.762, allocations: 0.9572 MB / 0.8268 GB, free: 14.2 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02449/0.7865, allocations: 11.51 MB / 0.838 GB, free: 2.523 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.7889, allocations: 1.769 MB / 0.8397 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004854/0.7894, allocations: 248 kB / 0.84 GB, free: 0.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4175/1.207, allocations: 10.03 MB / 0.8498 GB, free: 26.15 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/1.208, allocations: 0.6135 MB / 0.8504 GB, free: 26.15 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002557/1.211, allocations: 1.662 MB / 0.852 GB, free: 26.15 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03201/1.243, allocations: 9.41 MB / 0.8612 GB, free: 25.9 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/1.243, allocations: 5.125 kB / 0.8612 GB, free: 25.9 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.803e-06/1.243, allocations: 0 / 0.8612 GB, free: 25.9 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001306/1.243, allocations: 0 / 0.8612 GB, free: 25.9 MB / 0.67 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.02015/1.263, allocations: 5.024 MB / 0.8661 GB, free: 23.86 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/1.263, allocations: 8.844 kB / 0.8661 GB, free: 23.86 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/1.266, allocations: 0.64 MB / 0.8667 GB, free: 23.66 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005029/1.271, allocations: 2.235 MB / 0.8689 GB, free: 23.04 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/1.272, allocations: 180.2 kB / 0.8691 GB, free: 23.03 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/1.272, allocations: 246.2 kB / 0.8693 GB, free: 23.02 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005752/1.278, allocations: 2.849 MB / 0.8721 GB, free: 22.64 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.872e-05/1.278, allocations: 6.25 kB / 0.8721 GB, free: 22.64 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/1.278, allocations: 99.25 kB / 0.8722 GB, free: 22.64 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/1.278, allocations: 61.44 kB / 0.8723 GB, free: 22.64 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005118/1.283, allocations: 2.372 MB / 0.8746 GB, free: 22.63 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/1.298, allocations: 13.83 MB / 0.8881 GB, free: 14.16 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005427/1.303, allocations: 2.164 MB / 0.8902 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/1.305, allocations: 1.055 MB / 0.8912 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0888/1.394, allocations: 47.8 MB / 0.9379 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.127e-05/1.394, allocations: 66.39 kB / 0.938 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=208): time 4.89e-06/1.394, allocations: 0 / 0.938 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208): time 0.01201/1.406, allocations: 4.39 MB / 0.9423 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.406, allocations: 207.6 kB / 0.9425 GB, free: 7.086 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003982/1.41, allocations: 2.045 MB / 0.9445 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/1.41, allocations: 67.14 kB / 0.9445 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/1.411, allocations: 1.277 MB / 0.9458 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008277/1.412, allocations: 0.7041 MB / 0.9465 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006666/1.413, allocations: 343.1 kB / 0.9468 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.413, allocations: 305.1 kB / 0.9471 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/1.414, allocations: 0.662 MB / 0.9477 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/1.416, allocations: 0.9324 MB / 0.9486 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/1.419, allocations: 1.735 MB / 0.9503 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/1.419, allocations: 0 / 0.9503 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004948/1.424, allocations: 2.382 MB / 0.9526 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/1.424, allocations: 11.38 kB / 0.9527 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/1.424, allocations: 8 kB / 0.9527 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00092/1.425, allocations: 299.6 kB / 0.953 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.426, allocations: 397 kB / 0.9533 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007871/1.434, allocations: 9.621 MB / 0.9627 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/1.436, allocations: 186.2 kB / 0.9629 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/1.437, allocations: 87.66 kB / 0.963 GB, free: 5.566 MB / 0.7169 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.00148/1.438, allocations: 452.8 kB / 0.9634 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.439, allocations: 280.4 kB / 0.9637 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009314/1.449, allocations: 6.471 MB / 0.97 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.87e-05/1.449, allocations: 77.52 kB / 0.9701 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.22e-05/1.449, allocations: 8 kB / 0.9701 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.842e-05/1.449, allocations: 11.95 kB / 0.9701 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/1.465, allocations: 10.22 MB / 0.9801 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/1.465, allocations: 0 / 0.9801 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.467, allocations: 335.5 kB / 0.9804 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/1.468, allocations: 307.7 kB / 0.9807 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/1.468, allocations: 62.09 kB / 0.9808 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008305/1.476, allocations: 9.636 MB / 0.9902 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.476, allocations: 4 kB / 0.9902 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009779/1.486, allocations: 5.761 MB / 0.9958 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/1.488, allocations: 478.5 kB / 0.9963 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/1.489, allocations: 88.56 kB / 0.9963 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.491, allocations: 65.2 kB / 0.9964 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/1.491, allocations: 170.2 kB / 0.9966 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.491, allocations: 76.02 kB / 0.9966 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003036/1.494, allocations: 1.644 MB / 0.9982 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.112e-06/1.494, allocations: 4 kB / 0.9982 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00838/1.503, allocations: 1.779 MB / 1 GB, free: 8.766 MB / 0.7481 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.008826/1.512, allocations: 1.797 MB / 1.002 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006209/1.518, allocations: 3.116 MB / 1.005 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.518, allocations: 4 kB / 1.005 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004165/1.522, allocations: 2.49 MB / 1.007 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005951/1.528, allocations: 0.9522 MB / 1.008 GB, free: 0.8672 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.544, allocations: 7.239 MB / 1.015 GB, free: 9.594 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003434/1.548, allocations: 2.111 MB / 1.017 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002808/1.551, allocations: 0.9598 MB / 1.018 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.552, allocations: 227.4 kB / 1.018 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of SimCode: time 1.934e-06/1.552, allocations: 0 / 1.018 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of Templates: time 0.1343/1.686, allocations: 80.02 MB / 1.097 GB, free: 7.016 MB / 0.8419 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