Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001059/0.001059, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.002469, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001073/0.001073, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.00247, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9277/0.9277, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07697/1.005, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.6327/0.6327, allocations: 118.7 MB / 362.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05924/0.6919, allocations: 35.85 MB / 398.5 MB, free: 13.34 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 399.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.771e-05, allocations: 6.312 kB / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.3141/0.3141, allocations: 130.6 MB / 0.5179 GB, free: 1.711 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.3161, allocations: 1.808 MB / 0.5197 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.3163, allocations: 23.75 kB / 0.5197 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3166, allocations: 123 kB / 0.5198 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000569/0.3171, allocations: 433.9 kB / 0.5203 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.3176, allocations: 263 kB / 0.5205 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005751/0.3181, allocations: 0.8209 MB / 0.5213 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3183, allocations: 82.53 kB / 0.5214 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005501/0.3188, allocations: 0.4966 MB / 0.5219 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.3191, allocations: 315.1 kB / 0.5222 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.3192, allocations: 32 kB / 0.5222 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.3196, allocations: 271.5 kB / 0.5225 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.3197, allocations: 67.69 kB / 0.5225 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.3198, allocations: 151.7 kB / 0.5227 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.3203, allocations: 0.4943 MB / 0.5231 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-05/0.3203, allocations: 0 / 0.5231 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.41e-07/0.3203, allocations: 0 / 0.5231 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.3204, allocations: 4 kB / 0.5232 GB, free: 12.36 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.000934/0.3213, allocations: 0.9377 MB / 0.5241 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.3213, allocations: 12.03 kB / 0.5241 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.3214, allocations: 74.06 kB / 0.5241 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.3218, allocations: 355.7 kB / 0.5245 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3218, allocations: 25.38 kB / 0.5245 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.3219, allocations: 36.36 kB / 0.5245 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.3222, allocations: 308 kB / 0.5248 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3222, allocations: 192 / 0.5248 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3222, allocations: 16.38 kB / 0.5249 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3222, allocations: 11.94 kB / 0.5249 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.3223, allocations: 131.2 kB / 0.525 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000905/0.3232, allocations: 0.9808 MB / 0.526 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.3235, allocations: 194.2 kB / 0.5261 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.09e-05/0.3236, allocations: 76.8 kB / 0.5262 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006618/0.3242, allocations: 0.5419 MB / 0.5267 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.3244, allocations: 143 kB / 0.5269 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.283e-06/0.3244, allocations: 0 / 0.5269 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0004209/0.3248, allocations: 294.8 kB / 0.5272 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.3248, allocations: 55.41 kB / 0.5272 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.325, allocations: 319.4 kB / 0.5275 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.325, allocations: 29.7 kB / 0.5275 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.3251, allocations: 193.4 kB / 0.5277 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.3251, allocations: 134.8 kB / 0.5279 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/0.3252, allocations: 77.97 kB / 0.5279 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.3253, allocations: 354.7 kB / 0.5283 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.22e-05/0.3254, allocations: 66.42 kB / 0.5283 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.3255, allocations: 129 kB / 0.5285 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.3257, allocations: 196.8 kB / 0.5286 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3257, allocations: 0 / 0.5286 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003723/0.326, allocations: 302.6 kB / 0.5289 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.3261, allocations: 33.7 kB / 0.529 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3261, allocations: 0 / 0.529 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.3262, allocations: 36.83 kB / 0.529 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.3264, allocations: 83.89 kB / 0.5291 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000847/0.3273, allocations: 1.242 MB / 0.5303 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.3274, allocations: 35.77 kB / 0.5303 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.3275, allocations: 12 kB / 0.5303 GB, free: 4.613 MB / 0.4948 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.0001091/0.3276, allocations: 140.7 kB / 0.5305 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.3276, allocations: 43.91 kB / 0.5305 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.3281, allocations: 361.7 kB / 0.5309 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3281, allocations: 4 kB / 0.5309 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3281, allocations: 0 / 0.5309 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3281, allocations: 0 / 0.5309 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.3288, allocations: 0.5423 MB / 0.5314 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3288, allocations: 0.875 kB / 0.5314 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.3289, allocations: 71.97 kB / 0.5315 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-05/0.329, allocations: 59.62 kB / 0.5315 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.3292, allocations: 44.69 kB / 0.5316 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.3292, allocations: 15.98 kB / 0.5316 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006276/0.3298, allocations: 1.234 MB / 0.5328 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3298, allocations: 3.938 kB / 0.5328 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.3302, allocations: 390.8 kB / 0.5332 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.3303, allocations: 12.81 kB / 0.5332 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3304, allocations: 8 kB / 0.5332 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.3305, allocations: 43.86 kB / 0.5332 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3305, allocations: 4 kB / 0.5332 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001141/0.3306, allocations: 140.8 kB / 0.5334 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.3306, allocations: 0 / 0.5334 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003698/0.331, allocations: 167.6 kB / 0.5335 GB, free: 1.195 MB / 0.4948 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.0001973/0.3312, allocations: 145.2 kB / 0.5337 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.3315, allocations: 383.9 kB / 0.534 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/0.3315, allocations: 19.94 kB / 0.534 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.3317, allocations: 234.8 kB / 0.5343 GB, free: 384 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.3323, allocations: 224.8 kB / 0.5345 GB, free: 172 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/0.3401, allocations: 0.798 MB / 0.5353 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.724e-05/0.3401, allocations: 110.4 kB / 0.5354 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.3404, allocations: 90.22 kB / 0.5354 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.3406, allocations: 177.2 kB / 0.5356 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of SimCode: time 7.61e-07/0.3406, allocations: 4 kB / 0.5356 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.01308/0.3537, allocations: 9.326 MB / 0.5447 GB, free: 5.824 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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: 3.7080764761194587]