Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004663/0.004663, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001094/0.001094, allocations: 194.4 kB / 16.79 MB, free: 5.809 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.315/1.315, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6631/0.6631, allocations: 89.51 MB / 380.1 MB, free: 11.22 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 78.31 kB / 458.2 MB, free: 23.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1113, allocations: 67.31 MB / 0.5132 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.3722/0.4835, allocations: 143.3 MB / 0.6532 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004049/0.4876, allocations: 3.364 MB / 0.6565 GB, free: 7.656 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.4881, allocations: 8.969 kB / 0.6565 GB, free: 7.652 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006802/0.4887, allocations: 172 kB / 0.6566 GB, free: 7.516 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009596/0.4898, allocations: 447.8 kB / 0.6571 GB, free: 7.164 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.4906, allocations: 347.4 kB / 0.6574 GB, free: 6.906 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007144/0.4913, allocations: 0.8802 MB / 0.6582 GB, free: 6.418 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.4915, allocations: 99.19 kB / 0.6583 GB, free: 6.367 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.492, allocations: 304.8 kB / 0.6586 GB, free: 6.195 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.4924, allocations: 344.5 kB / 0.659 GB, free: 6 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.4925, allocations: 24.03 kB / 0.659 GB, free: 6 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009945/0.4935, allocations: 0.5614 MB / 0.6595 GB, free: 5.734 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.4936, allocations: 75.8 kB / 0.6596 GB, free: 5.672 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.4938, allocations: 213.4 kB / 0.6598 GB, free: 5.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005232/0.4943, allocations: 485.8 kB / 0.6603 GB, free: 5.234 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4943, allocations: 3 kB / 0.6603 GB, free: 5.234 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.4943, allocations: 0 / 0.6603 GB, free: 5.234 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.4943, allocations: 0 / 0.6603 GB, free: 5.234 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001285/0.4956, allocations: 0.7735 MB / 0.661 GB, free: 4.559 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.4956, allocations: 7.188 kB / 0.661 GB, free: 4.559 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/0.4957, allocations: 43.47 kB / 0.6611 GB, free: 4.539 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.4961, allocations: 323.7 kB / 0.6614 GB, free: 4.227 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.4961, allocations: 30.22 kB / 0.6614 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.4962, allocations: 37.22 kB / 0.6615 GB, free: 4.199 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.4969, allocations: 418.3 kB / 0.6619 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4969, allocations: 2.906 kB / 0.6619 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.4969, allocations: 10.75 kB / 0.6619 GB, free: 3.918 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4969, allocations: 15.31 kB / 0.6619 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006587/0.4976, allocations: 373.8 kB / 0.6622 GB, free: 3.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.4996, allocations: 1.837 MB / 0.664 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007426/0.5003, allocations: 339.9 kB / 0.6644 GB, free: 1.801 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.5007, allocations: 176.4 kB / 0.6645 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001873/0.5025, allocations: 1.532 MB / 0.666 GB, free: 144 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005068/0.5031, allocations: 213.3 kB / 0.6662 GB, free: 15.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.696e-06/0.5031, allocations: 0 / 0.6662 GB, free: 15.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001364/0.5044, allocations: 0.5988 MB / 0.6668 GB, free: 15.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.5045, allocations: 56.66 kB / 0.6669 GB, free: 15.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.5048, allocations: 289.1 kB / 0.6671 GB, free: 15.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.5048, allocations: 31.52 kB / 0.6672 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.5049, allocations: 206.6 kB / 0.6674 GB, free: 15.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/0.505, allocations: 121.3 kB / 0.6675 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.5052, allocations: 76.19 kB / 0.6676 GB, free: 14.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5053, allocations: 349.6 kB / 0.6679 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.5056, allocations: 122.1 kB / 0.668 GB, free: 14.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.5059, allocations: 171.8 kB / 0.6682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.5065, allocations: 329.4 kB / 0.6685 GB, free: 14.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5065, allocations: 0 / 0.6685 GB, free: 14.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008571/0.5073, allocations: 466.1 kB / 0.6689 GB, free: 14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.5074, allocations: 31.36 kB / 0.669 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5074, allocations: 2.156 kB / 0.669 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.5076, allocations: 45.05 kB / 0.669 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.508, allocations: 81.52 kB / 0.6691 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.5092, allocations: 1.418 MB / 0.6705 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.5095, allocations: 42.86 kB / 0.6705 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.5095, allocations: 13.72 kB / 0.6705 GB, free: 12.46 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.5097, allocations: 155.6 kB / 0.6707 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.5097, allocations: 40.91 kB / 0.6707 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.5108, allocations: 0.51 MB / 0.6712 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.5108, allocations: 10.17 kB / 0.6712 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5108, allocations: 2.062 kB / 0.6712 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.5108, allocations: 15.86 kB / 0.6712 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.5123, allocations: 0.9392 MB / 0.6721 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5123, allocations: 3.938 kB / 0.6721 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.5125, allocations: 61.5 kB / 0.6722 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.5127, allocations: 52.56 kB / 0.6723 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.5127, allocations: 10.66 kB / 0.6723 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.5138, allocations: 1.425 MB / 0.6737 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5138, allocations: 0 / 0.6737 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.5149, allocations: 0.6389 MB / 0.6743 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.515, allocations: 114.8 kB / 0.6744 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.515, allocations: 10.53 kB / 0.6744 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.5153, allocations: 21.52 kB / 0.6744 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/0.5154, allocations: 31.59 kB / 0.6745 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.5154, allocations: 22.25 kB / 0.6745 GB, free: 9.156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.5156, allocations: 220.1 kB / 0.6747 GB, free: 9.012 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5157, allocations: 0 / 0.6747 GB, free: 9.012 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005251/0.5162, allocations: 164.3 kB / 0.6748 GB, free: 8.969 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003548/0.5165, allocations: 238.1 kB / 0.6751 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000881/0.5174, allocations: 0.5016 MB / 0.6756 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5174, allocations: 0 / 0.6756 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.5179, allocations: 292.7 kB / 0.6758 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007555/0.5187, allocations: 131.5 kB / 0.676 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.5202, allocations: 0.9333 MB / 0.6769 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.5205, allocations: 0.7943 MB / 0.6776 GB, free: 6.801 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.5206, allocations: 43.42 kB / 0.6777 GB, free: 6.785 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5207, allocations: 0 / 0.6777 GB, free: 6.785 MB / 494.1 MB Notification: Performance of Templates: time 0.01016/0.5308, allocations: 8.299 MB / 0.6858 GB, free: 1.594 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches