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.001459/0.001459, allocations: 108 kB / 15.6 MB, free: 132 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.001672/0.001672, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.38/1.38, 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.668/0.668, allocations: 91.21 MB / 381.6 MB, free: 9.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 82.81 kB / 460.3 MB, free: 23.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1352, allocations: 67.68 MB / 0.5156 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.4137/0.5489, allocations: 185.6 MB / 0.6969 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.04671/0.5957, allocations: 44.87 MB / 0.7407 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/0.5989, allocations: 159 kB / 0.7409 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005195/0.6041, allocations: 2.038 MB / 0.7429 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.6146, allocations: 4.049 MB / 0.7468 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01712/0.6318, allocations: 7.194 MB / 0.7538 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006146/0.638, allocations: 4.641 MB / 0.7584 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.6395, allocations: 0.9494 MB / 0.7593 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02453/0.664, allocations: 11.45 MB / 0.7705 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.667, allocations: 1.765 MB / 0.7722 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009144/0.668, allocations: 244 kB / 0.7724 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02224/0.6902, allocations: 9.866 MB / 0.7821 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.6914, allocations: 0.6182 MB / 0.7827 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.6935, allocations: 1.67 MB / 0.7843 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02032/0.7138, allocations: 9.255 MB / 0.7933 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7139, allocations: 0 / 0.7933 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7139, allocations: 0 / 0.7933 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.676e-05/0.7139, allocations: 0 / 0.7933 GB, free: 2.883 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.01311/0.7271, allocations: 5.025 MB / 0.7983 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.7271, allocations: 12.03 kB / 0.7983 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.7295, allocations: 0.6396 MB / 0.7989 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/0.7328, allocations: 1.992 MB / 0.8008 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.733, allocations: 176.8 kB / 0.801 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/0.7333, allocations: 243.8 kB / 0.8012 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005719/0.739, allocations: 2.855 MB / 0.804 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.7391, allocations: 11.94 kB / 0.804 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.7393, allocations: 96 kB / 0.8041 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.7394, allocations: 63.94 kB / 0.8042 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005309/0.7447, allocations: 2.369 MB / 0.8065 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/0.7607, allocations: 13.92 MB / 0.8201 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005141/0.7659, allocations: 2.17 MB / 0.8222 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.7677, allocations: 1.057 MB / 0.8232 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3339/1.102, allocations: 47.61 MB / 0.8697 GB, free: 185.9 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/1.102, allocations: 54.06 kB / 0.8698 GB, free: 185.9 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=208): time 3.787e-06/1.102, allocations: 6.812 kB / 0.8698 GB, free: 185.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208): time 0.01073/1.112, allocations: 4.398 MB / 0.8741 GB, free: 185.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/1.113, allocations: 203.3 kB / 0.8743 GB, free: 185 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/1.115, allocations: 2.047 MB / 0.8763 GB, free: 184.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/1.115, allocations: 59.95 kB / 0.8763 GB, free: 184.7 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008154/1.116, allocations: 1.287 MB / 0.8776 GB, free: 184.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006519/1.117, allocations: 0.7023 MB / 0.8783 GB, free: 184.1 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004827/1.117, allocations: 337.7 kB / 0.8786 GB, free: 184 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 6.802e-05/1.117, allocations: 308.2 kB / 0.8789 GB, free: 183.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/1.119, allocations: 0.6539 MB / 0.8795 GB, free: 183.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/1.12, allocations: 0.9377 MB / 0.8805 GB, free: 183.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/1.123, allocations: 1.739 MB / 0.8822 GB, free: 182.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/1.123, allocations: 0 / 0.8822 GB, free: 182.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004325/1.127, allocations: 2.375 MB / 0.8845 GB, free: 181.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/1.127, allocations: 8.938 kB / 0.8845 GB, free: 181.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.127, allocations: 7.781 kB / 0.8845 GB, free: 181.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008275/1.128, allocations: 305 kB / 0.8848 GB, free: 181.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/1.129, allocations: 392.7 kB / 0.8852 GB, free: 181 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/1.135, allocations: 9.628 MB / 0.8946 GB, free: 171.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/1.137, allocations: 192.4 kB / 0.8947 GB, free: 171.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/1.137, allocations: 79.81 kB / 0.8948 GB, free: 171.4 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.0009287/1.138, allocations: 460.6 kB / 0.8953 GB, free: 171.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/1.139, allocations: 290.2 kB / 0.8955 GB, free: 171 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006941/1.146, allocations: 6.492 MB / 0.9019 GB, free: 165.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.911e-05/1.146, allocations: 75.89 kB / 0.9019 GB, free: 165.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.146, allocations: 12 kB / 0.902 GB, free: 165.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/1.146, allocations: 7.969 kB / 0.902 GB, free: 165.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/1.156, allocations: 10.21 MB / 0.9119 GB, free: 155.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/1.156, allocations: 0 / 0.9119 GB, free: 155.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.158, allocations: 334.5 kB / 0.9123 GB, free: 155 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007457/1.158, allocations: 314.9 kB / 0.9126 GB, free: 154.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/1.159, allocations: 63.97 kB / 0.9126 GB, free: 154.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005242/1.164, allocations: 9.636 MB / 0.922 GB, free: 144.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.164, allocations: 3.938 kB / 0.922 GB, free: 144.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006744/1.171, allocations: 5.754 MB / 0.9276 GB, free: 138.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007723/1.171, allocations: 483.3 kB / 0.9281 GB, free: 137.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003456/1.172, allocations: 89.34 kB / 0.9282 GB, free: 137.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.173, allocations: 64.81 kB / 0.9283 GB, free: 137.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/1.173, allocations: 171.4 kB / 0.9284 GB, free: 137.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.173, allocations: 75.81 kB / 0.9285 GB, free: 137.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001761/1.175, allocations: 1.646 MB / 0.9301 GB, free: 135.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.7e-07/1.175, allocations: 0 / 0.9301 GB, free: 135.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004884/1.18, allocations: 1.781 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.00522/1.185, allocations: 1.795 MB / 0.9336 GB, free: 132.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005412/1.191, allocations: 3.197 MB / 0.9367 GB, free: 129.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/1.191, allocations: 0 / 0.9367 GB, free: 129.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002718/1.193, allocations: 2.507 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.004557/1.198, allocations: 0.9517 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.01042/1.208, allocations: 7.325 MB / 0.9472 GB, free: 118.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.21, allocations: 2.118 MB / 0.9493 GB, free: 116.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001799/1.211, allocations: 0.9554 MB / 0.9502 GB, free: 115.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/1.212, allocations: 223.4 kB / 0.9505 GB, free: 115.4 MB / 0.6231 GB Notification: Performance of SimCode: time 9.52e-07/1.212, allocations: 2.844 kB / 0.9505 GB, free: 115.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.09543/1.307, allocations: 79.59 MB / 1.028 GB, free: 36.47 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