Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001152/0.001152, 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.00108/0.00108, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.6809/0.6809, 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.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_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_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 483.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.57e-05, allocations: 6.312 kB / 483.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.009504/0.00952, allocations: 13.48 MB / 497.1 MB, free: 15.13 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006131/0.01565, allocations: 4.281 MB / 0.4896 GB, free: 12.21 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009141/0.01656, allocations: 77.44 kB / 0.4897 GB, free: 12.17 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.01775, allocations: 0.7206 MB / 0.4904 GB, free: 11.92 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.02064, allocations: 1.579 MB / 0.492 GB, free: 10.93 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.02256, allocations: 0.7999 MB / 0.4927 GB, free: 10.49 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003883/0.02645, allocations: 3.186 MB / 0.4958 GB, free: 8 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000515/0.02696, allocations: 271.9 kB / 0.4961 GB, free: 7.73 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003356/0.03032, allocations: 1.982 MB / 0.498 GB, free: 6.184 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.03158, allocations: 0.94 MB / 0.499 GB, free: 5.355 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002473/0.03183, allocations: 136 kB / 0.4991 GB, free: 5.223 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007941/0.03263, allocations: 323.6 kB / 0.4994 GB, free: 4.906 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.03293, allocations: 454 kB / 0.4998 GB, free: 4.461 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006803/0.03361, allocations: 0.674 MB / 0.5005 GB, free: 3.785 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.0355, allocations: 1.809 MB / 0.5023 GB, free: 1.969 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.0355, allocations: 0 / 0.5023 GB, free: 1.969 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.0355, allocations: 0 / 0.5023 GB, free: 1.969 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.323e-05/0.03554, allocations: 0 / 0.5023 GB, free: 1.969 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.003287/0.03883, allocations: 2.551 MB / 0.5047 GB, free: 15.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.03887, allocations: 8.031 kB / 0.5048 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006717/0.03955, allocations: 426.9 kB / 0.5052 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.04114, allocations: 1.304 MB / 0.5064 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.601e-05/0.04121, allocations: 102.9 kB / 0.5065 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.04136, allocations: 132.4 kB / 0.5067 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.04271, allocations: 1.106 MB / 0.5077 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.04273, allocations: 0 / 0.5077 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.0428, allocations: 52 kB / 0.5078 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.04283, allocations: 32 kB / 0.5078 GB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.04392, allocations: 0.737 MB / 0.5085 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.04817, allocations: 3.693 MB / 0.5121 GB, free: 7.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.04939, allocations: 0.9385 MB / 0.5131 GB, free: 6.645 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/0.04986, allocations: 386.4 kB / 0.5134 GB, free: 6.262 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00235/0.05221, allocations: 1.802 MB / 0.5152 GB, free: 4.434 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006952/0.0529, allocations: 0.5938 MB / 0.5158 GB, free: 3.801 MB / 442.7 MB Notification: Performance of pre-optimization done (n=139): time 2.355e-06/0.05291, allocations: 0 / 0.5158 GB, free: 3.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=139): time 0.002081/0.05499, allocations: 1.414 MB / 0.5171 GB, free: 2.375 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.05506, allocations: 124.1 kB / 0.5173 GB, free: 2.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.05608, allocations: 1.228 MB / 0.5185 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/0.05614, allocations: 57.62 kB / 0.5185 GB, free: 0.918 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.05659, allocations: 0.793 MB / 0.5193 GB, free: 112 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.05686, allocations: 491.9 kB / 0.5198 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.05712, allocations: 264.4 kB / 0.52 GB, free: 15.35 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.05728, allocations: 0.5199 MB / 0.5205 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.05766, allocations: 264.2 kB / 0.5208 GB, free: 14.56 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.0582, allocations: 0.6714 MB / 0.5214 GB, free: 13.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009354/0.05914, allocations: 0.8075 MB / 0.5222 GB, free: 12.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.05914, allocations: 0 / 0.5222 GB, free: 12.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001381/0.06053, allocations: 1.186 MB / 0.5234 GB, free: 11.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.06056, allocations: 44.3 kB / 0.5234 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.06057, allocations: 4 kB / 0.5234 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003005/0.06087, allocations: 103.3 kB / 0.5235 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.0614, allocations: 271.6 kB / 0.5238 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.06317, allocations: 3.75 MB / 0.5274 GB, free: 7.246 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.0636, allocations: 122.5 kB / 0.5276 GB, free: 7.129 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.06367, allocations: 63.97 kB / 0.5276 GB, free: 7.066 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.0002727/0.06394, allocations: 232.3 kB / 0.5278 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.06414, allocations: 230.8 kB / 0.5281 GB, free: 6.602 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.06605, allocations: 1.64 MB / 0.5297 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.06606, allocations: 12 kB / 0.5297 GB, free: 4.941 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.06606, allocations: 4 kB / 0.5297 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.06607, allocations: 11.91 kB / 0.5297 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.06905, allocations: 2.452 MB / 0.5321 GB, free: 2.398 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.06905, allocations: 0 / 0.5321 GB, free: 2.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.06959, allocations: 243.6 kB / 0.5323 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003203/0.06991, allocations: 111.4 kB / 0.5324 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.562e-05/0.07, allocations: 43.97 kB / 0.5325 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.07207, allocations: 3.746 MB / 0.5361 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.07208, allocations: 3.938 kB / 0.5361 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.07405, allocations: 1.575 MB / 0.5377 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005305/0.07459, allocations: 364.2 kB / 0.538 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.07471, allocations: 28 kB / 0.538 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.07504, allocations: 31.98 kB / 0.5381 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.07522, allocations: 109.1 kB / 0.5382 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.07528, allocations: 55.97 kB / 0.5382 GB, free: 11.81 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007169/0.076, allocations: 0.7473 MB / 0.539 GB, free: 11.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.076, allocations: 4.031 kB / 0.539 GB, free: 11.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009501/0.07695, allocations: 499.1 kB / 0.5394 GB, free: 10.57 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.0009489/0.0779, allocations: 419 kB / 0.5398 GB, free: 10.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.07946, allocations: 1.238 MB / 0.541 GB, free: 8.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.07946, allocations: 4.125 kB / 0.5411 GB, free: 8.977 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.08022, allocations: 0.8174 MB / 0.5418 GB, free: 8.121 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.08173, allocations: 0.6476 MB / 0.5425 GB, free: 7.488 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.08616, allocations: 3.06 MB / 0.5455 GB, free: 4.367 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.08638, allocations: 316 kB / 0.5458 GB, free: 4.031 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008445/0.08723, allocations: 349 kB / 0.5461 GB, free: 3.703 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.08753, allocations: 180.4 kB / 0.5463 GB, free: 3.527 MB / 474.7 MB Notification: Performance of SimCode: time 1.723e-06/0.08754, allocations: 0 / 0.5463 GB, free: 3.527 MB / 474.7 MB Notification: Performance of Templates: time 0.03476/0.1223, allocations: 27.94 MB / 0.5736 GB, free: 8.105 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.4199612531811]