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.00204/0.00204, allocations: 92.7 kB / 19.44 MB, free: 324 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.002475/0.002475, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.52/1.52, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.052/1.052, allocations: 118.6 MB / 378.2 MB, free: 1.465 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.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 482.9 MB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.446e-05/3.68e-05, allocations: 6.312 kB / 482.9 MB, free: 8.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.2096/0.2097, allocations: 125.1 MB / 0.5937 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004765/0.2144, allocations: 2.543 MB / 0.5962 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005142/0.2149, allocations: 23.75 kB / 0.5962 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007745/0.2157, allocations: 178.6 kB / 0.5964 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.2169, allocations: 421.2 kB / 0.5968 GB, free: 388 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.2179, allocations: 314.6 kB / 0.5971 GB, free: 72 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009651/0.2189, allocations: 0.6103 MB / 0.5977 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.2191, allocations: 57.98 kB / 0.5977 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007711/0.2199, allocations: 370.8 kB / 0.5981 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.2202, allocations: 207.4 kB / 0.5983 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.2203, allocations: 24 kB / 0.5983 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009862/0.2213, allocations: 439 kB / 0.5987 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.2214, allocations: 71.62 kB / 0.5988 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.2216, allocations: 123.6 kB / 0.5989 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.2227, allocations: 0.5957 MB / 0.5995 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2227, allocations: 0 / 0.5995 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2227, allocations: 0 / 0.5995 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2227, allocations: 0 / 0.5995 GB, free: 13.58 MB / 0.5261 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.001544/0.2242, allocations: 0.713 MB / 0.6002 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2243, allocations: 8.031 kB / 0.6002 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.2245, allocations: 72.55 kB / 0.6003 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.2253, allocations: 382.3 kB / 0.6006 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.2253, allocations: 16.88 kB / 0.6006 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.644e-05/0.2254, allocations: 32.27 kB / 0.6007 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.226, allocations: 272.2 kB / 0.6009 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.226, allocations: 192 / 0.6009 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.226, allocations: 11.94 kB / 0.6009 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.226, allocations: 8 kB / 0.601 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.2266, allocations: 225.8 kB / 0.6012 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.2281, allocations: 0.8072 MB / 0.602 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.2287, allocations: 202.5 kB / 0.6021 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.2289, allocations: 100.8 kB / 0.6022 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008856/0.2298, allocations: 468 kB / 0.6027 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003832/0.2302, allocations: 151.8 kB / 0.6028 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.2302, allocations: 0 / 0.6028 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.001311/0.2315, allocations: 395.5 kB / 0.6032 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.2316, allocations: 55.41 kB / 0.6033 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.232, allocations: 365.6 kB / 0.6036 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.2321, allocations: 29.7 kB / 0.6036 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.2323, allocations: 220.3 kB / 0.6039 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/0.2324, allocations: 79.31 kB / 0.6039 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.2325, allocations: 53.7 kB / 0.604 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003125/0.2328, allocations: 354.7 kB / 0.6043 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.2331, allocations: 105.7 kB / 0.6044 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.2334, allocations: 145 kB / 0.6046 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.2339, allocations: 224.3 kB / 0.6048 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2339, allocations: 4 kB / 0.6048 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008749/0.2347, allocations: 393.3 kB / 0.6051 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.2348, allocations: 37.7 kB / 0.6052 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2348, allocations: 3.938 kB / 0.6052 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003435/0.2351, allocations: 52.84 kB / 0.6052 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.2354, allocations: 47.97 kB / 0.6053 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.237, allocations: 1.393 MB / 0.6066 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.2372, allocations: 31.86 kB / 0.6067 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.2372, allocations: 8.141 kB / 0.6067 GB, free: 5.82 MB / 0.5261 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.000228/0.2374, allocations: 161.7 kB / 0.6068 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.2376, allocations: 51.75 kB / 0.6069 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008565/0.2384, allocations: 329.9 kB / 0.6072 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.2384, allocations: 11.92 kB / 0.6072 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2384, allocations: 0 / 0.6072 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2384, allocations: 4 kB / 0.6072 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.2397, allocations: 0.6493 MB / 0.6079 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2397, allocations: 0 / 0.6079 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.2399, allocations: 35.98 kB / 0.6079 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/0.2401, allocations: 52.83 kB / 0.6079 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.2402, allocations: 4 kB / 0.6079 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.2416, allocations: 1.401 MB / 0.6093 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2416, allocations: 0 / 0.6093 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.2427, allocations: 0.511 MB / 0.6098 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.2428, allocations: 75.62 kB / 0.6099 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.2429, allocations: 8 kB / 0.6099 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.2431, allocations: 15.98 kB / 0.6099 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.2432, allocations: 27.95 kB / 0.6099 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.2432, allocations: 8 kB / 0.6099 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003208/0.2435, allocations: 255.2 kB / 0.6102 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.2435, allocations: 0 / 0.6102 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005352/0.2441, allocations: 131.8 kB / 0.6103 GB, free: 1.93 MB / 0.5261 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.0004385/0.2445, allocations: 229.8 kB / 0.6105 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009016/0.2454, allocations: 415.5 kB / 0.6109 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2454, allocations: 0 / 0.6109 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.246, allocations: 238.6 kB / 0.6111 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/0.2468, allocations: 156.6 kB / 0.6113 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.2487, allocations: 0.7353 MB / 0.612 GB, free: 108 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.249, allocations: 199.9 kB / 0.6122 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.2492, allocations: 58.64 kB / 0.6123 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2493, allocations: 40.42 kB / 0.6123 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of SimCode: time 7.01e-07/0.2493, allocations: 0 / 0.6123 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.01616/0.2654, allocations: 7.621 MB / 0.6197 GB, free: 8.367 MB / 0.5417 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.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.370074881007895]