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.001296/0.001296, allocations: 79.36 kB / 19.18 MB, free: 2.516 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.002095/0.002095, allocations: 161 kB / 22.46 MB, free: 5.375 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.482/1.482, allocations: 177.1 MB / 202.8 MB, free: 9.176 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 1.005/1.005, allocations: 116 MB / 375.2 MB, free: 7.543 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.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.873e-06/1.873e-06, allocations: 0 / 0.5537 GB, free: 13.82 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.444e-05, allocations: 5.234 kB / 0.5537 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1879/0.1879, allocations: 125 MB / 0.6758 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00418/0.1921, allocations: 2.527 MB / 0.6783 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.1926, allocations: 27.75 kB / 0.6783 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007573/0.1934, allocations: 166.7 kB / 0.6785 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.1947, allocations: 441.2 kB / 0.6789 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009957/0.1957, allocations: 302.8 kB / 0.6792 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009602/0.1967, allocations: 0.6062 MB / 0.6798 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.1969, allocations: 61.91 kB / 0.6799 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009685/0.1978, allocations: 358.9 kB / 0.6802 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004457/0.1983, allocations: 207.4 kB / 0.6804 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.173e-05/0.1984, allocations: 27.98 kB / 0.6804 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.1994, allocations: 427.1 kB / 0.6808 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.1996, allocations: 71.62 kB / 0.6809 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.1998, allocations: 127.6 kB / 0.681 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2011, allocations: 0.5879 MB / 0.6816 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2011, allocations: 0 / 0.6816 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2011, allocations: 4 kB / 0.6816 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.2011, allocations: 4 kB / 0.6816 GB, free: 10.36 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001586/0.2027, allocations: 0.6974 MB / 0.6823 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2027, allocations: 12.03 kB / 0.6823 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.2029, allocations: 56.59 kB / 0.6823 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007466/0.2036, allocations: 346.5 kB / 0.6827 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.2036, allocations: 12.88 kB / 0.6827 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.2037, allocations: 32.33 kB / 0.6827 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.2043, allocations: 271.5 kB / 0.683 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2043, allocations: 7.938 kB / 0.683 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.2043, allocations: 8 kB / 0.683 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.2043, allocations: 4 kB / 0.683 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.2049, allocations: 229.8 kB / 0.6832 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.2064, allocations: 0.8072 MB / 0.684 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.207, allocations: 211 kB / 0.6842 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.2072, allocations: 96.75 kB / 0.6843 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008305/0.2081, allocations: 468.1 kB / 0.6847 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.2084, allocations: 165.4 kB / 0.6849 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.2084, allocations: 0 / 0.6849 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001215/0.2097, allocations: 373.2 kB / 0.6853 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.2097, allocations: 59.41 kB / 0.6853 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.2101, allocations: 365.6 kB / 0.6857 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.2102, allocations: 29.7 kB / 0.6857 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.2104, allocations: 212.4 kB / 0.6859 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.497e-05/0.2104, allocations: 71.33 kB / 0.686 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.2105, allocations: 57.66 kB / 0.686 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2107, allocations: 346.8 kB / 0.6863 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.211, allocations: 113.6 kB / 0.6865 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.2112, allocations: 137.1 kB / 0.6866 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.2117, allocations: 233.8 kB / 0.6868 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2117, allocations: 0 / 0.6868 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008241/0.2125, allocations: 378.3 kB / 0.6872 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.2126, allocations: 45.78 kB / 0.6872 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2126, allocations: 0 / 0.6872 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.2129, allocations: 40.83 kB / 0.6873 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.2131, allocations: 43.91 kB / 0.6873 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.2145, allocations: 1.386 MB / 0.6887 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.2148, allocations: 35.91 kB / 0.6887 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.2148, allocations: 19.92 kB / 0.6887 GB, free: 2.703 MB / 0.5919 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.0001941/0.215, allocations: 145.8 kB / 0.6888 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/0.2151, allocations: 43.72 kB / 0.6889 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000815/0.2159, allocations: 331.3 kB / 0.6892 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2159, allocations: 7.938 kB / 0.6892 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2159, allocations: 4 kB / 0.6892 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2159, allocations: 0 / 0.6892 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.2172, allocations: 0.6519 MB / 0.6898 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2172, allocations: 0 / 0.6898 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.2173, allocations: 43.84 kB / 0.6899 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.2175, allocations: 44.86 kB / 0.6899 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.2175, allocations: 11.98 kB / 0.6899 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3056/0.5231, allocations: 1.39 MB / 0.6913 GB, free: 142.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5231, allocations: 1.188 kB / 0.6913 GB, free: 142.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.5244, allocations: 499.6 kB / 0.6918 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.5245, allocations: 62.64 kB / 0.6918 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.5246, allocations: 4.766 kB / 0.6918 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.5248, allocations: 14.84 kB / 0.6919 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.525, allocations: 32.89 kB / 0.6919 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.525, allocations: 11.88 kB / 0.6919 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000335/0.5253, allocations: 249.6 kB / 0.6921 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5253, allocations: 4.5 kB / 0.6921 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005418/0.5259, allocations: 138.2 kB / 0.6923 GB, free: 142.6 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.0004105/0.5263, allocations: 214.7 kB / 0.6925 GB, free: 142.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008527/0.5271, allocations: 409 kB / 0.6929 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5271, allocations: 0 / 0.6929 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.5275, allocations: 238.6 kB / 0.6931 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008796/0.5284, allocations: 155.6 kB / 0.6932 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.5303, allocations: 0.7107 MB / 0.6939 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.5305, allocations: 192.6 kB / 0.6941 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.5307, allocations: 60.58 kB / 0.6942 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.5308, allocations: 38.38 kB / 0.6942 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.5308, allocations: 0 / 0.6942 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.01676/0.5476, allocations: 7.554 MB / 0.7016 GB, free: 139.8 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/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: 6.5451102219522]