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.0008908/0.0008908, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00093/0.00093, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.8994/0.8994, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.6235/0.6235, allocations: 118.7 MB / 378.9 MB, free: 1.348 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 2.154e-06/2.154e-06, allocations: 4 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.262e-05, allocations: 5.125 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.1607/0.1607, allocations: 13.34 MB / 444.2 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00544/0.1661, allocations: 4.404 MB / 448.6 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007324/0.1669, allocations: 79.81 kB / 448.6 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009151/0.1678, allocations: 0.7299 MB / 449.4 MB, free: 16.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.1697, allocations: 1.573 MB / 450.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1709, allocations: 0.8019 MB / 451.7 MB, free: 15.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.173, allocations: 3.167 MB / 454.9 MB, free: 14.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.1734, allocations: 301.6 kB / 455.2 MB, free: 14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.1754, allocations: 1.914 MB / 457.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000752/0.1761, allocations: 0.9085 MB / 458 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.1763, allocations: 137.7 kB / 458.2 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.1767, allocations: 328.1 kB / 458.5 MB, free: 12.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.1769, allocations: 454 kB / 458.9 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000429/0.1774, allocations: 0.6697 MB / 459.6 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.1784, allocations: 1.812 MB / 461.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1784, allocations: 7.188 kB / 461.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1784, allocations: 0 / 461.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.1785, allocations: 0 / 461.4 MB, free: 11.42 MB / 410.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.001855/0.1803, allocations: 2.394 MB / 463.8 MB, free: 9.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.57e-05/0.1803, allocations: 8.031 kB / 463.8 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003794/0.1807, allocations: 343.5 kB / 464.2 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009986/0.1817, allocations: 1.13 MB / 465.3 MB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.1818, allocations: 98.97 kB / 465.4 MB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.064e-05/0.1818, allocations: 132.4 kB / 465.5 MB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.1826, allocations: 1.016 MB / 466.5 MB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.1826, allocations: 9.375 kB / 466.5 MB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/0.1826, allocations: 56 kB / 466.6 MB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.1826, allocations: 32 kB / 466.6 MB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/0.1832, allocations: 0.5088 MB / 467.1 MB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.1856, allocations: 2.651 MB / 469.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.1863, allocations: 0.8156 MB / 470.6 MB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.1865, allocations: 282.5 kB / 470.9 MB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/0.1882, allocations: 1.448 MB / 472.3 MB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003713/0.1885, allocations: 0.5376 MB / 472.9 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 2.445e-06/0.1885, allocations: 0 / 472.9 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of matching and sorting (n=139): time 0.001108/0.1896, allocations: 0.9593 MB / 473.8 MB, free: 15.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1897, allocations: 120.1 kB / 473.9 MB, free: 15.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000629/0.1903, allocations: 1.061 MB / 475 MB, free: 14.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.1904, allocations: 49.7 kB / 475 MB, free: 14.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.1906, allocations: 0.5086 MB / 475.6 MB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.1908, allocations: 0.4901 MB / 476 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.191, allocations: 253 kB / 476.3 MB, free: 13.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.1911, allocations: 357.9 kB / 476.6 MB, free: 13.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.1913, allocations: 183.1 kB / 476.8 MB, free: 13.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.1917, allocations: 0.5267 MB / 477.3 MB, free: 12.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.1922, allocations: 0.6257 MB / 478 MB, free: 11.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1922, allocations: 4 kB / 478 MB, free: 11.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0007935/0.193, allocations: 0.7963 MB / 478.8 MB, free: 11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.193, allocations: 37.7 kB / 478.8 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.193, allocations: 0 / 478.8 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.1933, allocations: 101.2 kB / 478.9 MB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.1938, allocations: 259.6 kB / 479.2 MB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.1951, allocations: 2.552 MB / 481.7 MB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.1954, allocations: 119.3 kB / 481.8 MB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.1955, allocations: 47.97 kB / 481.9 MB, free: 7.738 MB / 426.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.000235/0.1957, allocations: 176.4 kB / 482 MB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.1959, allocations: 153.1 kB / 482.2 MB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.1973, allocations: 1.313 MB / 483.5 MB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1973, allocations: 16 kB / 483.5 MB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1973, allocations: 0 / 483.5 MB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.1973, allocations: 11.97 kB / 483.5 MB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.1991, allocations: 1.664 MB / 485.2 MB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1991, allocations: 4 kB / 485.2 MB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.1995, allocations: 227.8 kB / 485.4 MB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/0.1997, allocations: 110.2 kB / 485.5 MB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.1998, allocations: 31.98 kB / 485.6 MB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.2011, allocations: 2.554 MB / 488.1 MB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2011, allocations: 3.938 kB / 488.1 MB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2022, allocations: 1.109 MB / 489.2 MB, free: 456 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.2025, allocations: 284.9 kB / 489.5 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-05/0.2026, allocations: 31.94 kB / 489.5 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.2029, allocations: 44.05 kB / 489.6 MB, free: 92 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.203, allocations: 101.2 kB / 489.7 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.203, allocations: 31.92 kB / 489.7 MB, free: 15.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003758/0.2034, allocations: 0.5601 MB / 490.3 MB, free: 15.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-08/0.2034, allocations: 0 / 490.3 MB, free: 15.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006244/0.204, allocations: 499.1 kB / 490.8 MB, free: 14.98 MB / 442.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.0009322/0.205, allocations: 0.5147 MB / 491.3 MB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008326/0.2058, allocations: 0.9558 MB / 492.2 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.2058, allocations: 16.88 kB / 492.3 MB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.2063, allocations: 0.6232 MB / 492.9 MB, free: 13.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.2075, allocations: 0.6348 MB / 493.5 MB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.2112, allocations: 2.98 MB / 496.5 MB, free: 9.438 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.2114, allocations: 320 kB / 496.8 MB, free: 9.098 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006533/0.212, allocations: 348.7 kB / 497.1 MB, free: 8.785 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007993/0.2128, allocations: 0.4912 MB / 497.6 MB, free: 8.285 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2128, allocations: 0 / 497.6 MB, free: 8.285 MB / 442.7 MB Notification: Performance of Templates: time 0.03067/0.2435, allocations: 28.29 MB / 0.5136 GB, free: 12.59 MB / 474.7 MB " [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: 3.8501337659545243]