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.001813/0.001813, allocations: 81.5 kB / 19.44 MB, free: 344 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.002013/0.002013, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.688/1.688, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.105/1.105, allocations: 118.6 MB / 378.2 MB, free: 1.469 MB / 346.7 MB " [Timeout remaining time 178] 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.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 2.565e-06/2.565e-06, allocations: 0 / 482.9 MB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.482e-05, allocations: 2.312 kB / 482.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.2184/0.2185, allocations: 138.3 MB / 0.6066 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00483/0.2233, allocations: 2.858 MB / 0.6094 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006105/0.2239, allocations: 27.75 kB / 0.6094 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009034/0.2248, allocations: 170.7 kB / 0.6096 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.2264, allocations: 429.2 kB / 0.61 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.2277, allocations: 318.6 kB / 0.6103 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.2292, allocations: 0.6102 MB / 0.6109 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.2294, allocations: 57.92 kB / 0.611 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009867/0.2304, allocations: 366.9 kB / 0.6113 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.2309, allocations: 211.4 kB / 0.6115 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.2309, allocations: 24 kB / 0.6116 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.2322, allocations: 439 kB / 0.612 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.2323, allocations: 71.62 kB / 0.612 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.2326, allocations: 123.6 kB / 0.6122 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.2339, allocations: 0.5957 MB / 0.6127 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2339, allocations: 0 / 0.6127 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2339, allocations: 0 / 0.6127 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.2339, allocations: 0 / 0.6127 GB, free: 15.98 MB / 0.5417 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.00165/0.2356, allocations: 0.8359 MB / 0.6136 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.2356, allocations: 12.03 kB / 0.6136 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.2358, allocations: 72.55 kB / 0.6136 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007243/0.2365, allocations: 377.2 kB / 0.614 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.2366, allocations: 16.88 kB / 0.614 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.2366, allocations: 32.33 kB / 0.614 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.2372, allocations: 260.6 kB / 0.6143 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2372, allocations: 192 / 0.6143 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.2372, allocations: 11.94 kB / 0.6143 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.2373, allocations: 8 kB / 0.6143 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.2377, allocations: 165.8 kB / 0.6145 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.2394, allocations: 0.9993 MB / 0.6154 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.2399, allocations: 211 kB / 0.6156 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.2402, allocations: 99.64 kB / 0.6157 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009443/0.2411, allocations: 0.5429 MB / 0.6163 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.2415, allocations: 150.9 kB / 0.6164 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=23): time 1.854e-06/0.2415, allocations: 0 / 0.6164 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23): time 0.001208/0.2427, allocations: 386.5 kB / 0.6168 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.2427, allocations: 59.41 kB / 0.6168 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.2433, allocations: 466.7 kB / 0.6173 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.2435, allocations: 25.7 kB / 0.6173 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.2437, allocations: 279.1 kB / 0.6176 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.339e-05/0.2438, allocations: 83.33 kB / 0.6177 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.2439, allocations: 59.36 kB / 0.6177 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003277/0.2442, allocations: 0.543 MB / 0.6182 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.2445, allocations: 101.7 kB / 0.6183 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.2447, allocations: 156.8 kB / 0.6185 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.2452, allocations: 235.9 kB / 0.6187 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2452, allocations: 0 / 0.6187 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008094/0.246, allocations: 390.8 kB / 0.6191 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.2461, allocations: 40.19 kB / 0.6191 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.2461, allocations: 12.03 kB / 0.6191 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.2464, allocations: 51.58 kB / 0.6192 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2466, allocations: 39.98 kB / 0.6192 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.2485, allocations: 1.924 MB / 0.6211 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.2487, allocations: 31.84 kB / 0.6211 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.2488, allocations: 12 kB / 0.6211 GB, free: 6.914 MB / 0.5417 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.0002455/0.249, allocations: 196.5 kB / 0.6213 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.2491, allocations: 47.72 kB / 0.6214 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008252/0.25, allocations: 325.7 kB / 0.6217 GB, free: 6.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.25, allocations: 7.938 kB / 0.6217 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.25, allocations: 4 kB / 0.6217 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.25, allocations: 144 / 0.6217 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.2514, allocations: 0.7594 MB / 0.6224 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2514, allocations: 0 / 0.6224 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.2515, allocations: 39.97 kB / 0.6225 GB, free: 5.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/0.2518, allocations: 55.67 kB / 0.6225 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.2518, allocations: 11.98 kB / 0.6225 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.2537, allocations: 1.92 MB / 0.6244 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2537, allocations: 0 / 0.6244 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.2548, allocations: 0.5523 MB / 0.625 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.255, allocations: 55.73 kB / 0.625 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.255, allocations: 8 kB / 0.625 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2553, allocations: 15.98 kB / 0.625 GB, free: 2.715 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.2554, allocations: 27.89 kB / 0.6251 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.2554, allocations: 8 kB / 0.6251 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004783/0.2559, allocations: 315.1 kB / 0.6254 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.2559, allocations: 0 / 0.6254 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007635/0.2567, allocations: 135.7 kB / 0.6255 GB, free: 2.242 MB / 0.5417 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.0006144/0.2573, allocations: 234.7 kB / 0.6257 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.2585, allocations: 481.2 kB / 0.6262 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2585, allocations: 0 / 0.6262 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.259, allocations: 301.3 kB / 0.6265 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.26, allocations: 153 kB / 0.6266 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.2621, allocations: 0.7202 MB / 0.6273 GB, free: 296 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2624, allocations: 199.8 kB / 0.6275 GB, free: 76 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002543/0.2626, allocations: 64 kB / 0.6276 GB, free: 20 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.2628, allocations: 36.53 kB / 0.6276 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of SimCode: time 1.543e-06/0.2628, allocations: 4 kB / 0.6276 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of Templates: time 0.0167/0.2795, allocations: 7.652 MB / 0.6351 GB, free: 8.508 MB / 0.5573 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] 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.942131754010916]