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.001064/0.001064, allocations: 73.97 kB / 20.65 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.001529/0.001529, allocations: 169 kB / 24.06 MB, free: 452 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.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.729/0.729, allocations: 118.6 MB / 379.7 MB, free: 1.367 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.673e-06/1.673e-06, allocations: 0 / 484.8 MB, free: 8.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.426e-05, allocations: 3.75 kB / 484.8 MB, free: 8.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1355/0.1355, allocations: 127.5 MB / 0.598 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1374, allocations: 1.557 MB / 0.5995 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.1377, allocations: 23.75 kB / 0.5995 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.1381, allocations: 87.27 kB / 0.5996 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.1387, allocations: 337.6 kB / 0.5999 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.1391, allocations: 227.2 kB / 0.6001 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.1397, allocations: 0.6024 MB / 0.6007 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1398, allocations: 57.08 kB / 0.6008 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005553/0.1404, allocations: 390.8 kB / 0.6011 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1406, allocations: 203.4 kB / 0.6013 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.1406, allocations: 24 kB / 0.6014 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.1409, allocations: 227.5 kB / 0.6016 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.141, allocations: 75.61 kB / 0.6016 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1411, allocations: 127.6 kB / 0.6018 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.1416, allocations: 458.3 kB / 0.6022 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1416, allocations: 0 / 0.6022 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.61e-07/0.1416, allocations: 0 / 0.6022 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1416, allocations: 4 kB / 0.6022 GB, free: 12.14 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.0009389/0.1426, allocations: 0.8011 MB / 0.603 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1426, allocations: 16.02 kB / 0.603 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.1427, allocations: 72.55 kB / 0.6031 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.1431, allocations: 378 kB / 0.6034 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.1432, allocations: 20.88 kB / 0.6034 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1432, allocations: 24.36 kB / 0.6035 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.1435, allocations: 200.6 kB / 0.6037 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1435, allocations: 192 / 0.6037 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1435, allocations: 11.94 kB / 0.6037 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1435, allocations: 4 kB / 0.6037 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1436, allocations: 87.34 kB / 0.6038 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008643/0.1445, allocations: 0.8786 MB / 0.6046 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.1447, allocations: 155 kB / 0.6048 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.194e-05/0.1447, allocations: 55.16 kB / 0.6048 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004874/0.1452, allocations: 0.5038 MB / 0.6053 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.1454, allocations: 110.2 kB / 0.6054 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 2.003e-06/0.1454, allocations: 0 / 0.6054 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.0004954/0.1459, allocations: 291.1 kB / 0.6057 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1459, allocations: 59.34 kB / 0.6058 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.1461, allocations: 386.5 kB / 0.6061 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1462, allocations: 29.7 kB / 0.6061 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1463, allocations: 259 kB / 0.6064 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.1463, allocations: 87.28 kB / 0.6065 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.1464, allocations: 55.3 kB / 0.6065 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1465, allocations: 0.5273 MB / 0.607 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.1466, allocations: 57.67 kB / 0.6071 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.121e-05/0.1467, allocations: 116.4 kB / 0.6072 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1468, allocations: 151.9 kB / 0.6074 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1468, allocations: 0 / 0.6074 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003141/0.1471, allocations: 294.9 kB / 0.6076 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.1472, allocations: 33.7 kB / 0.6077 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1472, allocations: 4.094 kB / 0.6077 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.1474, allocations: 43.58 kB / 0.6077 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1475, allocations: 47.92 kB / 0.6078 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008721/0.1483, allocations: 1.796 MB / 0.6095 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1484, allocations: 35.88 kB / 0.6096 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1485, allocations: 11.98 kB / 0.6096 GB, free: 4.164 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.0001055/0.1486, allocations: 164.5 kB / 0.6097 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.1486, allocations: 59.64 kB / 0.6098 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.149, allocations: 246.4 kB / 0.61 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.149, allocations: 4 kB / 0.61 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.149, allocations: 4 kB / 0.61 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.149, allocations: 7.922 kB / 0.61 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.1495, allocations: 0.5597 MB / 0.6106 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1495, allocations: 4 kB / 0.6106 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.238e-05/0.1496, allocations: 43.91 kB / 0.6106 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.1497, allocations: 39.64 kB / 0.6107 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1497, allocations: 12.02 kB / 0.6107 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007685/0.1505, allocations: 1.792 MB / 0.6124 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1505, allocations: 3.938 kB / 0.6124 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.1508, allocations: 422.6 kB / 0.6128 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.1509, allocations: 71.55 kB / 0.6129 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1509, allocations: 12.06 kB / 0.6129 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.151, allocations: 11.98 kB / 0.6129 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.1511, allocations: 23.95 kB / 0.6129 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1511, allocations: 12 kB / 0.6129 GB, free: 500 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000129/0.1512, allocations: 251 kB / 0.6132 GB, free: 252 kB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-08/0.1512, allocations: 0 / 0.6132 GB, free: 252 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002768/0.1515, allocations: 119.8 kB / 0.6133 GB, free: 132 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.0002173/0.1517, allocations: 166.9 kB / 0.6135 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.1521, allocations: 386.6 kB / 0.6138 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1521, allocations: 0 / 0.6138 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.1523, allocations: 265.7 kB / 0.6141 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.1527, allocations: 166 kB / 0.6142 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1539, allocations: 0.6968 MB / 0.6149 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.703e-05/0.1539, allocations: 97.3 kB / 0.615 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000126/0.1541, allocations: 60.06 kB / 0.6151 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.1543, allocations: 186 kB / 0.6153 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of SimCode: time 7.31e-07/0.1543, allocations: 0 / 0.6153 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of Templates: time 0.00919/0.1635, allocations: 7.517 MB / 0.6226 GB, free: 6.707 MB / 0.5417 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.041126932948828]