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.001833/0.001833, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.001975/0.001975, allocations: 161.3 kB / 22.75 MB, free: 1.652 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 1.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.042/1.042, allocations: 118.6 MB / 378.2 MB, free: 1.438 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.723e-06/1.723e-06, allocations: 0 / 482.9 MB, free: 8.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.974e-05, allocations: 6.031 kB / 482.9 MB, free: 8.328 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.18/0.18, allocations: 125.7 MB / 0.5943 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00547/0.1855, allocations: 3.112 MB / 0.5973 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004506/0.186, allocations: 27.75 kB / 0.5973 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007668/0.1867, allocations: 194.5 kB / 0.5975 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.188, allocations: 0.5471 MB / 0.5981 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.1892, allocations: 414.4 kB / 0.5985 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1902, allocations: 0.8199 MB / 0.5993 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.1904, allocations: 77.36 kB / 0.5993 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009119/0.1913, allocations: 0.4945 MB / 0.5998 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005338/0.1918, allocations: 335.1 kB / 0.6001 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.1919, allocations: 32 kB / 0.6002 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.193, allocations: 0.4951 MB / 0.6007 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1931, allocations: 91.48 kB / 0.6007 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.1934, allocations: 175.5 kB / 0.6009 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.1946, allocations: 0.771 MB / 0.6017 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1946, allocations: 0 / 0.6017 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1946, allocations: 0 / 0.6017 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1946, allocations: 0 / 0.6017 GB, free: 11.35 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001602/0.1962, allocations: 0.7878 MB / 0.6024 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.1963, allocations: 8.031 kB / 0.6024 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.1965, allocations: 100.4 kB / 0.6025 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/0.1973, allocations: 390.3 kB / 0.6029 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.1973, allocations: 29.38 kB / 0.6029 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.459e-05/0.1974, allocations: 36.36 kB / 0.603 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.1985, allocations: 420.6 kB / 0.6034 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.1985, allocations: 192 / 0.6034 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.1986, allocations: 20.06 kB / 0.6034 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.1986, allocations: 8 kB / 0.6034 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.1998, allocations: 386.3 kB / 0.6038 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/0.2031, allocations: 1.242 MB / 0.605 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.2043, allocations: 322.6 kB / 0.6053 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.2049, allocations: 159.5 kB / 0.6054 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002688/0.2075, allocations: 0.7029 MB / 0.6061 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007277/0.2083, allocations: 211.1 kB / 0.6063 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 3.857e-06/0.2083, allocations: 0 / 0.6063 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.002334/0.2106, allocations: 0.5482 MB / 0.6069 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.2107, allocations: 59.39 kB / 0.6069 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.2113, allocations: 345.6 kB / 0.6072 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.2114, allocations: 33.7 kB / 0.6073 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.2117, allocations: 232.5 kB / 0.6075 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.2119, allocations: 122.9 kB / 0.6076 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.2121, allocations: 74.03 kB / 0.6077 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000286/0.2124, allocations: 354.8 kB / 0.608 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.2129, allocations: 146.4 kB / 0.6082 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.2134, allocations: 204.5 kB / 0.6084 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.2145, allocations: 327.2 kB / 0.6087 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2145, allocations: 4 kB / 0.6087 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001724/0.2162, allocations: 0.5217 MB / 0.6092 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.878e-05/0.2163, allocations: 33.7 kB / 0.6092 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.2163, allocations: 0 / 0.6092 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.2167, allocations: 48.81 kB / 0.6093 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.2172, allocations: 75.89 kB / 0.6093 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.2195, allocations: 1.405 MB / 0.6107 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.2199, allocations: 43.75 kB / 0.6107 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.22, allocations: 19.98 kB / 0.6108 GB, free: 1.598 MB / 0.5261 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.000328/0.2203, allocations: 153.8 kB / 0.6109 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.2205, allocations: 71.59 kB / 0.611 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/0.2225, allocations: 0.5181 MB / 0.6115 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.2225, allocations: 7.938 kB / 0.6115 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2225, allocations: 0 / 0.6115 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2225, allocations: 0 / 0.6115 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.2251, allocations: 0.8637 MB / 0.6123 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.2251, allocations: 0 / 0.6123 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.2255, allocations: 59.91 kB / 0.6124 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003263/0.2258, allocations: 48.94 kB / 0.6124 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.2259, allocations: 20.05 kB / 0.6125 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.2281, allocations: 1.393 MB / 0.6138 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.2281, allocations: 3.938 kB / 0.6138 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.2303, allocations: 0.6663 MB / 0.6145 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.2305, allocations: 79.62 kB / 0.6146 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.2306, allocations: 8 kB / 0.6146 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.231, allocations: 19.98 kB / 0.6146 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.2311, allocations: 39.88 kB / 0.6146 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.2312, allocations: 19.98 kB / 0.6146 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004349/0.2316, allocations: 243.2 kB / 0.6149 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2316, allocations: 4 kB / 0.6149 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009863/0.2326, allocations: 183.6 kB / 0.615 GB, free: 13.02 MB / 0.5417 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.0006253/0.2332, allocations: 242.1 kB / 0.6153 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.2348, allocations: 0.4982 MB / 0.6158 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2348, allocations: 0 / 0.6158 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007891/0.2356, allocations: 290.3 kB / 0.616 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.2371, allocations: 187.6 kB / 0.6162 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.2402, allocations: 0.8656 MB / 0.6171 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.2406, allocations: 216.3 kB / 0.6173 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004398/0.241, allocations: 85.05 kB / 0.6174 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.2412, allocations: 56.48 kB / 0.6174 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/0.2412, allocations: 0 / 0.6174 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.02468/0.2659, allocations: 9.277 MB / 0.6265 GB, free: 1.453 MB / 0.5417 GB " [Timeout remaining time 660] 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.297593709081411]