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.001291/0.001291, allocations: 80.88 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.001441/0.001441, 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.8962/0.8962, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.6399/0.6399, allocations: 118.6 MB / 378.9 MB, free: 1.355 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.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.122e-06/1.122e-06, allocations: 0 / 430.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.666e-06/9.788e-06, allocations: 2.312 kB / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.007244/0.007254, allocations: 10.35 MB / 441.2 MB, free: 2.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.132/0.1393, allocations: 3.632 MB / 444.8 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007591/0.1401, allocations: 82.44 kB / 444.9 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000723/0.1408, allocations: 0.6046 MB / 445.5 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.1421, allocations: 1.101 MB / 446.6 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009652/0.143, allocations: 0.6973 MB / 447.3 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.1443, allocations: 2.249 MB / 449.5 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.1445, allocations: 243.4 kB / 449.8 MB, free: 15.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.1461, allocations: 1.484 MB / 451.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004857/0.1466, allocations: 0.5697 MB / 451.8 MB, free: 15.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.1467, allocations: 89.88 kB / 451.9 MB, free: 15.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.147, allocations: 268.1 kB / 452.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.1472, allocations: 349.8 kB / 452.5 MB, free: 15.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.1475, allocations: 494.7 kB / 453 MB, free: 14.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009655/0.1485, allocations: 1.441 MB / 454.4 MB, free: 14.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.1485, allocations: 1.125 kB / 454.4 MB, free: 14.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1485, allocations: 4.328 kB / 454.4 MB, free: 14.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1485, allocations: 0 / 454.4 MB, free: 14.67 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.001582/0.1501, allocations: 2.046 MB / 456.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.519e-05/0.1501, allocations: 9.031 kB / 456.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.1504, allocations: 233.3 kB / 456.7 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.1514, allocations: 1.106 MB / 457.8 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.1515, allocations: 67.5 kB / 457.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.1515, allocations: 84.41 kB / 458 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.152, allocations: 0.6572 MB / 458.6 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.152, allocations: 7.031 kB / 458.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.152, allocations: 30.69 kB / 458.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.152, allocations: 21.09 kB / 458.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.1523, allocations: 293.9 kB / 459 MB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.1539, allocations: 1.894 MB / 460.9 MB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.1543, allocations: 456.1 kB / 461.3 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1544, allocations: 158.9 kB / 461.5 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008781/0.1553, allocations: 0.7635 MB / 462.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.1553, allocations: 47.2 kB / 462.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 1.293e-06/0.1553, allocations: 1.219 kB / 462.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.0007114/0.156, allocations: 0.5805 MB / 462.9 MB, free: 9.547 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.352e-05/0.156, allocations: 56.06 kB / 462.9 MB, free: 9.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/0.1566, allocations: 1.139 MB / 464 MB, free: 8.555 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1566, allocations: 42.77 kB / 464.1 MB, free: 8.508 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.1568, allocations: 456.7 kB / 464.5 MB, free: 8.117 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.1568, allocations: 252.7 kB / 464.8 MB, free: 7.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/0.1569, allocations: 143 kB / 464.9 MB, free: 7.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.777e-05/0.1569, allocations: 335.8 kB / 465.2 MB, free: 7.434 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/0.157, allocations: 76.11 kB / 465.3 MB, free: 7.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1572, allocations: 382.9 kB / 465.7 MB, free: 6.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.1574, allocations: 329.1 kB / 466 MB, free: 6.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1574, allocations: 4 kB / 466 MB, free: 6.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0003959/0.1578, allocations: 470 kB / 466.5 MB, free: 6.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1578, allocations: 8.906 kB / 466.5 MB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1578, allocations: 0 / 466.5 MB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.1581, allocations: 123.7 kB / 466.6 MB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.1583, allocations: 131.7 kB / 466.7 MB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007681/0.1591, allocations: 2.538 MB / 469.3 MB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.1593, allocations: 59.61 kB / 469.3 MB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.1594, allocations: 23.98 kB / 469.4 MB, free: 3.148 MB / 410.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 (75): * Single equations (assignments): 73 * 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.0001547/0.1595, allocations: 154.1 kB / 469.5 MB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.912e-05/0.1596, allocations: 107.9 kB / 469.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006078/0.1602, allocations: 0.7489 MB / 470.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1602, allocations: 8 kB / 470.4 MB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1602, allocations: 7.828 kB / 470.4 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1602, allocations: 4 kB / 470.4 MB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009075/0.1611, allocations: 1.027 MB / 471.4 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1611, allocations: 0 / 471.4 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.1613, allocations: 97.94 kB / 471.5 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002238/0.1615, allocations: 124.7 kB / 471.6 MB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.1616, allocations: 27.36 kB / 471.7 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009633/0.1625, allocations: 2.533 MB / 474.2 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1625, allocations: 4 kB / 474.2 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.1631, allocations: 0.6449 MB / 474.8 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.1634, allocations: 202.9 kB / 475 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.1634, allocations: 19.98 kB / 475.1 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.1637, allocations: 16 kB / 475.1 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.1637, allocations: 55.45 kB / 475.1 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.1637, allocations: 15.98 kB / 475.1 MB, free: 13.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004254/0.1642, allocations: 0.6172 MB / 475.8 MB, free: 12.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1642, allocations: 0 / 475.8 MB, free: 12.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004664/0.1646, allocations: 335.4 kB / 476.1 MB, free: 12.51 MB / 426.7 MB 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 (59): * Single equations (assignments): 57 * 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.0008946/0.1655, allocations: 494.5 kB / 476.6 MB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005005/0.166, allocations: 0.5641 MB / 477.1 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.166, allocations: 16 kB / 477.1 MB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.1663, allocations: 431.9 kB / 477.6 MB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.1674, allocations: 0.5359 MB / 478.1 MB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.1699, allocations: 2.376 MB / 480.5 MB, free: 8.332 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.1701, allocations: 260.3 kB / 480.7 MB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004299/0.1705, allocations: 225.6 kB / 481 MB, free: 7.855 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/0.1711, allocations: 407.1 kB / 481.4 MB, free: 7.453 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1711, allocations: 0 / 481.4 MB, free: 7.453 MB / 426.7 MB Notification: Performance of Templates: time 0.02267/0.1938, allocations: 20.74 MB / 0.4903 GB, free: 3.27 MB / 442.7 MB " [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","",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.4909410062246025]