Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.001306/0.001306, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001463/0.001463, allocations: 177 kB / 23.36 MB, free: 1.129 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.9241/0.9241, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6636/0.6636, allocations: 118.6 MB / 378.9 MB, free: 1.32 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008e-05/1.139e-05, allocations: 2.312 kB / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.0145/0.01452, allocations: 12.7 MB / 443.5 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1366/0.1511, allocations: 4.005 MB / 447.5 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005796/0.1517, allocations: 114.9 kB / 447.6 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.1522, allocations: 373 kB / 448 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.1536, allocations: 1.252 MB / 449.2 MB, free: 15.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1546, allocations: 0.799 MB / 450 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.1563, allocations: 3.026 MB / 453.1 MB, free: 14.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.1566, allocations: 328.4 kB / 453.4 MB, free: 14.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.1579, allocations: 1.575 MB / 455 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006098/0.1585, allocations: 0.758 MB / 455.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.1586, allocations: 133.8 kB / 455.9 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.1591, allocations: 296.1 kB / 456.1 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.1593, allocations: 366.2 kB / 456.5 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004436/0.1597, allocations: 0.647 MB / 457.1 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.1608, allocations: 1.773 MB / 458.9 MB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1608, allocations: 3.062 kB / 458.9 MB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1608, allocations: 1.406 kB / 458.9 MB, free: 12.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.1608, allocations: 0 / 458.9 MB, free: 12.28 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.001764/0.1625, allocations: 2.379 MB / 461.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.1626, allocations: 9.031 kB / 461.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/0.1629, allocations: 313.9 kB / 461.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.1641, allocations: 1.299 MB / 462.9 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.1641, allocations: 92.48 kB / 463 MB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.1642, allocations: 121.5 kB / 463.1 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005971/0.1648, allocations: 0.9303 MB / 464.1 MB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.1648, allocations: 384 / 464.1 MB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.1649, allocations: 51.94 kB / 464.1 MB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.1649, allocations: 32 kB / 464.1 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.1653, allocations: 410.6 kB / 464.5 MB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.1675, allocations: 2.659 MB / 467.2 MB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.168, allocations: 0.6469 MB / 467.8 MB, free: 5.125 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.1681, allocations: 217.2 kB / 468.1 MB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.1694, allocations: 1.036 MB / 469.1 MB, free: 3.914 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.1694, allocations: 53.38 kB / 469.1 MB, free: 3.855 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 1.693e-06/0.1694, allocations: 0 / 469.1 MB, free: 3.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.0009602/0.1703, allocations: 0.7811 MB / 469.9 MB, free: 3.066 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/0.1703, allocations: 68.39 kB / 470 MB, free: 2.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/0.1709, allocations: 1.214 MB / 471.2 MB, free: 2.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1709, allocations: 45.69 kB / 471.3 MB, free: 1.965 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1711, allocations: 0.5661 MB / 471.8 MB, free: 1.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/0.1712, allocations: 354.8 kB / 472.2 MB, free: 1.145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1713, allocations: 176.3 kB / 472.3 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.243e-05/0.1714, allocations: 349.3 kB / 472.7 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1715, allocations: 97.95 kB / 472.8 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.1717, allocations: 0.5541 MB / 473.3 MB, free: 15.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.1721, allocations: 483.6 kB / 473.8 MB, free: 15.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1721, allocations: 0 / 473.8 MB, free: 15.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0008628/0.1729, allocations: 0.6265 MB / 474.4 MB, free: 14.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1729, allocations: 8.062 kB / 474.4 MB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.173, allocations: 8 kB / 474.4 MB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003786/0.1733, allocations: 177.1 kB / 474.6 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.1737, allocations: 188.8 kB / 474.8 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.1753, allocations: 3.8 MB / 478.6 MB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.1757, allocations: 89.62 kB / 478.7 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.1757, allocations: 35.98 kB / 478.7 MB, free: 10.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0002035/0.1759, allocations: 168.4 kB / 478.9 MB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.176, allocations: 135.9 kB / 479 MB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.177, allocations: 1.106 MB / 480.1 MB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.177, allocations: 12 kB / 480.1 MB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.177, allocations: 0 / 480.1 MB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1771, allocations: 7.984 kB / 480.1 MB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1784, allocations: 1.334 MB / 481.5 MB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1784, allocations: 8.031 kB / 481.5 MB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.1787, allocations: 141.1 kB / 481.6 MB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/0.1792, allocations: 184.6 kB / 481.8 MB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.1793, allocations: 27.98 kB / 481.8 MB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.1809, allocations: 3.814 MB / 485.6 MB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1809, allocations: 0 / 485.6 MB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007681/0.1816, allocations: 0.8401 MB / 486.5 MB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.1819, allocations: 194.5 kB / 486.7 MB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.182, allocations: 31.89 kB / 486.7 MB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.1822, allocations: 23.98 kB / 486.7 MB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.1823, allocations: 68.86 kB / 486.8 MB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.1823, allocations: 23.98 kB / 486.8 MB, free: 2.039 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004467/0.1828, allocations: 0.6667 MB / 487.5 MB, free: 1.422 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1828, allocations: 4 kB / 487.5 MB, free: 1.418 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005817/0.1834, allocations: 455.1 kB / 487.9 MB, free: 0.9727 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (80): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0001691/0.1835, allocations: 151.3 kB / 488.1 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006695/0.1842, allocations: 0.8092 MB / 488.9 MB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/0.1842, allocations: 20 kB / 488.9 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.1849, allocations: 0.6406 MB / 489.6 MB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.1862, allocations: 0.7166 MB / 490.3 MB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.1892, allocations: 2.806 MB / 493.1 MB, free: 11.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.1894, allocations: 282 kB / 493.4 MB, free: 11.47 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005112/0.1899, allocations: 278.9 kB / 493.6 MB, free: 11.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007972/0.1907, allocations: 0.499 MB / 494.1 MB, free: 10.73 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1907, allocations: 0 / 494.1 MB, free: 10.73 MB / 442.7 MB Notification: Performance of Templates: time 0.03031/0.221, allocations: 27.89 MB / 0.5098 GB, free: 15.59 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_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.689355415292084]