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.002114/0.002114, allocations: 85.48 kB / 19.44 MB, free: 340 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.00259/0.00259, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.124/1.124, allocations: 118.6 MB / 378.2 MB, free: 1.5 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.553e-06/1.553e-06, allocations: 0 / 482.9 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.655e-05, allocations: 6.312 kB / 482.9 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.05544/0.05548, allocations: 47.5 MB / 0.518 GB, free: 1.441 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02005/0.07553, allocations: 13.03 MB / 0.5307 GB, free: 4.379 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.07749, allocations: 79.31 kB / 0.5308 GB, free: 4.301 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.08041, allocations: 1.099 MB / 0.5318 GB, free: 3.195 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006575/0.08698, allocations: 2.329 MB / 0.5341 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.09055, allocations: 1.246 MB / 0.5353 GB, free: 15.6 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.004557/0.0951, allocations: 3.177 MB / 0.5384 GB, free: 12.41 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00066/0.09576, allocations: 278.3 kB / 0.5387 GB, free: 12.11 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003404/0.09917, allocations: 1.964 MB / 0.5406 GB, free: 10.14 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.1006, allocations: 0.9346 MB / 0.5415 GB, free: 9.203 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.1009, allocations: 136 kB / 0.5416 GB, free: 9.07 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.1037, allocations: 1.041 MB / 0.5427 GB, free: 8.027 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004925/0.1042, allocations: 458 kB / 0.5431 GB, free: 7.578 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009254/0.1051, allocations: 0.6739 MB / 0.5438 GB, free: 6.902 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004916/0.11, allocations: 2.982 MB / 0.5467 GB, free: 3.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1101, allocations: 0 / 0.5467 GB, free: 3.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1101, allocations: 4 kB / 0.5467 GB, free: 3.906 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.401e-05/0.1101, allocations: 0 / 0.5467 GB, free: 3.906 MB / 474.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.005276/0.1154, allocations: 2.78 MB / 0.5494 GB, free: 1.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1154, allocations: 8.031 kB / 0.5494 GB, free: 1.062 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.1164, allocations: 430.9 kB / 0.5498 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.1191, allocations: 1.346 MB / 0.5511 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.1192, allocations: 98.97 kB / 0.5512 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.1194, allocations: 136.3 kB / 0.5513 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/0.122, allocations: 1.359 MB / 0.5527 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.1221, allocations: 0 / 0.5527 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.1222, allocations: 52 kB / 0.5527 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.1222, allocations: 32 kB / 0.5528 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.1247, allocations: 1.064 MB / 0.5538 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007938/0.1326, allocations: 4.176 MB / 0.5579 GB, free: 8.191 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.135, allocations: 1.165 MB / 0.559 GB, free: 7.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.1361, allocations: 0.5664 MB / 0.5596 GB, free: 6.449 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005032/0.1412, allocations: 2.052 MB / 0.5616 GB, free: 4.371 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/0.1428, allocations: 0.7813 MB / 0.5623 GB, free: 3.551 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.046e-06/0.1428, allocations: 0 / 0.5623 GB, free: 3.551 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.0046/0.1474, allocations: 1.863 MB / 0.5641 GB, free: 1.676 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.1475, allocations: 124.1 kB / 0.5643 GB, free: 1.527 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.1498, allocations: 1.517 MB / 0.5657 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.1499, allocations: 57.64 kB / 0.5658 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009581/0.1509, allocations: 0.8516 MB / 0.5666 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005979/0.1515, allocations: 0.5114 MB / 0.5671 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006811/0.1521, allocations: 288.4 kB / 0.5674 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003576/0.1525, allocations: 0.5472 MB / 0.5679 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009196/0.1534, allocations: 424.1 kB / 0.5683 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.1548, allocations: 0.8511 MB / 0.5692 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.1569, allocations: 1.14 MB / 0.5703 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.157, allocations: 4 kB / 0.5703 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003287/0.1602, allocations: 1.522 MB / 0.5718 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/0.1603, allocations: 35.89 kB / 0.5718 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1603, allocations: 4 kB / 0.5718 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/0.1609, allocations: 131.3 kB / 0.5719 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.1619, allocations: 271.6 kB / 0.5722 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.166, allocations: 4.031 MB / 0.5761 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.167, allocations: 116.5 kB / 0.5763 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.1671, allocations: 59.97 kB / 0.5763 GB, free: 4.641 MB / 0.4948 GB 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.0007156/0.1678, allocations: 340.2 kB / 0.5766 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/0.1683, allocations: 234.8 kB / 0.5769 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/0.1727, allocations: 2.12 MB / 0.5789 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.1728, allocations: 16 kB / 0.5789 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1728, allocations: 0 / 0.5789 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.1728, allocations: 7.969 kB / 0.579 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006759/0.1795, allocations: 3.209 MB / 0.5821 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1795, allocations: 0 / 0.5821 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.1805, allocations: 263.7 kB / 0.5823 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005028/0.181, allocations: 135.2 kB / 0.5825 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.1812, allocations: 43.97 kB / 0.5825 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003806/0.185, allocations: 4.027 MB / 0.5864 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.185, allocations: 4.062 kB / 0.5864 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004638/0.1896, allocations: 2.243 MB / 0.5886 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009228/0.1905, allocations: 392 kB / 0.589 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.1907, allocations: 32 kB / 0.589 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/0.1913, allocations: 48 kB / 0.5891 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.1916, allocations: 117.1 kB / 0.5892 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.1917, allocations: 55.97 kB / 0.5892 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001441/0.1932, allocations: 0.9114 MB / 0.5901 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.1932, allocations: 0 / 0.5901 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001674/0.1948, allocations: 0.6004 MB / 0.5907 GB, free: 5.527 MB / 0.5105 GB 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 (149): * Single equations (assignments): 145 * 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.003195/0.198, allocations: 0.8349 MB / 0.5915 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003097/0.2011, allocations: 1.593 MB / 0.5931 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2011, allocations: 0 / 0.5931 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/0.2028, allocations: 1.025 MB / 0.5941 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/0.206, allocations: 0.658 MB / 0.5947 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007223/0.2132, allocations: 3.264 MB / 0.5979 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009469/0.2141, allocations: 0.7679 MB / 0.5987 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001299/0.2154, allocations: 373.5 kB / 0.599 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.2159, allocations: 192.4 kB / 0.5992 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of SimCode: time 2.044e-06/0.2159, allocations: 3.938 kB / 0.5992 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.06146/0.2774, allocations: 31.83 MB / 0.6303 GB, free: 13.58 MB / 0.5573 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.434350081020966]