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.001152/0.001152, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001749/0.002901, allocations: 440 kB / 10.41 MB, free: 284 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.0011/0.0011, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002564, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9498/0.9498, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09599/1.046, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.702/0.702, allocations: 118.8 MB / 362.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06562/0.7676, allocations: 35.86 MB / 398.8 MB, free: 13.21 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.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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="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.192e-06/1.192e-06, allocations: 0 / 400 MB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.037e-05, allocations: 10.19 kB / 400.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.3364/0.3364, allocations: 129.8 MB / 0.5175 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3383, allocations: 1.576 MB / 0.519 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.3385, allocations: 27.75 kB / 0.5191 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.3389, allocations: 99.12 kB / 0.5191 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.3394, allocations: 327 kB / 0.5195 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.3399, allocations: 207.2 kB / 0.5197 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.3404, allocations: 0.618 MB / 0.5203 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3405, allocations: 59.3 kB / 0.5203 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006814/0.3412, allocations: 417.6 kB / 0.5207 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.3414, allocations: 207.4 kB / 0.5209 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.3414, allocations: 24 kB / 0.5209 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.3418, allocations: 235.5 kB / 0.5212 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.3419, allocations: 51.75 kB / 0.5212 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.342, allocations: 111.7 kB / 0.5213 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.3425, allocations: 418.6 kB / 0.5217 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.3425, allocations: 0 / 0.5217 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.846e-06/0.3425, allocations: 0 / 0.5217 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.3425, allocations: 0 / 0.5217 GB, free: 13.88 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.0009088/0.3434, allocations: 0.851 MB / 0.5225 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3435, allocations: 8.031 kB / 0.5226 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.3436, allocations: 56.83 kB / 0.5226 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.3441, allocations: 356.5 kB / 0.5229 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3441, allocations: 16.88 kB / 0.523 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.3441, allocations: 20.38 kB / 0.523 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.3444, allocations: 206.9 kB / 0.5232 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3444, allocations: 5.609 kB / 0.5232 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.3444, allocations: 11.94 kB / 0.5232 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3444, allocations: 4 kB / 0.5232 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3446, allocations: 82.22 kB / 0.5233 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.3453, allocations: 0.6056 MB / 0.5239 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3455, allocations: 126.4 kB / 0.524 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.3456, allocations: 52.83 kB / 0.524 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004439/0.346, allocations: 355 kB / 0.5244 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.3461, allocations: 113.1 kB / 0.5245 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.3461, allocations: 0 / 0.5245 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0004378/0.3466, allocations: 220 kB / 0.5247 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.3466, allocations: 55.41 kB / 0.5248 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.3468, allocations: 335.3 kB / 0.5251 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3469, allocations: 29.7 kB / 0.5251 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.3469, allocations: 177.3 kB / 0.5253 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.347, allocations: 79.3 kB / 0.5253 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/0.3471, allocations: 57.62 kB / 0.5254 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.3472, allocations: 350.7 kB / 0.5257 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.3472, allocations: 53.69 kB / 0.5258 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.3473, allocations: 92.16 kB / 0.5259 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.3475, allocations: 136.5 kB / 0.526 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3475, allocations: 3.938 kB / 0.526 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002725/0.3477, allocations: 238.9 kB / 0.5262 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.3478, allocations: 33.7 kB / 0.5263 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3478, allocations: 3.984 kB / 0.5263 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.3479, allocations: 40.77 kB / 0.5263 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3481, allocations: 63.98 kB / 0.5264 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007682/0.3489, allocations: 1.225 MB / 0.5276 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.349, allocations: 27.83 kB / 0.5276 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.349, allocations: 8 kB / 0.5276 GB, free: 7.488 MB / 0.4948 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.245e-05/0.3491, allocations: 128.6 kB / 0.5277 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.3491, allocations: 39.88 kB / 0.5278 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.3494, allocations: 206.1 kB / 0.528 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3494, allocations: 5.062 kB / 0.528 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.3494, allocations: 0 / 0.528 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3495, allocations: 3.984 kB / 0.528 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.35, allocations: 436.2 kB / 0.5284 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.35, allocations: 4.031 kB / 0.5284 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.3501, allocations: 51.84 kB / 0.5284 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.12e-05/0.3501, allocations: 43.69 kB / 0.5285 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001399/0.3503, allocations: 44.94 kB / 0.5285 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3503, allocations: 12.92 kB / 0.5285 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006359/0.3509, allocations: 1.234 MB / 0.5297 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3509, allocations: 0.75 kB / 0.5297 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.3513, allocations: 309.6 kB / 0.53 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.3513, allocations: 8 kB / 0.53 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.3514, allocations: 15.92 kB / 0.5301 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.3515, allocations: 23.95 kB / 0.5301 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3515, allocations: 5 kB / 0.5301 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001235/0.3516, allocations: 144.8 kB / 0.5302 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.3516, allocations: 0 / 0.5302 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003263/0.352, allocations: 119.8 kB / 0.5303 GB, free: 4.527 MB / 0.4948 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.0001987/0.3522, allocations: 144.2 kB / 0.5305 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.3525, allocations: 338.5 kB / 0.5308 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.3525, allocations: 7.984 kB / 0.5308 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3527, allocations: 204 kB / 0.531 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/0.3535, allocations: 1.043 MB / 0.532 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/0.3595, allocations: 0.7164 MB / 0.5327 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.16e-05/0.3596, allocations: 101.3 kB / 0.5328 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.3598, allocations: 57.48 kB / 0.5329 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.36, allocations: 153.3 kB / 0.533 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.36, allocations: 4 kB / 0.533 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of Templates: time 0.01137/0.3714, allocations: 7.503 MB / 0.5403 GB, free: 10.2 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7958091916516423]