Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.001386/0.001386, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001718/0.001718, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9951/0.9951, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7074/0.7074, allocations: 118.6 MB / 379.7 MB, free: 1.375 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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 484.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.601e-05, allocations: 2.312 kB / 484.9 MB, free: 8.113 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.01306/0.01308, allocations: 12.67 MB / 497.5 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0083/0.02138, allocations: 3.903 MB / 0.4897 GB, free: 12.72 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.02302, allocations: 112.2 kB / 0.4898 GB, free: 12.66 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007354/0.02375, allocations: 363.2 kB / 0.4901 GB, free: 12.44 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.02615, allocations: 1.254 MB / 0.4913 GB, free: 11.56 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.02808, allocations: 0.8033 MB / 0.4921 GB, free: 11.12 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003513/0.0316, allocations: 3.021 MB / 0.4951 GB, free: 9.445 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.03213, allocations: 312.1 kB / 0.4954 GB, free: 9.141 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.03468, allocations: 1.603 MB / 0.4969 GB, free: 7.863 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009356/0.03561, allocations: 0.7788 MB / 0.4977 GB, free: 7.234 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.03579, allocations: 131.9 kB / 0.4978 GB, free: 7.105 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.03646, allocations: 297 kB / 0.4981 GB, free: 6.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.03672, allocations: 367.4 kB / 0.4985 GB, free: 6.531 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006234/0.03734, allocations: 0.6496 MB / 0.4991 GB, free: 5.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.03934, allocations: 1.768 MB / 0.5008 GB, free: 4.348 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.03935, allocations: 0 / 0.5008 GB, free: 4.348 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.03935, allocations: 0 / 0.5008 GB, free: 4.348 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.03937, allocations: 0 / 0.5008 GB, free: 4.348 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002549/0.04192, allocations: 2.539 MB / 0.5033 GB, free: 1.758 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.04195, allocations: 8.031 kB / 0.5033 GB, free: 1.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004914/0.04244, allocations: 399 kB / 0.5037 GB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.044, allocations: 1.413 MB / 0.5051 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.04406, allocations: 94.7 kB / 0.5052 GB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.04417, allocations: 128.2 kB / 0.5053 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008967/0.04507, allocations: 0.9169 MB / 0.5062 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.04509, allocations: 192 / 0.5062 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.04515, allocations: 55.94 kB / 0.5062 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.04517, allocations: 28 kB / 0.5063 GB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.04568, allocations: 459.2 kB / 0.5067 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.04914, allocations: 3.656 MB / 0.5103 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.04993, allocations: 0.7124 MB / 0.511 GB, free: 9.648 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.05018, allocations: 250.1 kB / 0.5112 GB, free: 9.398 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001755/0.05194, allocations: 1.341 MB / 0.5125 GB, free: 8.035 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.05197, allocations: 46.39 kB / 0.5126 GB, free: 7.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.284e-06/0.05197, allocations: 0 / 0.5126 GB, free: 7.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.00144/0.05341, allocations: 1.025 MB / 0.5136 GB, free: 6.934 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.05344, allocations: 64.41 kB / 0.5136 GB, free: 6.859 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009067/0.05435, allocations: 1.297 MB / 0.5149 GB, free: 5.555 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.05439, allocations: 45.7 kB / 0.5149 GB, free: 5.504 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/0.05489, allocations: 0.9275 MB / 0.5158 GB, free: 4.566 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.05506, allocations: 356.9 kB / 0.5162 GB, free: 4.215 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.05522, allocations: 184.2 kB / 0.5164 GB, free: 4.027 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.05536, allocations: 0.5159 MB / 0.5169 GB, free: 3.504 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.0555, allocations: 113.9 kB / 0.517 GB, free: 3.391 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.05586, allocations: 0.6487 MB / 0.5176 GB, free: 2.574 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.05633, allocations: 0.5289 MB / 0.5181 GB, free: 1.965 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.05634, allocations: 8 kB / 0.5181 GB, free: 1.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0009178/0.05726, allocations: 0.862 MB / 0.519 GB, free: 1.074 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.05728, allocations: 8 kB / 0.519 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.05728, allocations: 4 kB / 0.519 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/0.05773, allocations: 183.2 kB / 0.5192 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.0581, allocations: 191.7 kB / 0.5193 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.0606, allocations: 5.516 MB / 0.5247 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.06107, allocations: 91.69 kB / 0.5248 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.06112, allocations: 35.98 kB / 0.5248 GB, free: 10.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002943/0.06141, allocations: 220.3 kB / 0.5251 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.06159, allocations: 226.7 kB / 0.5253 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.06285, allocations: 1.279 MB / 0.5265 GB, free: 8.934 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.06285, allocations: 12 kB / 0.5265 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.06286, allocations: 0 / 0.5265 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.06286, allocations: 3.984 kB / 0.5265 GB, free: 8.918 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.06469, allocations: 1.704 MB / 0.5282 GB, free: 7.129 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.0647, allocations: 0 / 0.5282 GB, free: 7.129 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.06496, allocations: 135.8 kB / 0.5283 GB, free: 6.996 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003969/0.06536, allocations: 199 kB / 0.5285 GB, free: 6.789 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.0654, allocations: 31.97 kB / 0.5285 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/0.06773, allocations: 5.513 MB / 0.5339 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.06773, allocations: 3.938 kB / 0.5339 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.06885, allocations: 1.115 MB / 0.535 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.06918, allocations: 254.4 kB / 0.5353 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.06929, allocations: 28 kB / 0.5353 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.06957, allocations: 24.03 kB / 0.5353 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.06968, allocations: 84.72 kB / 0.5354 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.06972, allocations: 27.98 kB / 0.5354 GB, free: 15.31 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000609/0.07033, allocations: 0.7801 MB / 0.5362 GB, free: 14.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07033, allocations: 0 / 0.5362 GB, free: 14.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008878/0.07121, allocations: 463 kB / 0.5366 GB, free: 14.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.000222/0.07144, allocations: 159 kB / 0.5368 GB, free: 13.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008999/0.07234, allocations: 1.025 MB / 0.5378 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.07234, allocations: 192 / 0.5378 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005155/0.07285, allocations: 0.8131 MB / 0.5386 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.07451, allocations: 0.7156 MB / 0.5393 GB, free: 11.24 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.07809, allocations: 2.862 MB / 0.5421 GB, free: 8.301 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.07829, allocations: 290 kB / 0.5423 GB, free: 7.996 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006928/0.07899, allocations: 271.9 kB / 0.5426 GB, free: 7.723 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008578/0.07984, allocations: 0.5876 MB / 0.5432 GB, free: 7.133 MB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/0.07984, allocations: 0 / 0.5432 GB, free: 7.133 MB / 474.7 MB Notification: Performance of Templates: time 0.03488/0.1147, allocations: 28.41 MB / 0.5709 GB, free: 11.37 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_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.238702767994255]