Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007406/0.007406, allocations: 106.2 kB / 15.79 MB, free: 5.949 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.001908/0.001908, allocations: 196.8 kB / 16.73 MB, free: 5.879 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.533/1.533, allocations: 225.6 MB / 243.1 MB, free: 3.719 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.627/0.627, allocations: 94.58 MB / 390.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 83.88 kB / 0.5336 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1301, allocations: 71.84 MB / 0.6037 GB, free: 7.789 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.2862/0.4163, allocations: 37.26 MB / 0.6401 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02022/0.4365, allocations: 14.93 MB / 0.6547 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.4382, allocations: 48.94 kB / 0.6548 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.4407, allocations: 0.9536 MB / 0.6557 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.4447, allocations: 1.335 MB / 0.657 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.448, allocations: 1.044 MB / 0.658 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003077/0.4511, allocations: 1.923 MB / 0.6599 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005189/0.4516, allocations: 219.3 kB / 0.6601 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.4537, allocations: 1.047 MB / 0.6611 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.4548, allocations: 0.7135 MB / 0.6618 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.455, allocations: 89.81 kB / 0.6619 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.4578, allocations: 0.873 MB / 0.6628 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003935/0.4582, allocations: 325 kB / 0.6631 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009089/0.4591, allocations: 0.7207 MB / 0.6638 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003992/0.4631, allocations: 2.118 MB / 0.6658 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4631, allocations: 0 / 0.6658 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4631, allocations: 0 / 0.6658 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.088e-05/0.4631, allocations: 0 / 0.6658 GB, free: 5.703 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003864/0.467, allocations: 2.097 MB / 0.6679 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.467, allocations: 13.17 kB / 0.6679 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.4674, allocations: 199.8 kB / 0.6681 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.4696, allocations: 1.219 MB / 0.6693 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.4696, allocations: 57.81 kB / 0.6693 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.4698, allocations: 82.59 kB / 0.6694 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.4713, allocations: 0.8516 MB / 0.6702 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.4713, allocations: 0 / 0.6702 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/0.4714, allocations: 35.62 kB / 0.6703 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.4714, allocations: 20.31 kB / 0.6703 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.4728, allocations: 0.7942 MB / 0.6711 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.4782, allocations: 3.61 MB / 0.6746 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.4793, allocations: 0.5694 MB / 0.6751 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.4798, allocations: 302.4 kB / 0.6754 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00413/0.484, allocations: 3.396 MB / 0.6788 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.484, allocations: 46.94 kB / 0.6788 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=73): time 2.635e-06/0.484, allocations: 0 / 0.6788 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73): time 0.002792/0.4868, allocations: 1.237 MB / 0.68 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.4869, allocations: 64.53 kB / 0.6801 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.4887, allocations: 1.333 MB / 0.6814 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/0.4888, allocations: 41.23 kB / 0.6814 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/0.4894, allocations: 0.6231 MB / 0.682 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.4897, allocations: 258.5 kB / 0.6823 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.4899, allocations: 153.3 kB / 0.6824 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4901, allocations: 327.8 kB / 0.6827 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.4905, allocations: 213.8 kB / 0.6829 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.4911, allocations: 311.2 kB / 0.6832 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009823/0.492, allocations: 0.5456 MB / 0.6838 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.492, allocations: 0 / 0.6838 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001702/0.4937, allocations: 0.8306 MB / 0.6846 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4938, allocations: 5.531 kB / 0.6846 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4938, allocations: 6.625 kB / 0.6846 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004837/0.4943, allocations: 108.9 kB / 0.6847 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.4948, allocations: 138.8 kB / 0.6848 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.4979, allocations: 3.21 MB / 0.688 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007331/0.4987, allocations: 69.38 kB / 0.688 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/0.4988, allocations: 23.25 kB / 0.688 GB, free: 3.605 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.000599/0.4994, allocations: 331.4 kB / 0.6884 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.4996, allocations: 161 kB / 0.6885 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.5019, allocations: 1.135 MB / 0.6896 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.502, allocations: 12 kB / 0.6896 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.502, allocations: 8.812 kB / 0.6896 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.502, allocations: 3.984 kB / 0.6896 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.5055, allocations: 1.995 MB / 0.6916 GB, free: 232 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5055, allocations: 4 kB / 0.6916 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/0.506, allocations: 127.8 kB / 0.6917 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004151/0.5064, allocations: 114.6 kB / 0.6918 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/0.5065, allocations: 23.98 kB / 0.6918 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003195/0.5097, allocations: 3.228 MB / 0.695 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5097, allocations: 0 / 0.695 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.5121, allocations: 1.225 MB / 0.6962 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/0.5128, allocations: 355.7 kB / 0.6965 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.5129, allocations: 24.02 kB / 0.6966 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.5134, allocations: 23.98 kB / 0.6966 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.5135, allocations: 56.58 kB / 0.6966 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.5136, allocations: 23.98 kB / 0.6967 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001411/0.515, allocations: 0.95 MB / 0.6976 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.515, allocations: 3.938 kB / 0.6976 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001342/0.5163, allocations: 423 kB / 0.698 GB, free: 9.332 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.002088/0.5184, allocations: 0.7531 MB / 0.6987 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.5202, allocations: 0.7917 MB / 0.6995 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5202, allocations: 0 / 0.6995 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009507/0.5211, allocations: 0.5521 MB / 0.7 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.523, allocations: 414 kB / 0.7004 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.5276, allocations: 2.474 MB / 0.7029 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009589/0.5286, allocations: 1.208 MB / 0.704 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008904/0.5295, allocations: 247.5 kB / 0.7043 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.5298, allocations: 123.4 kB / 0.7044 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.5298, allocations: 0 / 0.7044 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of Templates: time 0.04121/0.571, allocations: 21.63 MB / 0.7255 GB, free: 13.34 MB / 0.5606 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches