Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.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.001104/0.001104, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001049/0.001049, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.042/1.042, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.7466/0.7466, allocations: 118.6 MB / 379.7 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 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.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 1.406 kB / 484.8 MB, free: 8.129 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.48e-05, allocations: 2.312 kB / 484.8 MB, free: 8.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1325/0.1325, allocations: 130.5 MB / 0.601 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004391/0.1369, allocations: 2.834 MB / 0.6037 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008712/0.1378, allocations: 67.38 kB / 0.6038 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.1384, allocations: 214 kB / 0.604 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.1398, allocations: 0.7097 MB / 0.6047 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1411, allocations: 0.5569 MB / 0.6052 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.1428, allocations: 1.573 MB / 0.6068 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.1432, allocations: 199.7 kB / 0.607 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.1446, allocations: 0.8687 MB / 0.6078 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007953/0.1454, allocations: 0.5766 MB / 0.6084 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.1455, allocations: 76 kB / 0.6084 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007713/0.1463, allocations: 423.3 kB / 0.6088 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.1464, allocations: 207 kB / 0.609 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.1468, allocations: 367 kB / 0.6094 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.1483, allocations: 1.136 MB / 0.6105 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1483, allocations: 4 kB / 0.6105 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1483, allocations: 0 / 0.6105 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.533e-05/0.1483, allocations: 0 / 0.6105 GB, free: 3.602 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001905/0.1502, allocations: 1.549 MB / 0.612 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1502, allocations: 12.03 kB / 0.612 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.1506, allocations: 211.9 kB / 0.6122 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.1517, allocations: 0.8403 MB / 0.613 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.1517, allocations: 50.38 kB / 0.6131 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.676e-05/0.1518, allocations: 80.31 kB / 0.6132 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.1523, allocations: 0.5138 MB / 0.6137 GB, free: 256 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1524, allocations: 4.172 kB / 0.6137 GB, free: 252 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.1524, allocations: 35.94 kB / 0.6137 GB, free: 216 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1524, allocations: 16 kB / 0.6137 GB, free: 200 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.1527, allocations: 249.7 kB / 0.614 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.155, allocations: 2.063 MB / 0.616 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/0.1556, allocations: 476.7 kB / 0.6164 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.1558, allocations: 133.9 kB / 0.6166 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.1568, allocations: 0.8325 MB / 0.6174 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1568, allocations: 41.89 kB / 0.6174 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=49): time 2.004e-06/0.1568, allocations: 0 / 0.6174 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.001548/0.1584, allocations: 0.9638 MB / 0.6184 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1584, allocations: 55.91 kB / 0.6184 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.1589, allocations: 0.7225 MB / 0.6191 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.1589, allocations: 29.7 kB / 0.6191 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.1592, allocations: 0.5615 MB / 0.6197 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1593, allocations: 178.4 kB / 0.6199 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.1594, allocations: 99.75 kB / 0.62 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1596, allocations: 0.4965 MB / 0.6204 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.1597, allocations: 56.95 kB / 0.6205 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1598, allocations: 170.5 kB / 0.6207 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.1601, allocations: 271 kB / 0.6209 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1601, allocations: 0 / 0.6209 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008071/0.1609, allocations: 496 kB / 0.6214 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1609, allocations: 10.81 kB / 0.6214 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1609, allocations: 0 / 0.6214 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.1612, allocations: 119.5 kB / 0.6215 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.1614, allocations: 87.89 kB / 0.6216 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.1627, allocations: 2.104 MB / 0.6237 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.1629, allocations: 8 kB / 0.6237 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.1629, allocations: 23.98 kB / 0.6237 GB, free: 5.602 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.1631, allocations: 180.5 kB / 0.6239 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.1633, allocations: 127.2 kB / 0.624 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007573/0.164, allocations: 0.626 MB / 0.6246 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.164, allocations: 8 kB / 0.6246 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.164, allocations: 0 / 0.6246 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.164, allocations: 0 / 0.6246 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.1653, allocations: 1.048 MB / 0.6256 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1653, allocations: 0 / 0.6256 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.1654, allocations: 83.89 kB / 0.6257 GB, free: 3.438 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002939/0.1657, allocations: 127.2 kB / 0.6258 GB, free: 3.312 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.1657, allocations: 27.92 kB / 0.6258 GB, free: 3.285 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.1669, allocations: 2.092 MB / 0.6279 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1669, allocations: 4.031 kB / 0.6279 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008671/0.1678, allocations: 0.7282 MB / 0.6286 GB, free: 308 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.1679, allocations: 123.3 kB / 0.6287 GB, free: 184 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.168, allocations: 12 kB / 0.6287 GB, free: 172 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.1681, allocations: 15.98 kB / 0.6287 GB, free: 156 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.1682, allocations: 52.39 kB / 0.6288 GB, free: 104 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.1682, allocations: 15.98 kB / 0.6288 GB, free: 88 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003269/0.1686, allocations: 467.9 kB / 0.6293 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1686, allocations: 0 / 0.6293 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006491/0.1692, allocations: 271.5 kB / 0.6295 GB, free: 15.35 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance1.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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003444/0.1696, allocations: 230.6 kB / 0.6297 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005816/0.1701, allocations: 484.2 kB / 0.6302 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1701, allocations: 0.5 kB / 0.6302 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.1705, allocations: 396.9 kB / 0.6306 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009291/0.1714, allocations: 345.1 kB / 0.6309 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.1737, allocations: 1.633 MB / 0.6325 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.1739, allocations: 183.4 kB / 0.6327 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003533/0.1742, allocations: 138.3 kB / 0.6328 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/0.1747, allocations: 330 kB / 0.6331 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of SimCode: time 1.282e-06/0.1747, allocations: 0 / 0.6331 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of Templates: time 0.2722/0.4469, allocations: 16.03 MB / 0.6488 GB, free: 49.66 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_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: 4.466624427121133]