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.002045/0.002045, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001201/0.001201, allocations: 173 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 0.9818/0.9818, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7061/0.7061, allocations: 118.6 MB / 379.7 MB, free: 1.402 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 1.392e-06/1.392e-06, allocations: 0 / 484.8 MB, free: 8.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.398e-05, allocations: 2.312 kB / 484.8 MB, free: 8.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1185/0.1185, allocations: 127.5 MB / 0.598 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1204, allocations: 1.545 MB / 0.5995 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.1206, allocations: 23.75 kB / 0.5995 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.121, allocations: 91.2 kB / 0.5996 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.1215, allocations: 337.7 kB / 0.5999 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.122, allocations: 223.2 kB / 0.6001 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005107/0.1225, allocations: 0.6101 MB / 0.6007 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1226, allocations: 56.91 kB / 0.6008 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005107/0.1231, allocations: 382.8 kB / 0.6011 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.1234, allocations: 219.3 kB / 0.6013 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.1234, allocations: 24 kB / 0.6014 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.1237, allocations: 223.5 kB / 0.6016 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.1238, allocations: 71.62 kB / 0.6016 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1239, allocations: 131.6 kB / 0.6018 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.1244, allocations: 446.5 kB / 0.6022 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1244, allocations: 0 / 0.6022 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1244, allocations: 0 / 0.6022 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1244, allocations: 0 / 0.6022 GB, free: 12.21 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.0008622/0.1252, allocations: 0.8205 MB / 0.603 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1253, allocations: 8.031 kB / 0.603 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1254, allocations: 72.55 kB / 0.6031 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.1258, allocations: 382 kB / 0.6034 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1258, allocations: 12.88 kB / 0.6034 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.1259, allocations: 24.38 kB / 0.6035 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1261, allocations: 208.6 kB / 0.6037 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1261, allocations: 192 / 0.6037 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.1262, allocations: 11.94 kB / 0.6037 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1262, allocations: 8 kB / 0.6037 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1263, allocations: 87.34 kB / 0.6038 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/0.1271, allocations: 0.8748 MB / 0.6046 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1273, allocations: 155 kB / 0.6048 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.1273, allocations: 55.27 kB / 0.6048 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/0.1278, allocations: 0.5077 MB / 0.6053 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.1279, allocations: 113.4 kB / 0.6054 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.1279, allocations: 0 / 0.6054 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.0004629/0.1284, allocations: 282.5 kB / 0.6057 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1284, allocations: 55.41 kB / 0.6057 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.1286, allocations: 386.5 kB / 0.6061 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1287, allocations: 29.7 kB / 0.6061 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.1288, allocations: 267 kB / 0.6064 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.1289, allocations: 79.3 kB / 0.6065 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.1289, allocations: 63.28 kB / 0.6065 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1291, allocations: 0.5234 MB / 0.607 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.1292, allocations: 65.61 kB / 0.6071 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.469e-05/0.1292, allocations: 104.4 kB / 0.6072 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.1294, allocations: 151.6 kB / 0.6074 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1294, allocations: 0 / 0.6074 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003335/0.1297, allocations: 296.2 kB / 0.6076 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.1297, allocations: 33.7 kB / 0.6077 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1297, allocations: 0 / 0.6077 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.1299, allocations: 55.61 kB / 0.6077 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.13, allocations: 43.97 kB / 0.6078 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008187/0.1308, allocations: 1.795 MB / 0.6095 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1309, allocations: 23.88 kB / 0.6095 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.131, allocations: 12.03 kB / 0.6096 GB, free: 4.23 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.0001044/0.1311, allocations: 168.5 kB / 0.6097 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.1311, allocations: 59.59 kB / 0.6098 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.1314, allocations: 249.3 kB / 0.61 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1314, allocations: 4 kB / 0.61 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.1314, allocations: 0 / 0.61 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1314, allocations: 7.938 kB / 0.61 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.132, allocations: 0.5722 MB / 0.6106 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.132, allocations: 0 / 0.6106 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.132, allocations: 39.98 kB / 0.6106 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.1322, allocations: 43.62 kB / 0.6107 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1322, allocations: 8.031 kB / 0.6107 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007754/0.133, allocations: 1.796 MB / 0.6124 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.133, allocations: 0 / 0.6124 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.1333, allocations: 425.1 kB / 0.6128 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.1334, allocations: 63.56 kB / 0.6129 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1334, allocations: 8 kB / 0.6129 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.1335, allocations: 20.05 kB / 0.6129 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.1336, allocations: 27.89 kB / 0.6129 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1336, allocations: 4 kB / 0.6129 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001308/0.1337, allocations: 259 kB / 0.6132 GB, free: 308 kB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-08/0.1337, allocations: 0 / 0.6132 GB, free: 308 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002896/0.134, allocations: 119.8 kB / 0.6133 GB, free: 188 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.0001784/0.1342, allocations: 167 kB / 0.6135 GB, free: 8 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003546/0.1346, allocations: 394.8 kB / 0.6138 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1346, allocations: 0 / 0.6138 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.1347, allocations: 257.2 kB / 0.6141 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.1352, allocations: 163.4 kB / 0.6142 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1363, allocations: 0.709 MB / 0.6149 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.661e-05/0.1363, allocations: 97.3 kB / 0.615 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.1365, allocations: 55.14 kB / 0.6151 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.1367, allocations: 178.1 kB / 0.6152 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/0.1367, allocations: 0 / 0.6152 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.009041/0.1457, allocations: 7.53 MB / 0.6226 GB, free: 6.75 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.7881129789166152]