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.001159/0.001159, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001132/0.001132, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.306/1.306, allocations: 222.9 MB / 240.6 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6376/0.6376, allocations: 91.19 MB / 381.9 MB, free: 9.535 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 82.03 kB / 460.5 MB, free: 23.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.114, allocations: 67.69 MB / 0.5158 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.3807/0.4948, allocations: 186.2 MB / 0.6976 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0456/0.5404, allocations: 45.02 MB / 0.7416 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/0.5444, allocations: 178.8 kB / 0.7417 GB, free: 8.648 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00536/0.5498, allocations: 1.83 MB / 0.7435 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.5606, allocations: 3.729 MB / 0.7472 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01739/0.578, allocations: 6.445 MB / 0.7535 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006416/0.5845, allocations: 4.652 MB / 0.758 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.586, allocations: 0.9601 MB / 0.7589 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0199/0.606, allocations: 11.47 MB / 0.7701 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.6085, allocations: 1.777 MB / 0.7719 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007518/0.6092, allocations: 244 kB / 0.7721 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01897/0.6282, allocations: 9.959 MB / 0.7818 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000916/0.6292, allocations: 0.6183 MB / 0.7824 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00207/0.6312, allocations: 1.67 MB / 0.7841 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.6422, allocations: 6.584 MB / 0.7905 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6422, allocations: 0 / 0.7905 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.837e-06/0.6422, allocations: 0 / 0.7905 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.363e-05/0.6423, allocations: 3.938 kB / 0.7905 GB, free: 6.406 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.01229/0.6546, allocations: 5.029 MB / 0.7954 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.6546, allocations: 8.031 kB / 0.7954 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.6573, allocations: 0.6357 MB / 0.796 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003705/0.6611, allocations: 1.996 MB / 0.798 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.6612, allocations: 176.8 kB / 0.7982 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004226/0.6617, allocations: 247.8 kB / 0.7984 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006202/0.6679, allocations: 2.855 MB / 0.8012 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.622e-05/0.668, allocations: 3.938 kB / 0.8012 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.6682, allocations: 100 kB / 0.8013 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.6683, allocations: 63.94 kB / 0.8013 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005566/0.6738, allocations: 2.369 MB / 0.8037 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/0.6902, allocations: 13.89 MB / 0.8172 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/0.6952, allocations: 2.155 MB / 0.8193 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.697, allocations: 1.062 MB / 0.8204 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3042/1.001, allocations: 47.61 MB / 0.8668 GB, free: 187.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/1.001, allocations: 60.73 kB / 0.8669 GB, free: 187.6 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=208): time 4.458e-06/1.001, allocations: 3.312 kB / 0.8669 GB, free: 187.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=208): time 0.01067/1.012, allocations: 4.398 MB / 0.8712 GB, free: 186.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/1.012, allocations: 203.7 kB / 0.8714 GB, free: 186.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/1.015, allocations: 2.048 MB / 0.8734 GB, free: 186.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002686/1.015, allocations: 58.36 kB / 0.8735 GB, free: 186.4 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008022/1.016, allocations: 1.283 MB / 0.8747 GB, free: 186.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006329/1.016, allocations: 0.703 MB / 0.8754 GB, free: 185.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006475/1.017, allocations: 335.6 kB / 0.8757 GB, free: 185.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 3.831e-05/1.017, allocations: 312.2 kB / 0.876 GB, free: 185.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/1.018, allocations: 0.6545 MB / 0.8767 GB, free: 185.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/1.02, allocations: 0.9349 MB / 0.8776 GB, free: 185.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/1.022, allocations: 1.737 MB / 0.8793 GB, free: 184.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/1.022, allocations: 3.875 kB / 0.8793 GB, free: 184.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004198/1.027, allocations: 2.379 MB / 0.8816 GB, free: 183 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/1.027, allocations: 9.031 kB / 0.8816 GB, free: 183 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.027, allocations: 6.312 kB / 0.8816 GB, free: 183 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008651/1.028, allocations: 310.7 kB / 0.8819 GB, free: 182.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.029, allocations: 385.6 kB / 0.8823 GB, free: 182.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005571/1.035, allocations: 9.626 MB / 0.8917 GB, free: 173.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.036, allocations: 227.1 kB / 0.8919 GB, free: 173.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/1.037, allocations: 84.03 kB / 0.892 GB, free: 173.2 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.001067/1.038, allocations: 450 kB / 0.8924 GB, free: 172.9 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007201/1.039, allocations: 289.6 kB / 0.8927 GB, free: 172.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007285/1.046, allocations: 6.494 MB / 0.899 GB, free: 169 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.321e-05/1.046, allocations: 74.08 kB / 0.8991 GB, free: 168.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.993e-05/1.046, allocations: 6.188 kB / 0.8991 GB, free: 168.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/1.046, allocations: 15.64 kB / 0.8991 GB, free: 168.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/1.057, allocations: 10.21 MB / 0.9091 GB, free: 158.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/1.057, allocations: 4 kB / 0.9091 GB, free: 158.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/1.058, allocations: 334.6 kB / 0.9094 GB, free: 158.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007826/1.059, allocations: 315 kB / 0.9097 GB, free: 158.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/1.059, allocations: 63.97 kB / 0.9098 GB, free: 158.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005199/1.065, allocations: 9.63 MB / 0.9192 GB, free: 147.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.065, allocations: 3.938 kB / 0.9192 GB, free: 147.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0074/1.072, allocations: 5.759 MB / 0.9248 GB, free: 142 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008099/1.073, allocations: 475.3 kB / 0.9252 GB, free: 141.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005805/1.073, allocations: 87.38 kB / 0.9253 GB, free: 141.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/1.075, allocations: 128.6 kB / 0.9254 GB, free: 141.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003971/1.076, allocations: 187.1 kB / 0.9256 GB, free: 141.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/1.076, allocations: 67.97 kB / 0.9257 GB, free: 141 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002094/1.078, allocations: 1.646 MB / 0.9273 GB, free: 139.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/1.078, allocations: 3.188 kB / 0.9273 GB, free: 139.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00475/1.083, allocations: 1.775 MB / 0.929 GB, free: 137.7 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.005197/1.088, allocations: 1.791 MB / 0.9308 GB, free: 136.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005636/1.094, allocations: 3.194 MB / 0.9339 GB, free: 133.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.094, allocations: 4 kB / 0.9339 GB, free: 133.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003025/1.097, allocations: 2.496 MB / 0.9363 GB, free: 130.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005027/1.102, allocations: 0.9598 MB / 0.9373 GB, free: 129.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/1.114, allocations: 8.978 MB / 0.9461 GB, free: 120.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.115, allocations: 2.115 MB / 0.9481 GB, free: 118.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008435/1.116, allocations: 239.4 kB / 0.9483 GB, free: 118.2 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/1.116, allocations: 2.625 kB / 0.9483 GB, free: 118.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.3182/1.434, allocations: 151.4 MB / 1.096 GB, free: 208.6 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