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.0006973/0.0006973, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009522/0.001649, 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.0007347/0.0007347, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008908/0.001626, 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.9413/0.9413, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08102/1.022, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7021/0.7021, allocations: 118.6 MB / 362.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06076/0.7628, allocations: 35.84 MB / 398.4 MB, free: 13.25 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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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="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 7.61e-07/7.61e-07, allocations: 0 / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.164e-06/7.925e-06, allocations: 2.312 kB / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.2923/0.2923, allocations: 130.6 MB / 0.5179 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.2945, allocations: 1.815 MB / 0.5196 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.2948, allocations: 27.75 kB / 0.5197 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.295, allocations: 123 kB / 0.5198 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.2956, allocations: 418 kB / 0.5202 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.2961, allocations: 263.1 kB / 0.5204 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006886/0.2968, allocations: 0.8287 MB / 0.5212 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.297, allocations: 78.53 kB / 0.5213 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008128/0.2978, allocations: 0.4927 MB / 0.5218 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.2981, allocations: 319.2 kB / 0.5221 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.2981, allocations: 36 kB / 0.5221 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.2985, allocations: 267.5 kB / 0.5224 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.2986, allocations: 71.62 kB / 0.5225 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.2987, allocations: 143.7 kB / 0.5226 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.2992, allocations: 0.5021 MB / 0.5231 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-05/0.2993, allocations: 0 / 0.5231 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2993, allocations: 0 / 0.5231 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.2993, allocations: 0 / 0.5231 GB, free: 12.19 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.001042/0.3003, allocations: 0.9416 MB / 0.524 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.3004, allocations: 8.031 kB / 0.524 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.3005, allocations: 80.75 kB / 0.5241 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.3009, allocations: 351.7 kB / 0.5244 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3009, allocations: 29.36 kB / 0.5245 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.3009, allocations: 32.38 kB / 0.5245 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.3012, allocations: 308.1 kB / 0.5248 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3013, allocations: 192 / 0.5248 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.3013, allocations: 24.3 kB / 0.5248 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.3013, allocations: 11.94 kB / 0.5248 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3014, allocations: 127.2 kB / 0.5249 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009698/0.3024, allocations: 0.9763 MB / 0.5259 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.3028, allocations: 211.5 kB / 0.5261 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.3028, allocations: 65.41 kB / 0.5262 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007167/0.3036, allocations: 0.5342 MB / 0.5267 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.3037, allocations: 143.1 kB / 0.5268 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.3037, allocations: 7.938 kB / 0.5268 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0004656/0.3042, allocations: 282.9 kB / 0.5271 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.3042, allocations: 67.34 kB / 0.5272 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3044, allocations: 311.4 kB / 0.5274 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3044, allocations: 37.7 kB / 0.5275 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.3045, allocations: 189.4 kB / 0.5277 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.3046, allocations: 138.8 kB / 0.5278 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.3046, allocations: 70.03 kB / 0.5279 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.3047, allocations: 354.7 kB / 0.5282 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.3048, allocations: 66.42 kB / 0.5283 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-05/0.3049, allocations: 123.2 kB / 0.5284 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.305, allocations: 203.3 kB / 0.5286 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.305, allocations: 4 kB / 0.5286 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004176/0.3054, allocations: 298.5 kB / 0.5289 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.3055, allocations: 29.7 kB / 0.5289 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3055, allocations: 4 kB / 0.5289 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.3056, allocations: 40.97 kB / 0.5289 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.3058, allocations: 87.89 kB / 0.529 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006197/0.3064, allocations: 1.236 MB / 0.5302 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3065, allocations: 44.66 kB / 0.5303 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.3065, allocations: 12 kB / 0.5303 GB, free: 4.434 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.366e-05/0.3066, allocations: 140.6 kB / 0.5304 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.3067, allocations: 43.91 kB / 0.5305 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.3071, allocations: 354.4 kB / 0.5308 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3071, allocations: 4 kB / 0.5308 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.3071, allocations: 0 / 0.5308 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3071, allocations: 0 / 0.5308 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.3076, allocations: 0.5502 MB / 0.5313 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3076, allocations: 0 / 0.5313 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3077, allocations: 72.45 kB / 0.5314 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.3078, allocations: 55.62 kB / 0.5315 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.3079, allocations: 48.81 kB / 0.5315 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3079, allocations: 7.984 kB / 0.5315 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005373/0.3084, allocations: 1.238 MB / 0.5327 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3084, allocations: 0 / 0.5327 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.3088, allocations: 382.8 kB / 0.5331 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.3088, allocations: 16 kB / 0.5331 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3089, allocations: 19.98 kB / 0.5331 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.309, allocations: 35.88 kB / 0.5332 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.309, allocations: 9.188 kB / 0.5332 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.456e-05/0.3091, allocations: 136.7 kB / 0.5333 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.3091, allocations: 0 / 0.5333 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002912/0.3094, allocations: 163.6 kB / 0.5335 GB, free: 1.027 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.0001948/0.3096, allocations: 144.2 kB / 0.5336 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.3099, allocations: 383.9 kB / 0.534 GB, free: 484 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.3099, allocations: 11.94 kB / 0.534 GB, free: 472 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.3101, allocations: 243.2 kB / 0.5342 GB, free: 212 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.3106, allocations: 223.7 kB / 0.5344 GB, free: 4 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.3162, allocations: 0.8057 MB / 0.5352 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.3163, allocations: 114.4 kB / 0.5353 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.3165, allocations: 84.14 kB / 0.5354 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.3167, allocations: 173.2 kB / 0.5356 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/0.3167, allocations: 0 / 0.5356 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.0104/0.3271, allocations: 9.332 MB / 0.5447 GB, free: 5.699 MB / 0.5105 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 -emit_protected -ignoreHideResult -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: 3.6566859763115644]