Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.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.001049/0.001049, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001122/0.001122, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.7526/0.7526, allocations: 118.6 MB / 378.9 MB, free: 1.477 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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 483.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.174e-05, allocations: 6.141 kB / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1452/0.1452, allocations: 138.4 MB / 0.6074 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003086/0.1483, allocations: 2.865 MB / 0.6102 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.1487, allocations: 27.75 kB / 0.6103 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.1492, allocations: 162.8 kB / 0.6104 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007994/0.15, allocations: 433.1 kB / 0.6108 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.1507, allocations: 310.7 kB / 0.6111 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.1512, allocations: 0.6024 MB / 0.6117 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.1514, allocations: 57.97 kB / 0.6118 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005396/0.1519, allocations: 378.8 kB / 0.6121 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.1522, allocations: 207.4 kB / 0.6123 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.1522, allocations: 24 kB / 0.6123 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006008/0.1528, allocations: 427.1 kB / 0.6128 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.1529, allocations: 75.61 kB / 0.6128 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.153, allocations: 123.6 kB / 0.6129 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006651/0.1537, allocations: 0.5139 MB / 0.6134 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1537, allocations: 4 kB / 0.6134 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1537, allocations: 0 / 0.6134 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.1537, allocations: 0 / 0.6134 GB, free: 15.99 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001024/0.1547, allocations: 0.8047 MB / 0.6142 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1548, allocations: 12.03 kB / 0.6142 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.1549, allocations: 72.61 kB / 0.6143 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.1554, allocations: 393.9 kB / 0.6147 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1554, allocations: 16.88 kB / 0.6147 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.1555, allocations: 32.27 kB / 0.6147 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.1558, allocations: 212.7 kB / 0.6149 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1558, allocations: 4.172 kB / 0.6149 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.1558, allocations: 11.94 kB / 0.615 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1558, allocations: 8 kB / 0.615 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.156, allocations: 102.9 kB / 0.6151 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.157, allocations: 0.9289 MB / 0.616 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.1573, allocations: 175 kB / 0.6161 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.1574, allocations: 63.66 kB / 0.6162 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005616/0.158, allocations: 0.5078 MB / 0.6167 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1582, allocations: 119.2 kB / 0.6168 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.1582, allocations: 0 / 0.6168 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23): time 0.0006308/0.1588, allocations: 306 kB / 0.6171 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1588, allocations: 51.41 kB / 0.6171 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1591, allocations: 402.6 kB / 0.6175 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1591, allocations: 33.7 kB / 0.6176 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1593, allocations: 259.1 kB / 0.6178 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.1593, allocations: 79.28 kB / 0.6179 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.1594, allocations: 55.36 kB / 0.6179 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1596, allocations: 0.5273 MB / 0.6185 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.67e-05/0.1596, allocations: 61.69 kB / 0.6185 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1598, allocations: 120.4 kB / 0.6186 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.1599, allocations: 159.9 kB / 0.6188 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1599, allocations: 0 / 0.6188 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003815/0.1603, allocations: 318.9 kB / 0.6191 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.1604, allocations: 40.2 kB / 0.6191 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1604, allocations: 3.938 kB / 0.6191 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.1606, allocations: 43.64 kB / 0.6192 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1607, allocations: 51.91 kB / 0.6192 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.1617, allocations: 1.818 MB / 0.621 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.1619, allocations: 35.8 kB / 0.621 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1619, allocations: 8 kB / 0.621 GB, free: 7.758 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 24 * 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.0001211/0.162, allocations: 172.5 kB / 0.6212 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.1621, allocations: 59.59 kB / 0.6213 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.1625, allocations: 253.6 kB / 0.6215 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1625, allocations: 11.94 kB / 0.6215 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.1625, allocations: 0 / 0.6215 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1625, allocations: 0 / 0.6215 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006697/0.1631, allocations: 0.638 MB / 0.6221 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1631, allocations: 4 kB / 0.6221 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.1632, allocations: 43.91 kB / 0.6222 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/0.1634, allocations: 51.67 kB / 0.6222 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.1634, allocations: 7.984 kB / 0.6222 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009336/0.1643, allocations: 1.814 MB / 0.624 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1643, allocations: 3.984 kB / 0.624 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.1648, allocations: 445.6 kB / 0.6244 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.1649, allocations: 67.72 kB / 0.6245 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.1649, allocations: 8 kB / 0.6245 GB, free: 3.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.165, allocations: 7.984 kB / 0.6245 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.1651, allocations: 27.95 kB / 0.6245 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1651, allocations: 8 kB / 0.6245 GB, free: 3.941 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001828/0.1653, allocations: 271.1 kB / 0.6248 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.1653, allocations: 0 / 0.6248 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003887/0.1657, allocations: 135.7 kB / 0.6249 GB, free: 3.547 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (flowResistance.inlet.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 (22): * Single equations (assignments): 19 * 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.0003361/0.166, allocations: 234.2 kB / 0.6252 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005233/0.1666, allocations: 409.8 kB / 0.6255 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1666, allocations: 4 kB / 0.6256 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.1668, allocations: 270.2 kB / 0.6258 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.1673, allocations: 148.7 kB / 0.626 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1689, allocations: 0.7123 MB / 0.6266 GB, free: 1.699 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.494e-05/0.169, allocations: 105.3 kB / 0.6267 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.1692, allocations: 58.53 kB / 0.6268 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.1692, allocations: 40.48 kB / 0.6268 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of SimCode: time 1.162e-06/0.1692, allocations: 0 / 0.6268 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of Templates: time 0.01104/0.1803, allocations: 7.663 MB / 0.6343 GB, free: 9.996 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.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.38192555308342]