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.001977/0.001977, allocations: 79.44 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001657/0.001657, allocations: 167.2 kB / 22.46 MB, free: 5.371 MB / 14.72 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.477/1.477, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.9943/0.9943, allocations: 116.1 MB / 375.2 MB, free: 7.535 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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="Time|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="Time|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.814e-06/1.814e-06, allocations: 0 / 0.5537 GB, free: 13.8 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.686e-05, allocations: 2.281 kB / 0.5537 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.173/0.1731, allocations: 125.6 MB / 0.6764 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004842/0.1779, allocations: 3.108 MB / 0.6795 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005686/0.1785, allocations: 23.81 kB / 0.6795 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000853/0.1793, allocations: 198.5 kB / 0.6797 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.1809, allocations: 0.5356 MB / 0.6802 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.1821, allocations: 410.4 kB / 0.6806 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.1833, allocations: 0.816 MB / 0.6814 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.1835, allocations: 77.38 kB / 0.6815 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.1846, allocations: 498.4 kB / 0.682 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006424/0.1852, allocations: 327.1 kB / 0.6823 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/0.1853, allocations: 32 kB / 0.6823 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.1865, allocations: 0.5106 MB / 0.6828 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.1867, allocations: 91.55 kB / 0.6829 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.1869, allocations: 171.6 kB / 0.683 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.1884, allocations: 0.7632 MB / 0.6838 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1884, allocations: 0 / 0.6838 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1884, allocations: 0 / 0.6838 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.788e-05/0.1884, allocations: 3.938 kB / 0.6838 GB, free: 8.102 MB / 0.5919 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.001781/0.1902, allocations: 0.7784 MB / 0.6846 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1902, allocations: 12.02 kB / 0.6846 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.1904, allocations: 60.61 kB / 0.6846 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007628/0.1912, allocations: 366.3 kB / 0.685 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.1912, allocations: 29.38 kB / 0.685 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/0.1913, allocations: 36.36 kB / 0.685 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.1921, allocations: 424.5 kB / 0.6854 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1922, allocations: 192 / 0.6854 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.1922, allocations: 16.12 kB / 0.6855 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1922, allocations: 8 kB / 0.6855 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008024/0.193, allocations: 382.4 kB / 0.6858 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.1952, allocations: 1.242 MB / 0.687 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008409/0.196, allocations: 318.8 kB / 0.6873 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.1964, allocations: 159.4 kB / 0.6875 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/0.1982, allocations: 0.6951 MB / 0.6882 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004863/0.1987, allocations: 211.1 kB / 0.6884 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/0.1987, allocations: 0 / 0.6884 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001562/0.2002, allocations: 0.5209 MB / 0.6889 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.2003, allocations: 59.41 kB / 0.6889 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.2007, allocations: 337.7 kB / 0.6893 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.2007, allocations: 33.64 kB / 0.6893 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.201, allocations: 232.4 kB / 0.6895 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.2011, allocations: 126.9 kB / 0.6896 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.2012, allocations: 78.06 kB / 0.6897 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2014, allocations: 350.7 kB / 0.6901 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.2017, allocations: 146.4 kB / 0.6902 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.2021, allocations: 200.6 kB / 0.6904 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.2028, allocations: 331.2 kB / 0.6907 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2028, allocations: 4 kB / 0.6907 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001108/0.2039, allocations: 0.4947 MB / 0.6912 GB, free: 228 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.2039, allocations: 33.7 kB / 0.6912 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2039, allocations: 0 / 0.6912 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.2042, allocations: 40.83 kB / 0.6913 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.2045, allocations: 75.89 kB / 0.6913 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2668/0.4713, allocations: 1.403 MB / 0.6927 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.4717, allocations: 37.75 kB / 0.6927 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.4717, allocations: 17.12 kB / 0.6928 GB, free: 142.3 MB / 0.5919 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.0002039/0.4719, allocations: 166.3 kB / 0.6929 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.472, allocations: 46.14 kB / 0.693 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.4732, allocations: 0.52 MB / 0.6935 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4732, allocations: 3.828 kB / 0.6935 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4732, allocations: 1.031 kB / 0.6935 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4732, allocations: 3 kB / 0.6935 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.4747, allocations: 0.8403 MB / 0.6943 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4747, allocations: 3.844 kB / 0.6943 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.475, allocations: 62.38 kB / 0.6944 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.4752, allocations: 46.3 kB / 0.6944 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.4752, allocations: 14.39 kB / 0.6944 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009206/0.4761, allocations: 1.403 MB / 0.6958 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4761, allocations: 1.125 kB / 0.6958 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.4774, allocations: 0.6498 MB / 0.6964 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.4775, allocations: 84.78 kB / 0.6965 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.4776, allocations: 8.453 kB / 0.6965 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.4778, allocations: 15.75 kB / 0.6965 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.478, allocations: 41.92 kB / 0.6966 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.478, allocations: 11.62 kB / 0.6966 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002673/0.4783, allocations: 247.2 kB / 0.6968 GB, free: 139.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4783, allocations: 0 / 0.6968 GB, free: 139.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000608/0.4789, allocations: 187.3 kB / 0.697 GB, free: 139.7 MB / 0.5919 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.0004032/0.4793, allocations: 244.6 kB / 0.6972 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009618/0.4802, allocations: 0.5099 MB / 0.6977 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4802, allocations: 0 / 0.6977 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.4807, allocations: 284.3 kB / 0.698 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.4817, allocations: 180.4 kB / 0.6982 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.4837, allocations: 0.8438 MB / 0.699 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.484, allocations: 219 kB / 0.6992 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003117/0.4843, allocations: 85.62 kB / 0.6993 GB, free: 138.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.4844, allocations: 45.19 kB / 0.6993 GB, free: 138.5 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/0.4844, allocations: 3.938 kB / 0.6993 GB, free: 138.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.01845/0.5029, allocations: 9.178 MB / 0.7083 GB, free: 135.3 MB / 0.5919 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.3979713805019855]