Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.001479/0.001479, allocations: 80.75 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.001722/0.001722, allocations: 181 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.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.7357/0.7357, allocations: 118.7 MB / 378.9 MB, free: 1.359 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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 430.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.439e-05, allocations: 2.312 kB / 430.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.3746/0.3747, allocations: 130.2 MB / 0.5479 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.3774, allocations: 1.8 MB / 0.5497 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003531/0.3777, allocations: 19.81 kB / 0.5497 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.3782, allocations: 131 kB / 0.5498 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000797/0.379, allocations: 425 kB / 0.5502 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.3797, allocations: 267.1 kB / 0.5505 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.3811, allocations: 0.811 MB / 0.5513 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.3813, allocations: 79.34 kB / 0.5513 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.3823, allocations: 466.6 kB / 0.5518 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.3828, allocations: 327.1 kB / 0.5521 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.3828, allocations: 36 kB / 0.5521 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006064/0.3835, allocations: 267.5 kB / 0.5524 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3836, allocations: 95.55 kB / 0.5525 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.3837, allocations: 171.5 kB / 0.5526 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008485/0.3846, allocations: 0.5372 MB / 0.5532 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3846, allocations: 3.938 kB / 0.5532 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3846, allocations: 0 / 0.5532 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.3846, allocations: 0 / 0.5532 GB, free: 3.684 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001098/0.3857, allocations: 0.7544 MB / 0.5539 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3857, allocations: 16.02 kB / 0.5539 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.3859, allocations: 72.77 kB / 0.554 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.3864, allocations: 355.8 kB / 0.5543 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.3864, allocations: 25.38 kB / 0.5544 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.3864, allocations: 40.33 kB / 0.5544 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.3868, allocations: 304 kB / 0.5547 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3868, allocations: 4.172 kB / 0.5547 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.3868, allocations: 24.31 kB / 0.5547 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.3869, allocations: 11.94 kB / 0.5547 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.387, allocations: 123.3 kB / 0.5548 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.3883, allocations: 0.9862 MB / 0.5558 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.3886, allocations: 200.3 kB / 0.556 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.227e-05/0.3887, allocations: 75.2 kB / 0.5561 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008475/0.3895, allocations: 0.5303 MB / 0.5566 GB, free: 60 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.3898, allocations: 143.3 kB / 0.5567 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/0.3898, allocations: 4 kB / 0.5567 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.0005276/0.3903, allocations: 282.7 kB / 0.557 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.3903, allocations: 55.41 kB / 0.557 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3905, allocations: 327.2 kB / 0.5574 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3906, allocations: 29.7 kB / 0.5574 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/0.391, allocations: 197.5 kB / 0.5576 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.391, allocations: 126.8 kB / 0.5577 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/0.3911, allocations: 77.98 kB / 0.5578 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3912, allocations: 354.7 kB / 0.5581 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.3913, allocations: 63 kB / 0.5582 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.855e-05/0.3914, allocations: 132.5 kB / 0.5583 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3916, allocations: 198.8 kB / 0.5585 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3916, allocations: 0 / 0.5585 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003365/0.3919, allocations: 304.5 kB / 0.5588 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.392, allocations: 37.69 kB / 0.5588 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.392, allocations: 0 / 0.5588 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.3921, allocations: 40.97 kB / 0.5589 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.3923, allocations: 79.83 kB / 0.5589 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008373/0.3931, allocations: 1.241 MB / 0.5601 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.3933, allocations: 37.28 kB / 0.5602 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.3933, allocations: 11.98 kB / 0.5602 GB, free: 12.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * 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.0001307/0.3934, allocations: 137.2 kB / 0.5603 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.303e-05/0.3935, allocations: 43.91 kB / 0.5604 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.394, allocations: 351.2 kB / 0.5607 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.394, allocations: 4 kB / 0.5607 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.394, allocations: 4.812 kB / 0.5607 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.394, allocations: 4 kB / 0.5607 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.3946, allocations: 0.5385 MB / 0.5612 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3946, allocations: 0 / 0.5612 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3947, allocations: 63.89 kB / 0.5613 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.3948, allocations: 45 kB / 0.5613 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.3948, allocations: 17.17 kB / 0.5614 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007011/0.3955, allocations: 1.236 MB / 0.5626 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3955, allocations: 0 / 0.5626 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.3959, allocations: 379.7 kB / 0.5629 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/0.396, allocations: 63.61 kB / 0.563 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.3961, allocations: 13.12 kB / 0.563 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3962, allocations: 15.98 kB / 0.563 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.3962, allocations: 43.81 kB / 0.5631 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.3963, allocations: 4 kB / 0.5631 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000104/0.3964, allocations: 136.7 kB / 0.5632 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3964, allocations: 0 / 0.5632 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003775/0.3967, allocations: 167.6 kB / 0.5633 GB, free: 8.738 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.rear.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 (34): * Single equations (assignments): 31 * 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.0002445/0.397, allocations: 156.3 kB / 0.5635 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.3974, allocations: 370.5 kB / 0.5638 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.3974, allocations: 4 kB / 0.5639 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.3976, allocations: 243.3 kB / 0.5641 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.3981, allocations: 182.5 kB / 0.5643 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.3999, allocations: 0.8063 MB / 0.565 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.053e-05/0.4, allocations: 113.8 kB / 0.5652 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.4002, allocations: 82.03 kB / 0.5652 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.4004, allocations: 169.2 kB / 0.5654 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/0.4004, allocations: 0 / 0.5654 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of Templates: time 0.01176/0.4122, allocations: 9.031 MB / 0.5742 GB, free: 13.77 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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.104930615983903]