Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.00124/0.00124, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001328/0.001328, allocations: 213.2 kB / 23 MB, free: 4.605 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.326/1.326, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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.7333/0.7333, allocations: 100.3 MB / 413.5 MB, free: 3.684 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 88.09 kB / 0.5645 GB, free: 35.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1207, allocations: 74.47 MB / 0.6372 GB, free: 7.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.4464/0.5672, allocations: 144.4 MB / 0.7783 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003481/0.5707, allocations: 3.65 MB / 0.7818 GB, free: 0 / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/0.5711, allocations: 21.98 kB / 0.7818 GB, free: 0 / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007277/0.5718, allocations: 186.2 kB / 0.782 GB, free: 0 / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.5729, allocations: 403.9 kB / 0.7824 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008129/0.5737, allocations: 301.7 kB / 0.7827 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007303/0.5744, allocations: 0.5262 MB / 0.7832 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.5746, allocations: 59.67 kB / 0.7833 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.5751, allocations: 271.1 kB / 0.7835 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.5755, allocations: 238 kB / 0.7837 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.5755, allocations: 23.69 kB / 0.7838 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009466/0.5764, allocations: 0.5011 MB / 0.7843 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.5765, allocations: 68.89 kB / 0.7843 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.5767, allocations: 172 kB / 0.7845 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007992/0.5775, allocations: 0.556 MB / 0.785 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5775, allocations: 0 / 0.785 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5775, allocations: 0 / 0.785 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5775, allocations: 0 / 0.785 GB, free: 15.58 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001241/0.5787, allocations: 0.678 MB / 0.7857 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5788, allocations: 10.12 kB / 0.7857 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.08e-05/0.5789, allocations: 44.25 kB / 0.7857 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.5795, allocations: 330.5 kB / 0.7861 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.5796, allocations: 16.41 kB / 0.7861 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.5796, allocations: 25.34 kB / 0.7861 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.5801, allocations: 265.9 kB / 0.7864 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5801, allocations: 0.5312 kB / 0.7864 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.5802, allocations: 8.594 kB / 0.7864 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.5802, allocations: 5.688 kB / 0.7864 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.5807, allocations: 228.8 kB / 0.7866 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.5822, allocations: 1.062 MB / 0.7876 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.5827, allocations: 211.3 kB / 0.7878 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.5829, allocations: 102.2 kB / 0.7879 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007395/0.5836, allocations: 0.512 MB / 0.7884 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.5839, allocations: 154.4 kB / 0.7886 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.5839, allocations: 0 / 0.7886 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001047/0.585, allocations: 383.8 kB / 0.7889 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.585, allocations: 59.22 kB / 0.789 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.5854, allocations: 348.2 kB / 0.7893 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.5854, allocations: 35.61 kB / 0.7894 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.5855, allocations: 197.5 kB / 0.7895 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.5856, allocations: 80.89 kB / 0.7896 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/0.5857, allocations: 46.12 kB / 0.7897 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5858, allocations: 350.2 kB / 0.79 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.586, allocations: 78.7 kB / 0.7901 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.5862, allocations: 114 kB / 0.7902 GB, free: 13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.5866, allocations: 215.5 kB / 0.7904 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5866, allocations: 1.156 kB / 0.7904 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006438/0.5873, allocations: 347.3 kB / 0.7907 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.5873, allocations: 32.2 kB / 0.7908 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5873, allocations: 0 / 0.7908 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.5875, allocations: 43.94 kB / 0.7908 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.5877, allocations: 42.53 kB / 0.7908 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.589, allocations: 1.427 MB / 0.7922 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.5892, allocations: 41.8 kB / 0.7923 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.5892, allocations: 14 kB / 0.7923 GB, free: 11.53 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * 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.0001576/0.5894, allocations: 143.6 kB / 0.7924 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.5895, allocations: 39.14 kB / 0.7925 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000698/0.5902, allocations: 340 kB / 0.7928 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5902, allocations: 2.281 kB / 0.7928 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.5902, allocations: 0 / 0.7928 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5902, allocations: 3.438 kB / 0.7928 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.5913, allocations: 0.7238 MB / 0.7935 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5913, allocations: 5.281 kB / 0.7935 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.5914, allocations: 46.73 kB / 0.7935 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001292/0.5916, allocations: 43.14 kB / 0.7936 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.5916, allocations: 8.188 kB / 0.7936 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.5927, allocations: 1.419 MB / 0.795 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5927, allocations: 0 / 0.795 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007878/0.5935, allocations: 0.4984 MB / 0.7955 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.5936, allocations: 46.59 kB / 0.7955 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.5936, allocations: 6.828 kB / 0.7955 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.5938, allocations: 14.95 kB / 0.7955 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.5939, allocations: 29.53 kB / 0.7956 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.5939, allocations: 10.58 kB / 0.7956 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002233/0.5941, allocations: 241.8 kB / 0.7958 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5941, allocations: 0 / 0.7958 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004589/0.5946, allocations: 129.6 kB / 0.7959 GB, free: 9.445 MB / 0.5919 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.0003131/0.5949, allocations: 219.4 kB / 0.7961 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006893/0.5956, allocations: 389 kB / 0.7965 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5956, allocations: 0 / 0.7965 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.596, allocations: 228.5 kB / 0.7967 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.5966, allocations: 113.5 kB / 0.7968 GB, free: 9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.5979, allocations: 0.7292 MB / 0.7975 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.5983, allocations: 0.7868 MB / 0.7983 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.015e-05/0.5983, allocations: 42.83 kB / 0.7983 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.5983, allocations: 0 / 0.7983 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of Templates: time 0.008982/0.6073, allocations: 7.164 MB / 0.8053 GB, free: 5.664 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 8.39011107198894]