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.001057/0.001057, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001727/0.002784, 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.001564/0.001564, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002172/0.003735, 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.9254/0.9254, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08672/1.012, 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-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.6584/0.6584, allocations: 118.8 MB / 362.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05574/0.7141, allocations: 35.85 MB / 398.8 MB, free: 13.2 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.292e-06/1.292e-06, allocations: 0 / 400.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.206e-06/9.498e-06, allocations: 2.312 kB / 400.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.3388/0.3388, allocations: 130.6 MB / 0.5182 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3408, allocations: 1.803 MB / 0.52 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.341, allocations: 27.75 kB / 0.52 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.3413, allocations: 127 kB / 0.5201 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005318/0.3418, allocations: 425.9 kB / 0.5205 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.3422, allocations: 259.1 kB / 0.5208 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.3427, allocations: 0.8213 MB / 0.5216 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3428, allocations: 82.53 kB / 0.5217 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.3433, allocations: 499.3 kB / 0.5221 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.3435, allocations: 319.1 kB / 0.5224 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.3436, allocations: 36 kB / 0.5225 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.3438, allocations: 267.5 kB / 0.5227 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.3439, allocations: 71.67 kB / 0.5228 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.344, allocations: 151.7 kB / 0.5229 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.3444, allocations: 0.4943 MB / 0.5234 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.3444, allocations: 0 / 0.5234 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.438e-06/0.3444, allocations: 0 / 0.5234 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.3444, allocations: 0 / 0.5234 GB, free: 12.1 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.0009027/0.3453, allocations: 0.9416 MB / 0.5243 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.3454, allocations: 12.03 kB / 0.5244 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.3455, allocations: 76.81 kB / 0.5244 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.3458, allocations: 351.7 kB / 0.5248 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3458, allocations: 29.31 kB / 0.5248 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.3459, allocations: 36.38 kB / 0.5248 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.3462, allocations: 308.1 kB / 0.5251 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3462, allocations: 192 / 0.5251 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3462, allocations: 12.38 kB / 0.5251 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.3462, allocations: 11.94 kB / 0.5251 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3464, allocations: 131.2 kB / 0.5253 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008641/0.3472, allocations: 0.984 MB / 0.5262 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.3475, allocations: 206 kB / 0.5264 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.996e-05/0.3476, allocations: 76.77 kB / 0.5265 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000717/0.3483, allocations: 0.5326 MB / 0.527 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.3484, allocations: 145.5 kB / 0.5272 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.293e-06/0.3484, allocations: 0 / 0.5272 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0004346/0.3489, allocations: 290.6 kB / 0.5274 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.3489, allocations: 67.33 kB / 0.5275 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3491, allocations: 307.4 kB / 0.5278 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3491, allocations: 37.7 kB / 0.5278 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.3492, allocations: 193.4 kB / 0.528 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.3492, allocations: 130.8 kB / 0.5281 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.3493, allocations: 70.03 kB / 0.5282 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.3494, allocations: 362.7 kB / 0.5285 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.3494, allocations: 66.42 kB / 0.5286 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.3495, allocations: 124.6 kB / 0.5287 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3497, allocations: 207.3 kB / 0.5289 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3497, allocations: 0 / 0.5289 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00027/0.35, allocations: 298.5 kB / 0.5292 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.35, allocations: 37.69 kB / 0.5292 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.35, allocations: 0 / 0.5292 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.3501, allocations: 32.83 kB / 0.5293 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.3503, allocations: 88.05 kB / 0.5294 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006053/0.3509, allocations: 1.246 MB / 0.5306 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.351, allocations: 35.77 kB / 0.5306 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.351, allocations: 12 kB / 0.5306 GB, free: 4.324 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 9.099e-05/0.3511, allocations: 136.5 kB / 0.5308 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.3511, allocations: 47.92 kB / 0.5308 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.3515, allocations: 347 kB / 0.5311 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3515, allocations: 4 kB / 0.5311 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3515, allocations: 4 kB / 0.5311 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3515, allocations: 3.984 kB / 0.5311 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.352, allocations: 0.5507 MB / 0.5317 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.352, allocations: 0 / 0.5317 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.3522, allocations: 63.97 kB / 0.5317 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.3522, allocations: 60.25 kB / 0.5318 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.673e-05/0.3523, allocations: 48.69 kB / 0.5318 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3523, allocations: 8 kB / 0.5319 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005192/0.3529, allocations: 1.239 MB / 0.5331 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3529, allocations: 0 / 0.5331 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.3532, allocations: 383.7 kB / 0.5334 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.3532, allocations: 19.92 kB / 0.5334 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3533, allocations: 8 kB / 0.5335 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.3534, allocations: 43.92 kB / 0.5335 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.3534, allocations: 8 kB / 0.5335 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.153e-05/0.3535, allocations: 136.7 kB / 0.5336 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.3535, allocations: 0 / 0.5336 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003286/0.3538, allocations: 167.6 kB / 0.5338 GB, free: 0.918 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.0001827/0.354, allocations: 144.2 kB / 0.5339 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003279/0.3543, allocations: 391 kB / 0.5343 GB, free: 364 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.3543, allocations: 15.92 kB / 0.5343 GB, free: 348 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.3545, allocations: 252 kB / 0.5346 GB, free: 80 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.3552, allocations: 1.023 MB / 0.5356 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/0.3606, allocations: 0.8067 MB / 0.5363 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.415e-05/0.3607, allocations: 114.4 kB / 0.5365 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.3609, allocations: 83.25 kB / 0.5365 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.3611, allocations: 169.2 kB / 0.5367 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.3611, allocations: 0 / 0.5367 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.01029/0.3714, allocations: 9.275 MB / 0.5458 GB, free: 4.602 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6459468472748995]