Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0008919/0.0008919, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008361/0.0008361, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8805/0.8805, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5209/0.5209, allocations: 80.17 MB / 340.1 MB, free: 7.535 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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_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_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.4936 GB, free: 6.363 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.755e-05, allocations: 3.656 kB / 0.4936 GB, free: 6.359 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1208/0.1208, allocations: 125 MB / 0.6157 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003484/0.1243, allocations: 2.512 MB / 0.6181 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.1247, allocations: 23.75 kB / 0.6182 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.1255, allocations: 178.7 kB / 0.6183 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.1265, allocations: 425.2 kB / 0.6187 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.1275, allocations: 306.8 kB / 0.619 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006682/0.1282, allocations: 0.5829 MB / 0.6196 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.1284, allocations: 61.97 kB / 0.6197 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006887/0.1291, allocations: 366.8 kB / 0.62 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.1293, allocations: 199.4 kB / 0.6202 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.1294, allocations: 24 kB / 0.6202 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008265/0.1302, allocations: 435.1 kB / 0.6206 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1303, allocations: 67.62 kB / 0.6207 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.1304, allocations: 127.6 kB / 0.6208 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008178/0.1312, allocations: 0.5724 MB / 0.6214 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1312, allocations: 0 / 0.6214 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1313, allocations: 0 / 0.6214 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.1313, allocations: 4 kB / 0.6214 GB, free: 4.645 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.001012/0.1323, allocations: 0.695 MB / 0.6221 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1323, allocations: 13.47 kB / 0.6221 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.648e-05/0.1324, allocations: 48.66 kB / 0.6221 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.1329, allocations: 338.4 kB / 0.6224 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.1329, allocations: 20.88 kB / 0.6225 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.133, allocations: 20.38 kB / 0.6225 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.1333, allocations: 279.5 kB / 0.6227 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1333, allocations: 7.922 kB / 0.6228 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.1333, allocations: 12 kB / 0.6228 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1334, allocations: 4 kB / 0.6228 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.1336, allocations: 221.9 kB / 0.623 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000931/0.1346, allocations: 0.8149 MB / 0.6238 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.1349, allocations: 202.6 kB / 0.624 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.135, allocations: 100.8 kB / 0.6241 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006706/0.1357, allocations: 476.3 kB / 0.6245 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.1359, allocations: 157.5 kB / 0.6247 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 2.514e-06/0.1359, allocations: 4 kB / 0.6247 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.0007192/0.1367, allocations: 378.1 kB / 0.625 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.1367, allocations: 55.39 kB / 0.6251 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.137, allocations: 349.6 kB / 0.6254 GB, free: 324 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.137, allocations: 37.7 kB / 0.6255 GB, free: 280 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1371, allocations: 212.4 kB / 0.6257 GB, free: 64 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.1372, allocations: 75.31 kB / 0.6257 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.1372, allocations: 61.59 kB / 0.6258 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.1373, allocations: 342.8 kB / 0.6261 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1375, allocations: 113.7 kB / 0.6262 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1376, allocations: 141.1 kB / 0.6264 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.1379, allocations: 235.5 kB / 0.6266 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1379, allocations: 4 kB / 0.6266 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004686/0.1384, allocations: 388 kB / 0.627 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.1384, allocations: 33.7 kB / 0.627 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1384, allocations: 96 / 0.627 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.1386, allocations: 44.83 kB / 0.627 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1388, allocations: 43.91 kB / 0.6271 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000971/0.1397, allocations: 1.406 MB / 0.6284 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1399, allocations: 27.91 kB / 0.6285 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1399, allocations: 12 kB / 0.6285 GB, free: 12.98 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.0001397/0.14, allocations: 149.7 kB / 0.6286 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.1401, allocations: 39.77 kB / 0.6287 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.1406, allocations: 334.7 kB / 0.629 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1406, allocations: 4 kB / 0.629 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1406, allocations: 4 kB / 0.629 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.1406, allocations: 3.984 kB / 0.629 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007342/0.1413, allocations: 0.6544 MB / 0.6296 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1413, allocations: 4 kB / 0.6296 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.1414, allocations: 39.91 kB / 0.6297 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.1415, allocations: 44.75 kB / 0.6297 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.1415, allocations: 12.03 kB / 0.6297 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007876/0.1423, allocations: 1.397 MB / 0.6311 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1423, allocations: 0 / 0.6311 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007751/0.1431, allocations: 0.5014 MB / 0.6316 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.1431, allocations: 31.73 kB / 0.6316 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1432, allocations: 8 kB / 0.6316 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1433, allocations: 19.97 kB / 0.6316 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.1433, allocations: 27.89 kB / 0.6317 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1434, allocations: 8 kB / 0.6317 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001657/0.1435, allocations: 243.2 kB / 0.6319 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.1435, allocations: 3.938 kB / 0.6319 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003459/0.1439, allocations: 135.7 kB / 0.632 GB, free: 9.148 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.0002986/0.1442, allocations: 230.9 kB / 0.6323 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005222/0.1447, allocations: 407.4 kB / 0.6327 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1447, allocations: 0 / 0.6327 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.1449, allocations: 242.4 kB / 0.6329 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.1454, allocations: 159.1 kB / 0.633 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.1465, allocations: 0.721 MB / 0.6337 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.1466, allocations: 187.2 kB / 0.6339 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.1467, allocations: 40.5 kB / 0.634 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of SimCode: time 7.32e-07/0.1467, allocations: 0 / 0.634 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of Templates: time 0.1984/0.3451, allocations: 7.702 MB / 0.6415 GB, free: 148.6 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.963653540238738]