Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.0008997/0.0008997, allocations: 77.09 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.0009574/0.0009574, allocations: 169 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.981/0.981, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7186/0.7186, allocations: 118.7 MB / 379.7 MB, free: 1.336 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 484.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.532e-05, allocations: 3.688 kB / 484.8 MB, free: 8.113 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.009433/0.009459, allocations: 13.31 MB / 498.2 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00773/0.01719, allocations: 4.26 MB / 0.4906 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.01907, allocations: 77.78 kB / 0.4907 GB, free: 12.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.02053, allocations: 0.7201 MB / 0.4914 GB, free: 11.79 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.02424, allocations: 1.579 MB / 0.493 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.02635, allocations: 0.7963 MB / 0.4937 GB, free: 10.37 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004821/0.03117, allocations: 3.172 MB / 0.4968 GB, free: 7.961 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005419/0.03171, allocations: 283.8 kB / 0.4971 GB, free: 7.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.03592, allocations: 1.978 MB / 0.499 GB, free: 6.137 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.03728, allocations: 0.9516 MB / 0.5 GB, free: 5.258 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.03749, allocations: 132 kB / 0.5001 GB, free: 5.129 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008339/0.03832, allocations: 327.6 kB / 0.5004 GB, free: 4.809 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.03862, allocations: 446 kB / 0.5008 GB, free: 4.371 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006683/0.03929, allocations: 0.674 MB / 0.5015 GB, free: 3.695 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.04139, allocations: 1.813 MB / 0.5033 GB, free: 1.875 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.0414, allocations: 0 / 0.5033 GB, free: 1.875 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.0414, allocations: 4 kB / 0.5033 GB, free: 1.871 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.04142, allocations: 0 / 0.5033 GB, free: 1.871 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.002814/0.04423, allocations: 2.574 MB / 0.5058 GB, free: 15.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.04427, allocations: 8.031 kB / 0.5058 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005901/0.04486, allocations: 422.9 kB / 0.5062 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.04627, allocations: 1.296 MB / 0.5075 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.51e-05/0.04634, allocations: 106.9 kB / 0.5076 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.04646, allocations: 128.4 kB / 0.5077 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.04752, allocations: 1.008 MB / 0.5087 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.04754, allocations: 0 / 0.5087 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/0.04761, allocations: 56 kB / 0.5087 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.04763, allocations: 32 kB / 0.5087 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007965/0.04843, allocations: 0.5637 MB / 0.5093 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.05225, allocations: 3.473 MB / 0.5127 GB, free: 7.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.05342, allocations: 0.8526 MB / 0.5135 GB, free: 7.121 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.05373, allocations: 326.4 kB / 0.5138 GB, free: 6.797 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002162/0.05589, allocations: 1.802 MB / 0.5156 GB, free: 4.969 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/0.05646, allocations: 0.5506 MB / 0.5161 GB, free: 4.379 MB / 442.7 MB Notification: Performance of pre-optimization done (n=139): time 2.925e-06/0.05646, allocations: 0 / 0.5161 GB, free: 4.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=139): time 0.001622/0.05808, allocations: 1.254 MB / 0.5174 GB, free: 3.113 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.05813, allocations: 124.2 kB / 0.5175 GB, free: 2.969 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008593/0.05899, allocations: 1.215 MB / 0.5187 GB, free: 1.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.849e-05/0.05907, allocations: 57.64 kB / 0.5187 GB, free: 1.668 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.05957, allocations: 0.8084 MB / 0.5195 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005357/0.06011, allocations: 499.6 kB / 0.52 GB, free: 360 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.06035, allocations: 268.3 kB / 0.5202 GB, free: 80 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.06049, allocations: 0.5276 MB / 0.5208 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.06073, allocations: 204.2 kB / 0.5209 GB, free: 15.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.06116, allocations: 0.6245 MB / 0.5216 GB, free: 14.58 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.06182, allocations: 0.7019 MB / 0.5222 GB, free: 13.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.06183, allocations: 0 / 0.5222 GB, free: 13.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001108/0.06293, allocations: 1.073 MB / 0.5233 GB, free: 12.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.06297, allocations: 33.7 kB / 0.5233 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.06298, allocations: 7.984 kB / 0.5233 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/0.06326, allocations: 103.3 kB / 0.5234 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.06376, allocations: 267.7 kB / 0.5237 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.06571, allocations: 3.689 MB / 0.5273 GB, free: 8.371 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.06612, allocations: 127.1 kB / 0.5274 GB, free: 8.246 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/0.06618, allocations: 47.98 kB / 0.5275 GB, free: 8.199 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * 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.0002713/0.06645, allocations: 236.3 kB / 0.5277 GB, free: 7.957 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.06665, allocations: 226.8 kB / 0.5279 GB, free: 7.734 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.06832, allocations: 1.567 MB / 0.5294 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.06832, allocations: 12 kB / 0.5294 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.06833, allocations: 4 kB / 0.5294 GB, free: 6.152 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.06834, allocations: 11.91 kB / 0.5295 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.07056, allocations: 2.122 MB / 0.5315 GB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.07056, allocations: 0 / 0.5315 GB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/0.071, allocations: 239.7 kB / 0.5318 GB, free: 3.719 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.07122, allocations: 107.4 kB / 0.5319 GB, free: 3.605 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/0.07127, allocations: 43.97 kB / 0.5319 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.07306, allocations: 3.681 MB / 0.5355 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.07306, allocations: 7.938 kB / 0.5355 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.07443, allocations: 1.419 MB / 0.5369 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.0748, allocations: 360.2 kB / 0.5372 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.0749, allocations: 24 kB / 0.5373 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.0752, allocations: 43.97 kB / 0.5373 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.07533, allocations: 113 kB / 0.5374 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.07538, allocations: 43.97 kB / 0.5374 GB, free: 13.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004645/0.07585, allocations: 0.6924 MB / 0.5381 GB, free: 12.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.07585, allocations: 0 / 0.5381 GB, free: 12.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007901/0.07664, allocations: 0.4913 MB / 0.5386 GB, free: 12.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008195/0.07746, allocations: 424.3 kB / 0.539 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.07849, allocations: 1.132 MB / 0.5401 GB, free: 10.94 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0785, allocations: 192 / 0.5401 GB, free: 10.94 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.07958, allocations: 0.7783 MB / 0.5409 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.08099, allocations: 0.6367 MB / 0.5415 GB, free: 9.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.0846, allocations: 3.048 MB / 0.5445 GB, free: 6.391 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.08481, allocations: 308 kB / 0.5448 GB, free: 6.062 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006633/0.08547, allocations: 345.1 kB / 0.5451 GB, free: 5.738 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008386/0.08631, allocations: 0.576 MB / 0.5457 GB, free: 5.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.293e-06/0.08631, allocations: 0 / 0.5457 GB, free: 5.16 MB / 474.7 MB Notification: Performance of Templates: time 0.0332/0.1195, allocations: 28.89 MB / 0.5739 GB, free: 8.824 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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.458498975262046]