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.0009777/0.0009777, 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.001038/0.001038, allocations: 169 kB / 23.02 MB, free: 1.547 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.034/1.034, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.71/0.71, allocations: 118.6 MB / 378.6 MB, free: 1.516 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 2.264e-06/2.264e-06, allocations: 0 / 483.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.267e-05, allocations: 6.312 kB / 483.6 MB, free: 8.207 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.01074/0.01076, allocations: 12.84 MB / 496.4 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007321/0.01808, allocations: 3.916 MB / 0.4886 GB, free: 12.82 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.01915, allocations: 115.5 kB / 0.4887 GB, free: 12.75 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008901/0.02004, allocations: 367.9 kB / 0.4891 GB, free: 12.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.02246, allocations: 1.243 MB / 0.4903 GB, free: 11.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.02467, allocations: 0.808 MB / 0.4911 GB, free: 11.21 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003542/0.02821, allocations: 3.022 MB / 0.494 GB, free: 9.473 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005708/0.02878, allocations: 312.5 kB / 0.4943 GB, free: 9.168 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.0312, allocations: 1.6 MB / 0.4959 GB, free: 7.895 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.03226, allocations: 0.7823 MB / 0.4967 GB, free: 7.262 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.03249, allocations: 128 kB / 0.4968 GB, free: 7.137 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/0.03332, allocations: 300.8 kB / 0.4971 GB, free: 6.867 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.03361, allocations: 363.3 kB / 0.4974 GB, free: 6.562 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006975/0.03431, allocations: 0.6539 MB / 0.4981 GB, free: 5.957 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.03618, allocations: 1.774 MB / 0.4998 GB, free: 4.434 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.03618, allocations: 0.5625 kB / 0.4998 GB, free: 4.434 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03618, allocations: 0 / 0.4998 GB, free: 4.434 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.36e-05/0.03623, allocations: 0 / 0.4998 GB, free: 4.434 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.002818/0.03904, allocations: 2.507 MB / 0.5022 GB, free: 1.902 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.03908, allocations: 8.031 kB / 0.5023 GB, free: 1.895 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005477/0.03963, allocations: 395 kB / 0.5026 GB, free: 1.508 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.04117, allocations: 1.437 MB / 0.504 GB, free: 8 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.04124, allocations: 94.75 kB / 0.5041 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/0.04152, allocations: 128.3 kB / 0.5042 GB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.04263, allocations: 1.003 MB / 0.5052 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.04264, allocations: 4.188 kB / 0.5052 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.04271, allocations: 55.94 kB / 0.5053 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.04273, allocations: 28 kB / 0.5053 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007833/0.04351, allocations: 0.5634 MB / 0.5059 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.04705, allocations: 3.866 MB / 0.5096 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009022/0.04796, allocations: 0.7788 MB / 0.5104 GB, free: 9.285 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.04829, allocations: 286.2 kB / 0.5107 GB, free: 9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/0.05009, allocations: 1.337 MB / 0.512 GB, free: 7.641 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.05012, allocations: 58.31 kB / 0.512 GB, free: 7.574 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.235e-06/0.05012, allocations: 0 / 0.512 GB, free: 7.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.001647/0.05177, allocations: 1.111 MB / 0.5131 GB, free: 6.441 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.0518, allocations: 68.33 kB / 0.5132 GB, free: 6.363 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.05289, allocations: 1.329 MB / 0.5145 GB, free: 5.027 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.05294, allocations: 45.7 kB / 0.5145 GB, free: 4.977 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.05341, allocations: 0.9082 MB / 0.5154 GB, free: 4.059 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.0536, allocations: 349 kB / 0.5157 GB, free: 3.715 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.05377, allocations: 184.2 kB / 0.5159 GB, free: 3.527 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.0539, allocations: 0.5082 MB / 0.5164 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.05413, allocations: 153.9 kB / 0.5166 GB, free: 2.859 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.05458, allocations: 0.6801 MB / 0.5172 GB, free: 2.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/0.05521, allocations: 0.5954 MB / 0.5178 GB, free: 1.336 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.05521, allocations: 3.938 kB / 0.5178 GB, free: 1.332 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001211/0.05643, allocations: 0.9405 MB / 0.5187 GB, free: 380 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.05645, allocations: 8 kB / 0.5187 GB, free: 372 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.05645, allocations: 8.031 kB / 0.5187 GB, free: 364 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004924/0.05695, allocations: 186.9 kB / 0.5189 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.05731, allocations: 195.7 kB / 0.5191 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.05994, allocations: 5.608 MB / 0.5246 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.06034, allocations: 92.66 kB / 0.5247 GB, free: 9.906 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.06041, allocations: 39.98 kB / 0.5247 GB, free: 9.867 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.0002499/0.06066, allocations: 216.3 kB / 0.5249 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/0.061, allocations: 222.8 kB / 0.5251 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.0624, allocations: 1.314 MB / 0.5264 GB, free: 8.074 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.06241, allocations: 8 kB / 0.5264 GB, free: 8.066 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.06241, allocations: 11.94 kB / 0.5264 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.06242, allocations: 3.984 kB / 0.5264 GB, free: 8.051 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.06447, allocations: 1.961 MB / 0.5284 GB, free: 5.992 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.06448, allocations: 4.031 kB / 0.5284 GB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.06475, allocations: 147.7 kB / 0.5285 GB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/0.06518, allocations: 202.8 kB / 0.5287 GB, free: 5.633 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.06523, allocations: 27.98 kB / 0.5287 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/0.06784, allocations: 5.609 MB / 0.5342 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.06784, allocations: 0 / 0.5342 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.0691, allocations: 1.213 MB / 0.5354 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.06937, allocations: 250.5 kB / 0.5356 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.06947, allocations: 24 kB / 0.5356 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.06973, allocations: 24 kB / 0.5357 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.06985, allocations: 76.78 kB / 0.5357 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.06989, allocations: 35.92 kB / 0.5358 GB, free: 13.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007439/0.07063, allocations: 0.8429 MB / 0.5366 GB, free: 13.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07063, allocations: 4 kB / 0.5366 GB, free: 13.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007709/0.0714, allocations: 459 kB / 0.537 GB, free: 12.63 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.0002434/0.07165, allocations: 163 kB / 0.5372 GB, free: 12.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.07268, allocations: 1.087 MB / 0.5383 GB, free: 11.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.07268, allocations: 0 / 0.5383 GB, free: 11.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007515/0.07343, allocations: 0.8416 MB / 0.5391 GB, free: 10.42 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.07504, allocations: 0.7216 MB / 0.5398 GB, free: 9.719 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.07884, allocations: 2.88 MB / 0.5426 GB, free: 6.766 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.07912, allocations: 282.1 kB / 0.5429 GB, free: 6.469 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006219/0.07974, allocations: 271.9 kB / 0.5431 GB, free: 6.195 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.07995, allocations: 136.5 kB / 0.5433 GB, free: 6.062 MB / 474.7 MB Notification: Performance of SimCode: time 9.52e-07/0.07995, allocations: 0 / 0.5433 GB, free: 6.062 MB / 474.7 MB Notification: Performance of Templates: time 0.03266/0.1126, allocations: 27.66 MB / 0.5703 GB, free: 11.04 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.269283443689346]