Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001171/0.001171, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001816/0.002987, 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.001115/0.001115, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001569/0.002684, 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 1.111/1.111, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.218, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.73/0.73, allocations: 118.7 MB / 362.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06761/0.7976, allocations: 35.83 MB / 398.7 MB, free: 13.09 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/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_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_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.928e-05, allocations: 2.312 kB / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.4081/0.4081, allocations: 129.8 MB / 0.5174 GB, free: 2.008 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.4104, allocations: 1.588 MB / 0.519 GB, free: 436 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.4107, allocations: 23.75 kB / 0.519 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.411, allocations: 83.28 kB / 0.5191 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006589/0.4116, allocations: 335 kB / 0.5194 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.4122, allocations: 219.1 kB / 0.5196 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006681/0.4129, allocations: 0.5985 MB / 0.5202 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.413, allocations: 63.28 kB / 0.5203 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000756/0.4138, allocations: 428.8 kB / 0.5207 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.4141, allocations: 199.4 kB / 0.5209 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.4141, allocations: 24 kB / 0.5209 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.4146, allocations: 235.6 kB / 0.5211 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.967e-05/0.4146, allocations: 55.69 kB / 0.5212 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.142e-05/0.4147, allocations: 103.8 kB / 0.5213 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.4153, allocations: 426.4 kB / 0.5217 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.652e-05/0.4154, allocations: 0 / 0.5217 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4154, allocations: 0 / 0.5217 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.4154, allocations: 0 / 0.5217 GB, free: 13.67 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.001185/0.4166, allocations: 0.8554 MB / 0.5225 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.4166, allocations: 8.031 kB / 0.5225 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.4167, allocations: 56.83 kB / 0.5226 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.4172, allocations: 348.6 kB / 0.5229 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.4172, allocations: 16.88 kB / 0.5229 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.4172, allocations: 24.38 kB / 0.5229 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.4175, allocations: 199 kB / 0.5231 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4175, allocations: 4.312 kB / 0.5231 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.4175, allocations: 15.94 kB / 0.5231 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4175, allocations: 5.25 kB / 0.5231 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.635e-05/0.4176, allocations: 70.28 kB / 0.5232 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007791/0.4184, allocations: 0.6094 MB / 0.5238 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.4186, allocations: 143.1 kB / 0.5239 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.4186, allocations: 45.83 kB / 0.524 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004414/0.4191, allocations: 370.4 kB / 0.5243 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.4193, allocations: 101.1 kB / 0.5244 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.4193, allocations: 0 / 0.5244 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.000432/0.4197, allocations: 223.9 kB / 0.5247 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.4197, allocations: 59.34 kB / 0.5247 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.4199, allocations: 331.3 kB / 0.525 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.42, allocations: 33.7 kB / 0.5251 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.4201, allocations: 169.3 kB / 0.5252 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.4201, allocations: 75.31 kB / 0.5253 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.4202, allocations: 61.61 kB / 0.5253 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.4203, allocations: 350.7 kB / 0.5257 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.4203, allocations: 57.69 kB / 0.5257 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.4204, allocations: 88.16 kB / 0.5258 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.4205, allocations: 144.3 kB / 0.526 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4205, allocations: 3.938 kB / 0.526 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002672/0.4208, allocations: 231.8 kB / 0.5262 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.4208, allocations: 33.7 kB / 0.5262 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4208, allocations: 2.188 kB / 0.5262 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/0.421, allocations: 44.89 kB / 0.5263 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4212, allocations: 55.91 kB / 0.5263 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00073/0.4219, allocations: 1.225 MB / 0.5275 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.422, allocations: 31.86 kB / 0.5275 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.422, allocations: 8 kB / 0.5275 GB, free: 7.285 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 0.0001053/0.4221, allocations: 129.2 kB / 0.5277 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.4222, allocations: 39.84 kB / 0.5277 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.4224, allocations: 195.7 kB / 0.5279 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.4225, allocations: 15.91 kB / 0.5279 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4225, allocations: 5.062 kB / 0.5279 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4225, allocations: 0 / 0.5279 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.4229, allocations: 434.1 kB / 0.5283 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4229, allocations: 4 kB / 0.5283 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.606e-05/0.423, allocations: 47.84 kB / 0.5284 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.4231, allocations: 47.69 kB / 0.5284 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.4232, allocations: 44.83 kB / 0.5285 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.4232, allocations: 8 kB / 0.5285 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007674/0.424, allocations: 1.23 MB / 0.5297 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.424, allocations: 1.25 kB / 0.5297 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.4243, allocations: 316.4 kB / 0.53 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.4244, allocations: 12.06 kB / 0.53 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.4244, allocations: 19.86 kB / 0.53 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.4245, allocations: 27.94 kB / 0.53 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.4245, allocations: 11.98 kB / 0.53 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001212/0.4246, allocations: 136.7 kB / 0.5302 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.4246, allocations: 0 / 0.5302 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003318/0.425, allocations: 119.8 kB / 0.5303 GB, free: 4.32 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.0002176/0.4252, allocations: 144.1 kB / 0.5304 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.4255, allocations: 332.3 kB / 0.5307 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.4255, allocations: 8 kB / 0.5308 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.4257, allocations: 211.8 kB / 0.531 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006898/0.4264, allocations: 1.033 MB / 0.532 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.4309, allocations: 0.7082 MB / 0.5327 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.431, allocations: 101.3 kB / 0.5328 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.4312, allocations: 62.08 kB / 0.5328 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.4314, allocations: 157.2 kB / 0.533 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/0.4314, allocations: 0 / 0.533 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of Templates: time 0.01042/0.4418, allocations: 7.508 MB / 0.5403 GB, free: 9.992 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.91943765245378]