Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.001274/0.001274, allocations: 93.06 kB / 19.65 MB, free: 276 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.001142/0.001142, allocations: 169 kB / 23.02 MB, free: 1.547 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.9372/0.9372, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.6939/0.6939, allocations: 118.6 MB / 378.6 MB, free: 1.52 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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.374e-05, allocations: 3.438 kB / 483.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1347/0.1348, allocations: 131.2 MB / 0.6003 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004046/0.1388, allocations: 1.773 MB / 0.6021 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.1391, allocations: 27.75 kB / 0.6021 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1394, allocations: 119 kB / 0.6022 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005447/0.1399, allocations: 425 kB / 0.6026 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.1403, allocations: 279.1 kB / 0.6029 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005474/0.1409, allocations: 0.8231 MB / 0.6037 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.141, allocations: 81.23 kB / 0.6038 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004921/0.1415, allocations: 466.6 kB / 0.6042 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1418, allocations: 323.1 kB / 0.6045 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.1419, allocations: 36 kB / 0.6046 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.1422, allocations: 251.5 kB / 0.6048 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.1422, allocations: 95.53 kB / 0.6049 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1424, allocations: 171.6 kB / 0.6051 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.143, allocations: 0.541 MB / 0.6056 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.143, allocations: 0 / 0.6056 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/0.143, allocations: 4 kB / 0.6056 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.143, allocations: 0 / 0.6056 GB, free: 7.754 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001011/0.144, allocations: 0.8761 MB / 0.6064 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.144, allocations: 8.031 kB / 0.6064 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.1442, allocations: 96.5 kB / 0.6065 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.1446, allocations: 389.1 kB / 0.6069 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.1446, allocations: 29.38 kB / 0.6069 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.1447, allocations: 28.38 kB / 0.607 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.1451, allocations: 351.4 kB / 0.6073 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1451, allocations: 192 / 0.6073 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.1452, allocations: 16.12 kB / 0.6073 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1452, allocations: 8 kB / 0.6073 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.1454, allocations: 187.6 kB / 0.6075 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.1467, allocations: 1.428 MB / 0.6089 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.1471, allocations: 243.3 kB / 0.6091 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1472, allocations: 99.58 kB / 0.6092 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008436/0.1481, allocations: 0.7105 MB / 0.6099 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.1483, allocations: 164.8 kB / 0.6101 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 2.034e-06/0.1483, allocations: 0 / 0.6101 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.000792/0.1491, allocations: 413.1 kB / 0.6105 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1491, allocations: 55.41 kB / 0.6105 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.1494, allocations: 382.7 kB / 0.6109 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1494, allocations: 33.7 kB / 0.6109 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1495, allocations: 279.2 kB / 0.6112 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.1496, allocations: 130.9 kB / 0.6113 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.1497, allocations: 83.72 kB / 0.6114 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1498, allocations: 0.5196 MB / 0.6119 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1499, allocations: 86.41 kB / 0.612 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1501, allocations: 165.5 kB / 0.6121 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.1503, allocations: 244.2 kB / 0.6124 GB, free: 472 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1503, allocations: 0 / 0.6124 GB, free: 472 kB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004697/0.1508, allocations: 417.1 kB / 0.6128 GB, free: 32 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.1509, allocations: 33.75 kB / 0.6128 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1509, allocations: 0 / 0.6128 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.151, allocations: 43.77 kB / 0.6128 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1512, allocations: 79.89 kB / 0.6129 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008946/0.1521, allocations: 1.818 MB / 0.6147 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1522, allocations: 47.69 kB / 0.6147 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.1522, allocations: 16 kB / 0.6148 GB, free: 13.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.1524, allocations: 176.5 kB / 0.6149 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.1524, allocations: 67.59 kB / 0.615 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005309/0.153, allocations: 443.9 kB / 0.6154 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.153, allocations: 8 kB / 0.6154 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.153, allocations: 0 / 0.6154 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.153, allocations: 8.125 kB / 0.6154 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007706/0.1537, allocations: 0.805 MB / 0.6162 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1537, allocations: 0 / 0.6162 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1539, allocations: 63.91 kB / 0.6163 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.154, allocations: 47.66 kB / 0.6163 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.154, allocations: 8 kB / 0.6163 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007607/0.1548, allocations: 1.818 MB / 0.6181 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1548, allocations: 3.938 kB / 0.6181 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.1553, allocations: 0.5461 MB / 0.6186 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.654e-05/0.1554, allocations: 83.55 kB / 0.6187 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.1554, allocations: 4 kB / 0.6187 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1555, allocations: 19.98 kB / 0.6187 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.1556, allocations: 43.73 kB / 0.6188 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.1556, allocations: 15.98 kB / 0.6188 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001525/0.1557, allocations: 259.1 kB / 0.619 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.1557, allocations: 0 / 0.619 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000302/0.156, allocations: 167.6 kB / 0.6192 GB, free: 9.07 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002254/0.1563, allocations: 171.1 kB / 0.6194 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000499/0.1568, allocations: 477.9 kB / 0.6198 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1568, allocations: 4.062 kB / 0.6198 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.157, allocations: 309 kB / 0.6201 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.1575, allocations: 181.6 kB / 0.6203 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1588, allocations: 0.82 MB / 0.6211 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.258e-05/0.1589, allocations: 105.8 kB / 0.6212 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00016/0.1591, allocations: 91.06 kB / 0.6213 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.893e-05/0.1591, allocations: 48.47 kB / 0.6213 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of SimCode: time 5.91e-07/0.1591, allocations: 0 / 0.6213 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of Templates: time 0.01074/0.1699, allocations: 8.96 MB / 0.6301 GB, free: 13.99 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_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.047207638155669]