Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002169/0.002169, allocations: 169.3 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6591/0.6591, allocations: 118.6 MB / 378.6 MB, free: 1.5 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 483.6 MB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.537e-05, allocations: 2.312 kB / 483.6 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.0084/0.008425, allocations: 10.45 MB / 494.1 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005292/0.01372, allocations: 3.556 MB / 497.6 MB, free: 14.78 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.01482, allocations: 78.25 kB / 497.7 MB, free: 14.73 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.01602, allocations: 0.6033 MB / 498.3 MB, free: 14.53 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002391/0.01841, allocations: 1.09 MB / 499.4 MB, free: 13.85 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.0202, allocations: 0.7 MB / 0.4884 GB, free: 13.47 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002893/0.02309, allocations: 2.264 MB / 0.4906 GB, free: 12.3 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004538/0.02354, allocations: 216.4 kB / 0.4908 GB, free: 12.18 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.02605, allocations: 1.415 MB / 0.4922 GB, free: 11.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009108/0.02696, allocations: 0.5745 MB / 0.4927 GB, free: 11.04 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.02714, allocations: 92 kB / 0.4928 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007253/0.02786, allocations: 274.5 kB / 0.4931 GB, free: 10.7 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.02812, allocations: 347.7 kB / 0.4934 GB, free: 10.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005321/0.02865, allocations: 492.4 kB / 0.4939 GB, free: 9.961 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.03044, allocations: 1.442 MB / 0.4953 GB, free: 8.719 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.03045, allocations: 0.5625 kB / 0.4953 GB, free: 8.719 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.03045, allocations: 0 / 0.4953 GB, free: 8.719 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.03048, allocations: 0 / 0.4953 GB, free: 8.719 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002572/0.03305, allocations: 2.19 MB / 0.4974 GB, free: 6.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.03309, allocations: 8.031 kB / 0.4974 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004315/0.03352, allocations: 321.5 kB / 0.4977 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.03508, allocations: 1.294 MB / 0.499 GB, free: 5.211 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.03512, allocations: 62.38 kB / 0.4991 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/0.03522, allocations: 88.33 kB / 0.4991 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008626/0.03608, allocations: 0.7229 MB / 0.4998 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.03609, allocations: 0 / 0.4998 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.03614, allocations: 32 kB / 0.4999 GB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.03615, allocations: 20 kB / 0.4999 GB, free: 4.242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.0367, allocations: 403.6 kB / 0.5003 GB, free: 3.848 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002921/0.03962, allocations: 2.874 MB / 0.5031 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.04027, allocations: 0.5292 MB / 0.5036 GB, free: 372 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.04051, allocations: 205.3 kB / 0.5038 GB, free: 164 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.04179, allocations: 1.016 MB / 0.5048 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.04182, allocations: 42.05 kB / 0.5048 GB, free: 15.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 1.994e-06/0.04182, allocations: 4 kB / 0.5048 GB, free: 15.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=69): time 0.00126/0.04308, allocations: 0.8278 MB / 0.5056 GB, free: 14.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.04312, allocations: 60.06 kB / 0.5057 GB, free: 14.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.04426, allocations: 1.324 MB / 0.507 GB, free: 12.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.04429, allocations: 41.7 kB / 0.507 GB, free: 12.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/0.04471, allocations: 0.7501 MB / 0.5078 GB, free: 12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.04483, allocations: 249.8 kB / 0.508 GB, free: 11.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.04497, allocations: 160.2 kB / 0.5082 GB, free: 11.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.0451, allocations: 0.5003 MB / 0.5086 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.04527, allocations: 105.9 kB / 0.5087 GB, free: 10.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.04558, allocations: 474.8 kB / 0.5092 GB, free: 10.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.04604, allocations: 420.9 kB / 0.5096 GB, free: 9.934 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.04605, allocations: 64 / 0.5096 GB, free: 9.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008362/0.04688, allocations: 0.6828 MB / 0.5103 GB, free: 9.234 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.0469, allocations: 8 kB / 0.5103 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.04691, allocations: 4 kB / 0.5103 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/0.0473, allocations: 131.5 kB / 0.5104 GB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.0476, allocations: 135.8 kB / 0.5105 GB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.04943, allocations: 3.746 MB / 0.5142 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.04979, allocations: 59.61 kB / 0.5142 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.04983, allocations: 24 kB / 0.5143 GB, free: 4.883 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0002905/0.05012, allocations: 208.4 kB / 0.5145 GB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/0.05049, allocations: 194.9 kB / 0.5147 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.0518, allocations: 0.8939 MB / 0.5155 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.05181, allocations: 12 kB / 0.5155 GB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.05182, allocations: 4 kB / 0.5155 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.05182, allocations: 7.922 kB / 0.5156 GB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.05362, allocations: 1.586 MB / 0.5171 GB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.05363, allocations: 4 kB / 0.5171 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.05384, allocations: 99.83 kB / 0.5172 GB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/0.05415, allocations: 135.2 kB / 0.5173 GB, free: 1.621 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.05419, allocations: 23.98 kB / 0.5174 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.056, allocations: 3.731 MB / 0.521 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.056, allocations: 4 kB / 0.521 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.0574, allocations: 0.9382 MB / 0.5219 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.05774, allocations: 264.5 kB / 0.5222 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.52e-05/0.05783, allocations: 12.19 kB / 0.5222 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.05805, allocations: 20 kB / 0.5222 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.05814, allocations: 56.55 kB / 0.5223 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.05818, allocations: 31.92 kB / 0.5223 GB, free: 12.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007716/0.05895, allocations: 0.8086 MB / 0.5231 GB, free: 11.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05895, allocations: 0 / 0.5231 GB, free: 11.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006969/0.05964, allocations: 339.3 kB / 0.5234 GB, free: 11.12 MB / 458.7 MB 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 (59): * Single equations (assignments): 57 * 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.0009829/0.06063, allocations: 389.5 kB / 0.5238 GB, free: 10.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008462/0.06147, allocations: 0.7396 MB / 0.5245 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.06148, allocations: 4 kB / 0.5245 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.0619, allocations: 0.5705 MB / 0.525 GB, free: 9.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.06316, allocations: 0.5304 MB / 0.5256 GB, free: 8.973 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.06693, allocations: 2.429 MB / 0.5279 GB, free: 6.477 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.06715, allocations: 260.3 kB / 0.5282 GB, free: 6.191 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009226/0.06808, allocations: 233.7 kB / 0.5284 GB, free: 5.961 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.06828, allocations: 128.5 kB / 0.5285 GB, free: 5.836 MB / 458.7 MB Notification: Performance of SimCode: time 1.583e-06/0.06828, allocations: 0 / 0.5285 GB, free: 5.836 MB / 458.7 MB Notification: Performance of Templates: time 0.025/0.09328, allocations: 19.06 MB / 0.5472 GB, free: 3.242 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.307397862896323]