Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.00107/0.00107, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009734/0.0009734, allocations: 169 kB / 23.27 MB, free: 1.227 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.9522/0.9522, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.6691/0.6691, allocations: 118.6 MB / 378.9 MB, free: 1.375 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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 484 MB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.494e-05, allocations: 2.312 kB / 484 MB, free: 8.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1325/0.1325, allocations: 127.5 MB / 0.5972 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1341, allocations: 1.533 MB / 0.5987 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.1343, allocations: 27.75 kB / 0.5987 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.1347, allocations: 95.12 kB / 0.5988 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.1351, allocations: 333.8 kB / 0.5991 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.1355, allocations: 227.1 kB / 0.5994 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004314/0.1359, allocations: 0.6101 MB / 0.6 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.136, allocations: 61.97 kB / 0.6 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005/0.1365, allocations: 378.8 kB / 0.6004 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1368, allocations: 203.4 kB / 0.6006 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.1368, allocations: 24 kB / 0.6006 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.137, allocations: 231.5 kB / 0.6008 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.1371, allocations: 67.64 kB / 0.6009 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.1372, allocations: 135.6 kB / 0.601 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.1377, allocations: 450.5 kB / 0.6014 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1377, allocations: 3.984 kB / 0.6014 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1377, allocations: 0 / 0.6014 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1377, allocations: 0 / 0.6014 GB, free: 12.19 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008739/0.1386, allocations: 0.8127 MB / 0.6022 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1386, allocations: 8.031 kB / 0.6022 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1387, allocations: 72.55 kB / 0.6023 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.1391, allocations: 386 kB / 0.6027 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1391, allocations: 12.88 kB / 0.6027 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1391, allocations: 24.38 kB / 0.6027 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.1394, allocations: 200.6 kB / 0.6029 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1394, allocations: 192 / 0.6029 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.1394, allocations: 19.92 kB / 0.6029 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1394, allocations: 4 kB / 0.6029 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.905e-05/0.1395, allocations: 79.36 kB / 0.603 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.1403, allocations: 0.8826 MB / 0.6039 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.1405, allocations: 143 kB / 0.604 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.1405, allocations: 59.64 kB / 0.6041 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004529/0.141, allocations: 0.5146 MB / 0.6046 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.1411, allocations: 109.4 kB / 0.6047 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 1.313e-06/0.1411, allocations: 4 kB / 0.6047 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.0004623/0.1416, allocations: 274.3 kB / 0.6049 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.1416, allocations: 55.41 kB / 0.605 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.1418, allocations: 390.5 kB / 0.6054 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1419, allocations: 29.7 kB / 0.6054 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.142, allocations: 267 kB / 0.6056 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.142, allocations: 87.28 kB / 0.6057 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.17e-05/0.1421, allocations: 59.3 kB / 0.6058 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1423, allocations: 0.5234 MB / 0.6063 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.1423, allocations: 61.67 kB / 0.6063 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.22e-05/0.1424, allocations: 108.3 kB / 0.6064 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1425, allocations: 147.7 kB / 0.6066 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1425, allocations: 0 / 0.6066 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003248/0.1429, allocations: 298.8 kB / 0.6069 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.1429, allocations: 33.69 kB / 0.6069 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1429, allocations: 4 kB / 0.6069 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.1431, allocations: 55.5 kB / 0.607 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1432, allocations: 39.98 kB / 0.607 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009782/0.1442, allocations: 1.799 MB / 0.6088 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.639e-05/0.1443, allocations: 19.89 kB / 0.6088 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1443, allocations: 11.98 kB / 0.6088 GB, free: 4.211 MB / 0.5261 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.0001161/0.1444, allocations: 172.5 kB / 0.609 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.1445, allocations: 59.59 kB / 0.609 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.1448, allocations: 254.1 kB / 0.6093 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1448, allocations: 0 / 0.6093 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1448, allocations: 4 kB / 0.6093 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.1448, allocations: 7.922 kB / 0.6093 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.1454, allocations: 0.5683 MB / 0.6098 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1454, allocations: 144 / 0.6098 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.1455, allocations: 40 kB / 0.6099 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.1456, allocations: 47.62 kB / 0.6099 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1456, allocations: 11.98 kB / 0.6099 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008551/0.1465, allocations: 1.784 MB / 0.6117 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1465, allocations: 0 / 0.6117 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.1468, allocations: 432.3 kB / 0.6121 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.1469, allocations: 75.53 kB / 0.6121 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1469, allocations: 8 kB / 0.6121 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.42e-05/0.147, allocations: 11.98 kB / 0.6122 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.1471, allocations: 31.89 kB / 0.6122 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1471, allocations: 8 kB / 0.6122 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001437/0.1473, allocations: 255 kB / 0.6124 GB, free: 280 kB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.1473, allocations: 0 / 0.6124 GB, free: 280 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000291/0.1475, allocations: 123.8 kB / 0.6126 GB, free: 156 kB / 0.5261 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.0002601/0.1478, allocations: 159.1 kB / 0.6127 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004193/0.1482, allocations: 398.6 kB / 0.6131 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1482, allocations: 0 / 0.6131 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.1484, allocations: 261.2 kB / 0.6133 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.1489, allocations: 151.6 kB / 0.6135 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1501, allocations: 0.6976 MB / 0.6142 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.754e-05/0.1502, allocations: 97.3 kB / 0.6143 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.1503, allocations: 67.72 kB / 0.6143 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.1505, allocations: 182.1 kB / 0.6145 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of SimCode: time 6.61e-07/0.1505, allocations: 0 / 0.6145 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of Templates: time 0.009283/0.1598, allocations: 7.403 MB / 0.6217 GB, free: 6.84 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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: 3.7456507878378034]