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.0008013/0.0008013, allocations: 92.7 kB / 20.21 MB, free: 4.23 MB / 18.57 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.0008039/0.0008039, allocations: 161.7 kB / 23.51 MB, free: 0.9219 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 0.8733/0.8733, allocations: 177.2 MB / 203.9 MB, free: 5.602 MB / 186.7 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.6315/0.6315, allocations: 118.5 MB / 378.8 MB, free: 1.621 MB / 346.7 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.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: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 483.5 MB, free: 8.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.714e-05, allocations: 3.406 kB / 483.5 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1054/0.1054, allocations: 125.1 MB / 0.5943 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1076, allocations: 2.539 MB / 0.5968 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.1079, allocations: 23.75 kB / 0.5968 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.1084, allocations: 174.6 kB / 0.597 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0007261/0.1092, allocations: 421.2 kB / 0.5974 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.1097, allocations: 318.6 kB / 0.5977 GB, free: 260 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.1102, allocations: 0.6064 MB / 0.5983 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1104, allocations: 50 kB / 0.5983 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.1108, allocations: 382.8 kB / 0.5987 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.111, allocations: 203.4 kB / 0.5989 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.1111, allocations: 24 kB / 0.5989 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000514/0.1116, allocations: 439 kB / 0.5993 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.739e-05/0.1117, allocations: 67.64 kB / 0.5994 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1118, allocations: 131.6 kB / 0.5995 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.1124, allocations: 0.5957 MB / 0.6001 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1124, allocations: 0 / 0.6001 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1124, allocations: 0 / 0.6001 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.89e-05/0.1124, allocations: 0 / 0.6001 GB, free: 13.77 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.0009001/0.1133, allocations: 0.7013 MB / 0.6008 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1134, allocations: 12.03 kB / 0.6008 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.1135, allocations: 72.55 kB / 0.6008 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.1139, allocations: 382.3 kB / 0.6012 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.114, allocations: 20.88 kB / 0.6012 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.114, allocations: 24.33 kB / 0.6013 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.1143, allocations: 276.1 kB / 0.6015 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1143, allocations: 192 / 0.6015 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.1144, allocations: 11.94 kB / 0.6015 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1144, allocations: 4 kB / 0.6015 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.1146, allocations: 233.8 kB / 0.6018 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008606/0.1155, allocations: 0.8073 MB / 0.6025 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.1158, allocations: 202.5 kB / 0.6027 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1159, allocations: 100.8 kB / 0.6028 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004832/0.1164, allocations: 468 kB / 0.6033 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.1166, allocations: 153.2 kB / 0.6034 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/0.1166, allocations: 0 / 0.6034 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.0006926/0.1173, allocations: 395.9 kB / 0.6038 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.1174, allocations: 59.39 kB / 0.6039 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1176, allocations: 361.6 kB / 0.6042 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1176, allocations: 25.7 kB / 0.6042 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1177, allocations: 224.3 kB / 0.6044 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.1178, allocations: 79.31 kB / 0.6045 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.1178, allocations: 49.7 kB / 0.6046 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.1179, allocations: 354.7 kB / 0.6049 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1181, allocations: 113.7 kB / 0.605 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1182, allocations: 137.1 kB / 0.6051 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.1185, allocations: 224.5 kB / 0.6054 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1185, allocations: 0 / 0.6054 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004371/0.1189, allocations: 396 kB / 0.6057 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.1189, allocations: 37.7 kB / 0.6058 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1189, allocations: 3.938 kB / 0.6058 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.1191, allocations: 48.75 kB / 0.6058 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1193, allocations: 52 kB / 0.6059 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008005/0.1201, allocations: 1.401 MB / 0.6072 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1202, allocations: 27.86 kB / 0.6073 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1202, allocations: 8 kB / 0.6073 GB, free: 6.008 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.0001208/0.1203, allocations: 157.5 kB / 0.6074 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.1204, allocations: 59.81 kB / 0.6075 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.1208, allocations: 329.7 kB / 0.6078 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1208, allocations: 3.938 kB / 0.6078 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.1208, allocations: 4 kB / 0.6078 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1208, allocations: 0 / 0.6078 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/0.1215, allocations: 0.6493 MB / 0.6084 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1215, allocations: 7.938 kB / 0.6084 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.1216, allocations: 35.98 kB / 0.6085 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/0.1217, allocations: 44.8 kB / 0.6085 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1217, allocations: 8 kB / 0.6085 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007123/0.1224, allocations: 1.413 MB / 0.6099 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1224, allocations: 4.031 kB / 0.6099 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.123, allocations: 0.5034 MB / 0.6104 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.1231, allocations: 67.64 kB / 0.6105 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1231, allocations: 12.12 kB / 0.6105 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1232, allocations: 15.98 kB / 0.6105 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.1233, allocations: 27.89 kB / 0.6105 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1233, allocations: 12 kB / 0.6105 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001758/0.1234, allocations: 255.2 kB / 0.6108 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.1234, allocations: 0 / 0.6108 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000304/0.1238, allocations: 131.8 kB / 0.6109 GB, free: 2.117 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.0002425/0.124, allocations: 234.5 kB / 0.6111 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.1245, allocations: 414.6 kB / 0.6115 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1245, allocations: 0 / 0.6115 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.1247, allocations: 237.6 kB / 0.6117 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.1252, allocations: 155.1 kB / 0.6119 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1262, allocations: 0.7315 MB / 0.6126 GB, free: 304 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.1263, allocations: 195.8 kB / 0.6128 GB, free: 88 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.1265, allocations: 62.3 kB / 0.6129 GB, free: 36 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.1265, allocations: 40.48 kB / 0.6129 GB, free: 16 MB / 0.5417 GB Notification: Performance of SimCode: time 4.51e-07/0.1265, allocations: 0 / 0.6129 GB, free: 16 MB / 0.5417 GB Notification: Performance of Templates: time 0.008698/0.1352, allocations: 7.628 MB / 0.6203 GB, free: 8.535 MB / 0.5417 GB " [Timeout remaining time 660] 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 -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/jenkins/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: 3.5712088756263256]