Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0008663/0.0008663, allocations: 80.53 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.0007756/0.0007756, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8671/0.8671, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.4845/0.4845, allocations: 80.18 MB / 340.1 MB, free: 7.559 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.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_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_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.4936 GB, free: 6.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.849e-05, allocations: 6.281 kB / 0.4936 GB, free: 6.332 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1057/0.1058, allocations: 125.7 MB / 0.6163 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.108, allocations: 3.101 MB / 0.6193 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.1082, allocations: 27.75 kB / 0.6194 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.1086, allocations: 202.5 kB / 0.6196 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005858/0.1092, allocations: 0.5433 MB / 0.6201 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.1096, allocations: 406.4 kB / 0.6205 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007077/0.1103, allocations: 0.814 MB / 0.6213 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1105, allocations: 77.36 kB / 0.6213 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005082/0.111, allocations: 0.4906 MB / 0.6218 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.1113, allocations: 323.1 kB / 0.6221 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.1113, allocations: 32 kB / 0.6222 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000487/0.1118, allocations: 0.5067 MB / 0.6227 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.1118, allocations: 99.53 kB / 0.6227 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.112, allocations: 167.5 kB / 0.6229 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.1126, allocations: 0.7477 MB / 0.6236 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1126, allocations: 4 kB / 0.6236 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1126, allocations: 0 / 0.6236 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1126, allocations: 0 / 0.6236 GB, free: 2.328 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.000925/0.1135, allocations: 0.7916 MB / 0.6244 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1136, allocations: 10.06 kB / 0.6244 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.1137, allocations: 60.61 kB / 0.6245 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.1142, allocations: 362.4 kB / 0.6248 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.1142, allocations: 21.38 kB / 0.6248 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.1142, allocations: 36.38 kB / 0.6249 GB, free: 1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.1147, allocations: 428.5 kB / 0.6253 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1147, allocations: 4.188 kB / 0.6253 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.1148, allocations: 16.12 kB / 0.6253 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1148, allocations: 8 kB / 0.6253 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.1152, allocations: 378.4 kB / 0.6257 GB, free: 164 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.1166, allocations: 1.231 MB / 0.6269 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.1171, allocations: 336.5 kB / 0.6272 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.1173, allocations: 152.7 kB / 0.6273 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.1183, allocations: 0.6989 MB / 0.628 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000552/0.1189, allocations: 211.3 kB / 0.6282 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 1.794e-06/0.1189, allocations: 0 / 0.6282 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.0008312/0.1197, allocations: 0.5333 MB / 0.6288 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.1198, allocations: 59.39 kB / 0.6288 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.12, allocations: 333.6 kB / 0.6291 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.12, allocations: 33.69 kB / 0.6292 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1201, allocations: 228.5 kB / 0.6294 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.1202, allocations: 126.9 kB / 0.6295 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.1202, allocations: 78.02 kB / 0.6296 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.1203, allocations: 354.8 kB / 0.6299 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.1205, allocations: 146.4 kB / 0.6301 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.1207, allocations: 205.1 kB / 0.6302 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.121, allocations: 335.1 kB / 0.6306 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.121, allocations: 0 / 0.6306 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005339/0.1216, allocations: 494.8 kB / 0.631 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.1216, allocations: 33.7 kB / 0.6311 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1216, allocations: 4.156 kB / 0.6311 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.1217, allocations: 44.77 kB / 0.6311 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.1219, allocations: 83.89 kB / 0.6312 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007778/0.1227, allocations: 1.397 MB / 0.6326 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1228, allocations: 43.75 kB / 0.6326 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.1228, allocations: 20.06 kB / 0.6326 GB, free: 8.711 MB / 0.5417 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.0001213/0.1229, allocations: 156.4 kB / 0.6328 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.123, allocations: 51.83 kB / 0.6328 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.1236, allocations: 0.5093 MB / 0.6333 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1236, allocations: 8 kB / 0.6333 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1236, allocations: 7.938 kB / 0.6333 GB, free: 7.965 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1236, allocations: 3.984 kB / 0.6333 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008232/0.1244, allocations: 0.8481 MB / 0.6342 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1245, allocations: 0 / 0.6342 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.1246, allocations: 55.91 kB / 0.6342 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.594e-05/0.1247, allocations: 48.88 kB / 0.6343 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1247, allocations: 15.98 kB / 0.6343 GB, free: 6.945 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009285/0.1256, allocations: 1.397 MB / 0.6356 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1256, allocations: 7.875 kB / 0.6357 GB, free: 5.438 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006643/0.1263, allocations: 0.644 MB / 0.6363 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.1263, allocations: 43.66 kB / 0.6363 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1263, allocations: 7.984 kB / 0.6363 GB, free: 4.715 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1264, allocations: 15.98 kB / 0.6363 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.1265, allocations: 40.08 kB / 0.6364 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1265, allocations: 11.98 kB / 0.6364 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001494/0.1267, allocations: 247.2 kB / 0.6366 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1267, allocations: 4.062 kB / 0.6366 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003295/0.127, allocations: 179.6 kB / 0.6368 GB, free: 4.227 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.0002649/0.1273, allocations: 249.5 kB / 0.637 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005626/0.1278, allocations: 0.5108 MB / 0.6375 GB, free: 3.434 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1278, allocations: 0 / 0.6375 GB, free: 3.434 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.1281, allocations: 278.4 kB / 0.6378 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.1286, allocations: 178.8 kB / 0.638 GB, free: 2.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1297, allocations: 0.8827 MB / 0.6388 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.1298, allocations: 216.2 kB / 0.639 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.1299, allocations: 52.48 kB / 0.6391 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of SimCode: time 7.21e-07/0.1299, allocations: 0 / 0.6391 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of Templates: time 0.1684/0.2983, allocations: 9.616 MB / 0.6485 GB, free: 145.6 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 5.679336843080819]