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.0009976/0.0009976, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0008889/0.0008889, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9802/0.9802, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.735/0.735, allocations: 118.7 MB / 378.9 MB, free: 1.371 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.694e-06/1.694e-06, allocations: 0 / 484.1 MB, free: 8.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.147e-05, allocations: 2.312 kB / 484.1 MB, free: 8.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.01184/0.01187, allocations: 10.31 MB / 494.4 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007717/0.01959, allocations: 3.54 MB / 497.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.02105, allocations: 81.5 kB / 498 MB, free: 14.65 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.02225, allocations: 0.6105 MB / 498.6 MB, free: 14.44 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.0246, allocations: 1.084 MB / 499.7 MB, free: 13.77 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.02626, allocations: 0.7028 MB / 0.4887 GB, free: 13.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.02894, allocations: 2.263 MB / 0.4909 GB, free: 12.22 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.02934, allocations: 215.6 kB / 0.4911 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.03212, allocations: 1.559 MB / 0.4926 GB, free: 11.38 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.03286, allocations: 0.5778 MB / 0.4932 GB, free: 10.92 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.033, allocations: 92 kB / 0.4932 GB, free: 10.83 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.03362, allocations: 270.2 kB / 0.4935 GB, free: 10.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.03386, allocations: 355.3 kB / 0.4938 GB, free: 10.29 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.03425, allocations: 492 kB / 0.4943 GB, free: 9.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.0357, allocations: 1.441 MB / 0.4957 GB, free: 8.598 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.0357, allocations: 0 / 0.4957 GB, free: 8.598 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0357, allocations: 0 / 0.4957 GB, free: 8.598 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.03572, allocations: 0 / 0.4957 GB, free: 8.598 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.002313/0.03803, allocations: 2.217 MB / 0.4979 GB, free: 6.531 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.03807, allocations: 8.641 kB / 0.4979 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003815/0.03845, allocations: 316.8 kB / 0.4982 GB, free: 6.219 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.0397, allocations: 1.24 MB / 0.4994 GB, free: 5.004 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.03974, allocations: 62.38 kB / 0.4995 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.18e-05/0.03982, allocations: 92.31 kB / 0.4995 GB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006356/0.04046, allocations: 0.6566 MB / 0.5002 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.04047, allocations: 4 kB / 0.5002 GB, free: 4.145 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.04051, allocations: 40 kB / 0.5002 GB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.04053, allocations: 20 kB / 0.5003 GB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.04087, allocations: 313.5 kB / 0.5006 GB, free: 3.781 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.0433, allocations: 2.65 MB / 0.5031 GB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.04389, allocations: 0.4991 MB / 0.5036 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.04406, allocations: 185.3 kB / 0.5038 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.04518, allocations: 1.036 MB / 0.5048 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.04521, allocations: 42.05 kB / 0.5049 GB, free: 15.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 1.684e-06/0.04521, allocations: 0 / 0.5049 GB, free: 15.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=69): time 0.001139/0.04635, allocations: 0.7575 MB / 0.5056 GB, free: 14.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.04637, allocations: 56.06 kB / 0.5056 GB, free: 14.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009179/0.04729, allocations: 1.304 MB / 0.5069 GB, free: 13.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.04732, allocations: 41.7 kB / 0.507 GB, free: 13.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/0.04772, allocations: 0.7772 MB / 0.5077 GB, free: 12.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.04784, allocations: 253.8 kB / 0.508 GB, free: 12.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.04797, allocations: 156.1 kB / 0.5081 GB, free: 11.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.04809, allocations: 0.5042 MB / 0.5086 GB, free: 11.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.04847, allocations: 81.92 kB / 0.5087 GB, free: 11.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.0487, allocations: 454.7 kB / 0.5091 GB, free: 10.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.04902, allocations: 376.7 kB / 0.5095 GB, free: 10.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.04902, allocations: 4 kB / 0.5095 GB, free: 10.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006182/0.04964, allocations: 0.6242 MB / 0.5101 GB, free: 9.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.04966, allocations: 8 kB / 0.5101 GB, free: 9.652 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.04967, allocations: 0 / 0.5101 GB, free: 9.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.05, allocations: 135.5 kB / 0.5102 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.05026, allocations: 131.9 kB / 0.5103 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.05196, allocations: 3.677 MB / 0.5139 GB, free: 5.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.05222, allocations: 69.56 kB / 0.514 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.05226, allocations: 27.98 kB / 0.514 GB, free: 5.387 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.0001935/0.05246, allocations: 192.4 kB / 0.5142 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.0526, allocations: 194.8 kB / 0.5144 GB, free: 4.996 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008291/0.05342, allocations: 0.8638 MB / 0.5152 GB, free: 4.086 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.05343, allocations: 4 kB / 0.5153 GB, free: 4.082 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.05343, allocations: 7.984 kB / 0.5153 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.05344, allocations: 3.984 kB / 0.5153 GB, free: 4.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.05501, allocations: 1.33 MB / 0.5166 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.05501, allocations: 0 / 0.5166 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.05521, allocations: 107.8 kB / 0.5167 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/0.05545, allocations: 127.4 kB / 0.5168 GB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.05548, allocations: 23.98 kB / 0.5168 GB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.05694, allocations: 3.673 MB / 0.5204 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.05694, allocations: 0 / 0.5204 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007549/0.0577, allocations: 0.8756 MB / 0.5212 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.05795, allocations: 264.5 kB / 0.5215 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.05802, allocations: 15.98 kB / 0.5215 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.05823, allocations: 23.94 kB / 0.5215 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.0583, allocations: 60.42 kB / 0.5216 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.05832, allocations: 19.98 kB / 0.5216 GB, free: 13.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005178/0.05884, allocations: 0.7575 MB / 0.5224 GB, free: 12.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05884, allocations: 0 / 0.5224 GB, free: 12.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008174/0.05966, allocations: 323.4 kB / 0.5227 GB, free: 12.15 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.0007903/0.06045, allocations: 393.6 kB / 0.523 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005862/0.06103, allocations: 0.6964 MB / 0.5237 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.06103, allocations: 0 / 0.5237 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.06137, allocations: 0.5635 MB / 0.5243 GB, free: 10.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.06252, allocations: 0.53 MB / 0.5248 GB, free: 10.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.06511, allocations: 2.411 MB / 0.5271 GB, free: 7.551 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.06528, allocations: 256.3 kB / 0.5274 GB, free: 7.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004364/0.06572, allocations: 233.7 kB / 0.5276 GB, free: 7.039 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006043/0.06632, allocations: 477.9 kB / 0.5281 GB, free: 6.57 MB / 458.7 MB Notification: Performance of SimCode: time 7.21e-07/0.06632, allocations: 0 / 0.5281 GB, free: 6.57 MB / 458.7 MB Notification: Performance of Templates: time 0.02371/0.09003, allocations: 20.77 MB / 0.5483 GB, free: 2.285 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.182801055721939]