Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001937/0.001937, allocations: 81.5 kB / 19.44 MB, free: 344 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.00205/0.00205, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.602/1.602, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.134/1.134, allocations: 118.6 MB / 378.2 MB, free: 1.492 MB / 346.7 MB " [Timeout remaining time 178] 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.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 482.9 MB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.279e-05/3.478e-05, allocations: 3.406 kB / 482.9 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.05192/0.05196, allocations: 40.75 MB / 0.5114 GB, free: 8.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0252/0.07716, allocations: 13.88 MB / 0.5249 GB, free: 10.3 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.07962, allocations: 83.19 kB / 0.525 GB, free: 10.21 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.08268, allocations: 0.9127 MB / 0.5259 GB, free: 9.297 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005896/0.08858, allocations: 1.513 MB / 0.5274 GB, free: 7.773 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004244/0.09282, allocations: 1.117 MB / 0.5285 GB, free: 6.652 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00464/0.09746, allocations: 2.251 MB / 0.5307 GB, free: 4.387 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006461/0.09811, allocations: 215.9 kB / 0.5309 GB, free: 4.156 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003944/0.1021, allocations: 1.465 MB / 0.5323 GB, free: 2.688 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.1033, allocations: 0.5684 MB / 0.5328 GB, free: 2.117 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.1035, allocations: 100 kB / 0.5329 GB, free: 2.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.1064, allocations: 0.8032 MB / 0.5337 GB, free: 1.215 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004611/0.1069, allocations: 346.4 kB / 0.5341 GB, free: 0.875 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009236/0.1078, allocations: 498.5 kB / 0.5345 GB, free: 396 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00607/0.1139, allocations: 2.227 MB / 0.5367 GB, free: 14.15 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.1139, allocations: 0 / 0.5367 GB, free: 14.15 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1139, allocations: 0 / 0.5367 GB, free: 14.15 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.969e-05/0.114, allocations: 0 / 0.5367 GB, free: 14.15 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.005532/0.1195, allocations: 2.381 MB / 0.539 GB, free: 11.72 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.1195, allocations: 8.031 kB / 0.539 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008672/0.1204, allocations: 315.4 kB / 0.5393 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.1232, allocations: 1.29 MB / 0.5406 GB, free: 10.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-05/0.1233, allocations: 62.38 kB / 0.5407 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.1234, allocations: 88.38 kB / 0.5407 GB, free: 9.926 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.1252, allocations: 0.8714 MB / 0.5416 GB, free: 9.008 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.1252, allocations: 0 / 0.5416 GB, free: 9.008 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/0.1253, allocations: 39.94 kB / 0.5416 GB, free: 8.969 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.1253, allocations: 20 kB / 0.5416 GB, free: 8.949 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.1266, allocations: 0.5699 MB / 0.5422 GB, free: 8.379 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006223/0.1328, allocations: 3.21 MB / 0.5453 GB, free: 5.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.1347, allocations: 0.6045 MB / 0.5459 GB, free: 4.477 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.1353, allocations: 282.3 kB / 0.5462 GB, free: 4.199 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003197/0.1385, allocations: 1.215 MB / 0.5474 GB, free: 2.961 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.1386, allocations: 46.03 kB / 0.5474 GB, free: 2.906 MB / 474.7 MB Notification: Performance of pre-optimization done (n=73): time 2.234e-06/0.1386, allocations: 0 / 0.5474 GB, free: 2.906 MB / 474.7 MB Notification: Performance of matching and sorting (n=73): time 0.002843/0.1414, allocations: 1.058 MB / 0.5485 GB, free: 1.832 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.1415, allocations: 64.06 kB / 0.5485 GB, free: 1.758 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/0.1441, allocations: 1.637 MB / 0.5501 GB, free: 108 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.1441, allocations: 41.7 kB / 0.5502 GB, free: 60 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009141/0.145, allocations: 0.8088 MB / 0.551 GB, free: 15.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.1453, allocations: 277.7 kB / 0.5512 GB, free: 14.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.1456, allocations: 164.2 kB / 0.5514 GB, free: 14.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003359/0.146, allocations: 0.5199 MB / 0.5519 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.1464, allocations: 181.9 kB / 0.5521 GB, free: 14.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008106/0.1472, allocations: 0.5613 MB / 0.5526 GB, free: 13.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.1486, allocations: 0.6023 MB / 0.5532 GB, free: 12.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1486, allocations: 4 kB / 0.5532 GB, free: 12.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001973/0.1506, allocations: 0.8667 MB / 0.554 GB, free: 11.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.1506, allocations: 12 kB / 0.5541 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.1506, allocations: 4 kB / 0.5541 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007514/0.1514, allocations: 155.2 kB / 0.5542 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.1519, allocations: 135.8 kB / 0.5543 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.1561, allocations: 4.012 MB / 0.5583 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009612/0.157, allocations: 67.56 kB / 0.5583 GB, free: 7.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/0.1571, allocations: 31.98 kB / 0.5583 GB, free: 7.207 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (79): * 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: 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.0006425/0.1578, allocations: 292.4 kB / 0.5586 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.1582, allocations: 190.9 kB / 0.5588 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.1608, allocations: 1.15 MB / 0.5599 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.1608, allocations: 12 kB / 0.5599 GB, free: 5.543 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.1608, allocations: 7.984 kB / 0.5599 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1608, allocations: 0 / 0.5599 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.1647, allocations: 2.004 MB / 0.5619 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.1647, allocations: 128 / 0.5619 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.1652, allocations: 123.9 kB / 0.562 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006284/0.1658, allocations: 155.1 kB / 0.5622 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.1659, allocations: 23.98 kB / 0.5622 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003918/0.1698, allocations: 4.016 MB / 0.5661 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.1698, allocations: 4 kB / 0.5661 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.1726, allocations: 1.235 MB / 0.5673 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006859/0.1733, allocations: 264.6 kB / 0.5676 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.1735, allocations: 23.94 kB / 0.5676 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.1739, allocations: 16 kB / 0.5676 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.1741, allocations: 60.48 kB / 0.5677 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/0.1741, allocations: 27.98 kB / 0.5677 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001658/0.1758, allocations: 0.9922 MB / 0.5687 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.1758, allocations: 0 / 0.5687 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001344/0.1771, allocations: 423.1 kB / 0.5691 GB, free: 11.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.003185/0.1803, allocations: 0.7428 MB / 0.5698 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.1822, allocations: 0.919 MB / 0.5707 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.1822, allocations: 4 kB / 0.5707 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.1833, allocations: 0.6652 MB / 0.5714 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/0.1861, allocations: 0.5336 MB / 0.5719 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005674/0.1917, allocations: 2.535 MB / 0.5743 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008279/0.1926, allocations: 0.6462 MB / 0.575 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001012/0.1936, allocations: 247.1 kB / 0.5752 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.1939, allocations: 128.5 kB / 0.5753 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of SimCode: time 2.104e-06/0.1939, allocations: 0 / 0.5753 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of Templates: time 0.04973/0.2436, allocations: 23.86 MB / 0.5986 GB, free: 14.05 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.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.01810257404577]