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.001041/0.001041, allocations: 93.06 kB / 19.65 MB, free: 280 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.001093/0.001093, allocations: 173 kB / 23.02 MB, free: 1.551 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.9969/0.9969, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7408/0.7408, allocations: 118.6 MB / 378.6 MB, free: 1.469 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 2.053e-06/2.053e-06, allocations: 0 / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.411e-05/3.617e-05, allocations: 2.312 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1456/0.1456, allocations: 130.4 MB / 0.5996 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.1479, allocations: 1.553 MB / 0.6011 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.1482, allocations: 23.75 kB / 0.6012 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.1488, allocations: 91.25 kB / 0.6012 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007917/0.1496, allocations: 329.6 kB / 0.6016 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.1502, allocations: 235.2 kB / 0.6018 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.151, allocations: 0.6024 MB / 0.6024 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1511, allocations: 56.91 kB / 0.6024 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007872/0.1519, allocations: 390.7 kB / 0.6028 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.1522, allocations: 211.4 kB / 0.603 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.1522, allocations: 24 kB / 0.603 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.1527, allocations: 219.6 kB / 0.6032 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1528, allocations: 67.64 kB / 0.6033 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1529, allocations: 131.6 kB / 0.6034 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007197/0.1536, allocations: 458.4 kB / 0.6039 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1536, allocations: 0 / 0.6039 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1536, allocations: 0 / 0.6039 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.1536, allocations: 4 kB / 0.6039 GB, free: 9.492 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.001173/0.1548, allocations: 0.805 MB / 0.6046 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1549, allocations: 12.03 kB / 0.6047 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.155, allocations: 72.55 kB / 0.6047 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.1555, allocations: 378 kB / 0.6051 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.1555, allocations: 16.88 kB / 0.6051 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.1556, allocations: 28.38 kB / 0.6051 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.1559, allocations: 220.6 kB / 0.6053 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1559, allocations: 192 / 0.6053 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.156, allocations: 7.938 kB / 0.6053 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.156, allocations: 8 kB / 0.6054 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.1561, allocations: 98.92 kB / 0.6055 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1572, allocations: 0.9406 MB / 0.6064 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.1575, allocations: 155 kB / 0.6065 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.1576, allocations: 63.66 kB / 0.6066 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000581/0.1582, allocations: 0.5077 MB / 0.6071 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.1584, allocations: 118.1 kB / 0.6072 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 2.124e-06/0.1584, allocations: 0 / 0.6072 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.0006196/0.159, allocations: 310.1 kB / 0.6075 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.159, allocations: 55.41 kB / 0.6075 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.1593, allocations: 394.7 kB / 0.6079 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1593, allocations: 33.7 kB / 0.6079 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.1595, allocations: 263.1 kB / 0.6082 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.1595, allocations: 75.31 kB / 0.6083 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.1596, allocations: 63.31 kB / 0.6083 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1598, allocations: 0.5195 MB / 0.6088 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.1599, allocations: 69.67 kB / 0.6089 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.16, allocations: 124.4 kB / 0.609 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.1601, allocations: 163.9 kB / 0.6092 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1601, allocations: 0 / 0.6092 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004042/0.1606, allocations: 312.4 kB / 0.6095 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.1606, allocations: 37.69 kB / 0.6095 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.1606, allocations: 8.031 kB / 0.6095 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002586/0.1609, allocations: 43.64 kB / 0.6096 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.161, allocations: 43.92 kB / 0.6096 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.1621, allocations: 1.822 MB / 0.6114 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1622, allocations: 31.86 kB / 0.6114 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1622, allocations: 8 kB / 0.6114 GB, free: 1.289 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.0001198/0.1624, allocations: 172.5 kB / 0.6116 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.1624, allocations: 55.7 kB / 0.6116 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.1628, allocations: 264.3 kB / 0.6119 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1628, allocations: 11.92 kB / 0.6119 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1628, allocations: 4 kB / 0.6119 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1628, allocations: 0 / 0.6119 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/0.1634, allocations: 0.6344 MB / 0.6125 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1634, allocations: 0 / 0.6125 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.47e-05/0.1635, allocations: 35.92 kB / 0.6126 GB, free: 52 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/0.1637, allocations: 47.66 kB / 0.6126 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.1637, allocations: 12.09 kB / 0.6126 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008585/0.1646, allocations: 1.83 MB / 0.6144 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1646, allocations: 0 / 0.6144 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.165, allocations: 453.7 kB / 0.6148 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.1651, allocations: 59.62 kB / 0.6149 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1651, allocations: 8.047 kB / 0.6149 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.1652, allocations: 16 kB / 0.6149 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.1653, allocations: 23.95 kB / 0.6149 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.1653, allocations: 15.98 kB / 0.615 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001839/0.1655, allocations: 267.1 kB / 0.6152 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.1655, allocations: 4 kB / 0.6152 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003096/0.1658, allocations: 115.8 kB / 0.6153 GB, free: 13.08 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.0002459/0.1661, allocations: 162.9 kB / 0.6155 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004857/0.1666, allocations: 406.6 kB / 0.6159 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1666, allocations: 0 / 0.6159 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.1668, allocations: 274.2 kB / 0.6161 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.1673, allocations: 156.7 kB / 0.6163 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1687, allocations: 0.7044 MB / 0.617 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.835e-05/0.1688, allocations: 101.3 kB / 0.6171 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000166/0.169, allocations: 55.2 kB / 0.6171 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.169, allocations: 40.48 kB / 0.6172 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of SimCode: time 8.82e-07/0.169, allocations: 0 / 0.6172 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.01194/0.181, allocations: 7.309 MB / 0.6243 GB, free: 3.965 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.089643050916493]