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.002435/0.002435, allocations: 89.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002912/0.002912, allocations: 169.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.087/1.087, allocations: 118.6 MB / 378.2 MB, free: 1.5 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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="Time|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="Time|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 1.903e-06/1.903e-06, allocations: 0 / 482.9 MB, free: 8.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.968e-05, allocations: 2.312 kB / 482.9 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.2099/0.21, allocations: 139.1 MB / 0.6074 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006191/0.2162, allocations: 3.486 MB / 0.6108 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000528/0.2167, allocations: 23.81 kB / 0.6108 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008164/0.2175, allocations: 202.5 kB / 0.611 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.2191, allocations: 0.5432 MB / 0.6115 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.2204, allocations: 410.4 kB / 0.6119 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.2215, allocations: 0.8238 MB / 0.6127 GB, free: 36 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.2218, allocations: 74.67 kB / 0.6128 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.2228, allocations: 0.4984 MB / 0.6133 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.2234, allocations: 331.1 kB / 0.6136 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/0.2234, allocations: 36 kB / 0.6136 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.2246, allocations: 0.495 MB / 0.6141 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.2247, allocations: 99.53 kB / 0.6142 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.225, allocations: 175.5 kB / 0.6144 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.2264, allocations: 0.7632 MB / 0.6151 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2264, allocations: 0 / 0.6151 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2264, allocations: 3.938 kB / 0.6151 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.2264, allocations: 3.938 kB / 0.6151 GB, free: 13.56 MB / 0.5417 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.001823/0.2282, allocations: 0.9108 MB / 0.616 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2283, allocations: 8.031 kB / 0.616 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.2285, allocations: 104.4 kB / 0.6161 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/0.2292, allocations: 385.2 kB / 0.6165 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.2293, allocations: 29.36 kB / 0.6165 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.2293, allocations: 32.38 kB / 0.6166 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007789/0.2301, allocations: 398.7 kB / 0.6169 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.2301, allocations: 192 / 0.6169 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.2301, allocations: 16.12 kB / 0.617 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.2302, allocations: 8 kB / 0.617 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000635/0.2308, allocations: 270.4 kB / 0.6172 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002662/0.2335, allocations: 1.552 MB / 0.6187 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/0.2344, allocations: 317.4 kB / 0.619 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.2347, allocations: 162 kB / 0.6192 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/0.2365, allocations: 0.7697 MB / 0.62 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004958/0.237, allocations: 220.5 kB / 0.6202 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 2.785e-06/0.237, allocations: 0 / 0.6202 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.001637/0.2386, allocations: 0.5402 MB / 0.6207 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.2387, allocations: 63.34 kB / 0.6207 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.2392, allocations: 438.7 kB / 0.6212 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.2393, allocations: 33.7 kB / 0.6212 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.2395, allocations: 287.2 kB / 0.6215 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.2397, allocations: 138.8 kB / 0.6216 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.2398, allocations: 91.72 kB / 0.6217 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003324/0.2402, allocations: 0.543 MB / 0.6222 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.2405, allocations: 138.4 kB / 0.6224 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.2409, allocations: 217.6 kB / 0.6226 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/0.2415, allocations: 344.1 kB / 0.6229 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2415, allocations: 4 kB / 0.6229 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001101/0.2426, allocations: 0.5127 MB / 0.6234 GB, free: 4.742 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.2427, allocations: 33.7 kB / 0.6234 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2427, allocations: 4 kB / 0.6234 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/0.243, allocations: 47.8 kB / 0.6235 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.2433, allocations: 79.89 kB / 0.6236 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.2453, allocations: 1.932 MB / 0.6254 GB, free: 2.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.2456, allocations: 35.77 kB / 0.6255 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.2456, allocations: 16 kB / 0.6255 GB, free: 2.465 MB / 0.5417 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.0003009/0.2459, allocations: 216.4 kB / 0.6257 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.2461, allocations: 67.59 kB / 0.6258 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.2473, allocations: 0.5349 MB / 0.6263 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2473, allocations: 4 kB / 0.6263 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2473, allocations: 4 kB / 0.6263 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2473, allocations: 0 / 0.6263 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.2491, allocations: 0.9612 MB / 0.6272 GB, free: 0.6055 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.2491, allocations: 4 kB / 0.6272 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.2494, allocations: 63.91 kB / 0.6273 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.2496, allocations: 43.64 kB / 0.6273 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.2497, allocations: 20.05 kB / 0.6274 GB, free: 484 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/0.2519, allocations: 1.932 MB / 0.6292 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.2519, allocations: 3.938 kB / 0.6292 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.2534, allocations: 0.7023 MB / 0.6299 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.2536, allocations: 79.7 kB / 0.63 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.2536, allocations: 11.95 kB / 0.63 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.2539, allocations: 15.98 kB / 0.63 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.254, allocations: 35.94 kB / 0.6301 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.254, allocations: 8 kB / 0.6301 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003874/0.2544, allocations: 311.1 kB / 0.6304 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2544, allocations: 0 / 0.6304 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006796/0.2551, allocations: 175.6 kB / 0.6305 GB, free: 13.05 MB / 0.5573 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.000466/0.2555, allocations: 242.6 kB / 0.6308 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.2567, allocations: 0.572 MB / 0.6313 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2567, allocations: 4.062 kB / 0.6313 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007184/0.2574, allocations: 357 kB / 0.6317 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.2584, allocations: 187.9 kB / 0.6319 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.2604, allocations: 0.8533 MB / 0.6327 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.2607, allocations: 216.3 kB / 0.6329 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002995/0.261, allocations: 88.16 kB / 0.633 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.2611, allocations: 48.48 kB / 0.633 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/0.2611, allocations: 0 / 0.633 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.01932/0.2805, allocations: 9.302 MB / 0.6421 GB, free: 1.289 MB / 0.5573 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.726881459937431]