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.001536/0.001536, allocations: 75.75 kB / 19.76 MB, free: 1.898 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.001585/0.001585, allocations: 160.7 kB / 23.01 MB, free: 4.578 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.361/1.361, allocations: 177.2 MB / 203.4 MB, free: 9.289 MB / 190.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.7205/0.7205, allocations: 79.6 MB / 339.4 MB, free: 11.55 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.002356/0.002356, allocations: 89.16 kB / 0.4923 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1212, allocations: 74.6 MB / 0.5652 GB, free: 6.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1487/0.2699, allocations: 123.9 MB / 0.6862 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004595/0.2744, allocations: 3.303 MB / 0.6894 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003685/0.2748, allocations: 19.81 kB / 0.6895 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.2754, allocations: 154.9 kB / 0.6896 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.2765, allocations: 393.8 kB / 0.69 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000832/0.2773, allocations: 291 kB / 0.6903 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009273/0.2783, allocations: 0.5212 MB / 0.6908 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.2785, allocations: 65.91 kB / 0.6908 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.2796, allocations: 358.8 kB / 0.6912 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005534/0.2802, allocations: 218.9 kB / 0.6914 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.982e-05/0.2803, allocations: 28 kB / 0.6914 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.2814, allocations: 423.2 kB / 0.6918 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.2815, allocations: 67.72 kB / 0.6919 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.2819, allocations: 151.1 kB / 0.692 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.283, allocations: 0.537 MB / 0.6926 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.283, allocations: 4 kB / 0.6926 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.283, allocations: 0 / 0.6926 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.283, allocations: 4 kB / 0.6926 GB, free: 3.215 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.001467/0.2845, allocations: 0.6741 MB / 0.6932 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2845, allocations: 9.469 kB / 0.6932 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.2846, allocations: 52.59 kB / 0.6933 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006635/0.2853, allocations: 315.3 kB / 0.6936 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.2853, allocations: 28.56 kB / 0.6936 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.2854, allocations: 23.98 kB / 0.6936 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.286, allocations: 262.8 kB / 0.6939 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.286, allocations: 0 / 0.6939 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.286, allocations: 8 kB / 0.6939 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.286, allocations: 8 kB / 0.6939 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.2865, allocations: 225.8 kB / 0.6941 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.2879, allocations: 0.725 MB / 0.6948 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.2885, allocations: 214.5 kB / 0.695 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.2887, allocations: 104.7 kB / 0.6951 GB, free: 476 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2485/0.5372, allocations: 468.9 kB / 0.6956 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004596/0.5376, allocations: 153.3 kB / 0.6957 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.675e-06/0.5376, allocations: 0.9375 kB / 0.6957 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001248/0.5389, allocations: 385.8 kB / 0.6961 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.5389, allocations: 61.83 kB / 0.6961 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.5393, allocations: 334.3 kB / 0.6965 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.5393, allocations: 35.12 kB / 0.6965 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.5395, allocations: 196.9 kB / 0.6967 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.213e-05/0.5395, allocations: 86.28 kB / 0.6968 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.5396, allocations: 49.22 kB / 0.6968 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.5397, allocations: 345.6 kB / 0.6971 GB, free: 133.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.5399, allocations: 105.8 kB / 0.6972 GB, free: 133.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.5401, allocations: 138.9 kB / 0.6974 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.5405, allocations: 220.4 kB / 0.6976 GB, free: 133.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5405, allocations: 1.406 kB / 0.6976 GB, free: 133.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007199/0.5413, allocations: 375 kB / 0.6979 GB, free: 133.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.5413, allocations: 33.03 kB / 0.698 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.5413, allocations: 0.9375 kB / 0.698 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.5415, allocations: 40.62 kB / 0.698 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.5417, allocations: 50.94 kB / 0.6981 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009458/0.5427, allocations: 1.4 MB / 0.6994 GB, free: 132 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.5429, allocations: 25.72 kB / 0.6995 GB, free: 132 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.5429, allocations: 7.906 kB / 0.6995 GB, free: 132 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.0001381/0.5431, allocations: 152.5 kB / 0.6996 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.5432, allocations: 37.73 kB / 0.6996 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/0.5439, allocations: 332.9 kB / 0.7 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.5439, allocations: 3.516 kB / 0.7 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5439, allocations: 4.531 kB / 0.7 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5439, allocations: 1.312 kB / 0.7 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.5449, allocations: 0.6488 MB / 0.7006 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5449, allocations: 3.938 kB / 0.7006 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.5451, allocations: 43.77 kB / 0.7007 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.5453, allocations: 39.61 kB / 0.7007 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.5453, allocations: 8.5 kB / 0.7007 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000814/0.5461, allocations: 1.401 MB / 0.7021 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5461, allocations: 1.422 kB / 0.7021 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008578/0.547, allocations: 0.4965 MB / 0.7026 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.547, allocations: 40.52 kB / 0.7026 GB, free: 129.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.5471, allocations: 10.47 kB / 0.7026 GB, free: 129.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.5473, allocations: 16.53 kB / 0.7026 GB, free: 129.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.5474, allocations: 26.39 kB / 0.7026 GB, free: 129.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.5474, allocations: 11.28 kB / 0.7027 GB, free: 129.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002704/0.5476, allocations: 233.5 kB / 0.7029 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5476, allocations: 0 / 0.7029 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004957/0.5481, allocations: 125.2 kB / 0.703 GB, free: 129.5 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.0003231/0.5485, allocations: 219.9 kB / 0.7032 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007337/0.5492, allocations: 419.4 kB / 0.7036 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5492, allocations: 0 / 0.7036 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.5496, allocations: 232.8 kB / 0.7038 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.5501, allocations: 101 kB / 0.7039 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.5513, allocations: 0.7021 MB / 0.7046 GB, free: 128.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.5514, allocations: 183.3 kB / 0.7048 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.5516, allocations: 56.91 kB / 0.7048 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.5517, allocations: 38.25 kB / 0.7049 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5517, allocations: 0 / 0.7049 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.0122/0.5639, allocations: 6.499 MB / 0.7112 GB, free: 126.7 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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: 5.56537588685751]