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.001541/0.001541, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001901/0.001901, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.7983/0.7983, allocations: 118.6 MB / 378.9 MB, free: 1.316 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.543e-06/1.543e-06, allocations: 0 / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.305e-05, allocations: 2.312 kB / 430.8 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.3536/0.3536, allocations: 129.5 MB / 0.5472 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.3556, allocations: 1.578 MB / 0.5487 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.3558, allocations: 23.75 kB / 0.5487 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.3561, allocations: 99.08 kB / 0.5488 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005494/0.3567, allocations: 325.8 kB / 0.5491 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.3571, allocations: 215.2 kB / 0.5494 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000538/0.3577, allocations: 0.6101 MB / 0.5499 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3578, allocations: 71.84 kB / 0.55 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.3583, allocations: 370.9 kB / 0.5504 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.3585, allocations: 195.4 kB / 0.5506 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.3586, allocations: 24 kB / 0.5506 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.3589, allocations: 251.5 kB / 0.5508 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.359, allocations: 71.62 kB / 0.5509 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.747e-05/0.3591, allocations: 123.6 kB / 0.551 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.3596, allocations: 454.4 kB / 0.5514 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3596, allocations: 4 kB / 0.5514 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3596, allocations: 0 / 0.5514 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3596, allocations: 0 / 0.5514 GB, free: 5.41 MB / 0.4948 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.0008173/0.3604, allocations: 0.6833 MB / 0.5521 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3605, allocations: 8.031 kB / 0.5521 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.289e-05/0.3605, allocations: 56.83 kB / 0.5522 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.3609, allocations: 357.8 kB / 0.5525 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.361, allocations: 16.88 kB / 0.5525 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.361, allocations: 20.38 kB / 0.5526 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.3612, allocations: 202.9 kB / 0.5527 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3612, allocations: 4.375 kB / 0.5527 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3613, allocations: 7.938 kB / 0.5528 GB, free: 4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3613, allocations: 4 kB / 0.5528 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3614, allocations: 80.53 kB / 0.5528 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.3621, allocations: 0.6169 MB / 0.5534 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.3622, allocations: 127 kB / 0.5536 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.3623, allocations: 52.81 kB / 0.5536 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/0.3627, allocations: 359.1 kB / 0.554 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.3628, allocations: 110.9 kB / 0.5541 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.3628, allocations: 0 / 0.5541 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0003804/0.3632, allocations: 211.6 kB / 0.5543 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3632, allocations: 59.41 kB / 0.5543 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3634, allocations: 331.9 kB / 0.5546 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3635, allocations: 33.7 kB / 0.5547 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.3635, allocations: 169.3 kB / 0.5548 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.3636, allocations: 87.28 kB / 0.5549 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.3636, allocations: 49.69 kB / 0.555 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.3637, allocations: 350.7 kB / 0.5553 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.3638, allocations: 57.69 kB / 0.5553 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.3639, allocations: 92.14 kB / 0.5554 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.364, allocations: 143.7 kB / 0.5556 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.364, allocations: 3.938 kB / 0.5556 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002401/0.3642, allocations: 232.9 kB / 0.5558 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.3643, allocations: 33.7 kB / 0.5558 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3643, allocations: 0.5469 kB / 0.5558 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.3644, allocations: 36.81 kB / 0.5559 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3645, allocations: 51.91 kB / 0.5559 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006704/0.3652, allocations: 1.241 MB / 0.5571 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.629e-05/0.3653, allocations: 27.83 kB / 0.5572 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3653, allocations: 4.625 kB / 0.5572 GB, free: 15.22 MB / 0.5105 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 9.105e-05/0.3654, allocations: 128.6 kB / 0.5573 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.3655, allocations: 39.89 kB / 0.5573 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.3657, allocations: 206.2 kB / 0.5575 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3657, allocations: 4 kB / 0.5575 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3657, allocations: 0 / 0.5575 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3657, allocations: 4.125 kB / 0.5575 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.3661, allocations: 433.6 kB / 0.5579 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3661, allocations: 0 / 0.5579 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-05/0.3662, allocations: 47.84 kB / 0.558 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.3663, allocations: 48.78 kB / 0.558 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3663, allocations: 12.73 kB / 0.558 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006759/0.367, allocations: 1.219 MB / 0.5592 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.367, allocations: 4 kB / 0.5592 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.3673, allocations: 315.8 kB / 0.5595 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.3674, allocations: 47.69 kB / 0.5596 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3674, allocations: 9.297 kB / 0.5596 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.3675, allocations: 15.94 kB / 0.5596 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.3676, allocations: 27.94 kB / 0.5596 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3676, allocations: 4 kB / 0.5596 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001099/0.3677, allocations: 147.1 kB / 0.5598 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3677, allocations: 0 / 0.5598 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002564/0.368, allocations: 119.8 kB / 0.5599 GB, free: 12.28 MB / 0.5105 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.0001811/0.3681, allocations: 148.3 kB / 0.56 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.3685, allocations: 332.6 kB / 0.5603 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3685, allocations: 4.188 kB / 0.5604 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3686, allocations: 195.4 kB / 0.5605 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.369, allocations: 143.9 kB / 0.5607 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3701, allocations: 0.728 MB / 0.5614 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.357e-05/0.3702, allocations: 97.3 kB / 0.5615 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.3703, allocations: 60.98 kB / 0.5615 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.3705, allocations: 149.3 kB / 0.5617 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of SimCode: time 9.91e-07/0.3705, allocations: 0 / 0.5617 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.008817/0.3793, allocations: 7.325 MB / 0.5688 GB, free: 3.227 MB / 0.5105 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 -s gbode -gbm=radauIIA3 -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.000698753632605]