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.00136/0.00136, 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.0023/0.0023, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.582 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.149/1.149, allocations: 118.6 MB / 378.2 MB, free: 1.434 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 1.984e-06/1.984e-06, allocations: 0 / 482.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.05e-05, allocations: 2.312 kB / 482.9 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1972/0.1972, allocations: 125.1 MB / 0.5937 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004585/0.2018, allocations: 2.539 MB / 0.5962 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.2022, allocations: 27.75 kB / 0.5962 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006706/0.2029, allocations: 162.7 kB / 0.5964 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.204, allocations: 429.2 kB / 0.5968 GB, free: 368 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008803/0.2049, allocations: 318.6 kB / 0.5971 GB, free: 48 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008153/0.2057, allocations: 0.6025 MB / 0.5977 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.2059, allocations: 65.84 kB / 0.5977 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007433/0.2066, allocations: 366.9 kB / 0.5981 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.207, allocations: 207.4 kB / 0.5983 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.207, allocations: 24 kB / 0.5983 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009587/0.208, allocations: 435 kB / 0.5987 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.2081, allocations: 67.62 kB / 0.5988 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.2083, allocations: 127.6 kB / 0.5989 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.2093, allocations: 0.5957 MB / 0.5995 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2093, allocations: 8 kB / 0.5995 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2093, allocations: 0 / 0.5995 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.2094, allocations: 0 / 0.5995 GB, free: 13.56 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.001492/0.2108, allocations: 0.7051 MB / 0.6002 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2109, allocations: 8.031 kB / 0.6002 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.2111, allocations: 80.53 kB / 0.6003 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000868/0.2119, allocations: 378.4 kB / 0.6006 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.212, allocations: 16.88 kB / 0.6006 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.212, allocations: 24.33 kB / 0.6007 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/0.2126, allocations: 280.1 kB / 0.6009 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2127, allocations: 192 / 0.6009 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.2127, allocations: 11.94 kB / 0.6009 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2127, allocations: 4 kB / 0.6009 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005486/0.2133, allocations: 225.9 kB / 0.6011 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.2148, allocations: 0.8111 MB / 0.6019 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.2153, allocations: 206.5 kB / 0.6021 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.2156, allocations: 96.81 kB / 0.6022 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008653/0.2165, allocations: 468 kB / 0.6027 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/0.2169, allocations: 149.3 kB / 0.6028 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.2169, allocations: 0 / 0.6028 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.001308/0.2182, allocations: 403.5 kB / 0.6032 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.2182, allocations: 51.41 kB / 0.6033 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.2188, allocations: 369.6 kB / 0.6036 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.2188, allocations: 29.7 kB / 0.6036 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.219, allocations: 216.3 kB / 0.6038 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.608e-05/0.2191, allocations: 83.33 kB / 0.6039 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2192, allocations: 45.7 kB / 0.604 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002335/0.2194, allocations: 358.7 kB / 0.6043 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.2197, allocations: 101.7 kB / 0.6044 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.22, allocations: 153.1 kB / 0.6045 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.2205, allocations: 216.5 kB / 0.6048 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2205, allocations: 4 kB / 0.6048 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008602/0.2214, allocations: 403.9 kB / 0.6051 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.2214, allocations: 33.69 kB / 0.6052 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.2214, allocations: 7.938 kB / 0.6052 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.2218, allocations: 48.81 kB / 0.6052 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.222, allocations: 47.91 kB / 0.6053 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.2236, allocations: 1.39 MB / 0.6066 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.2238, allocations: 31.86 kB / 0.6067 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.2238, allocations: 12 kB / 0.6067 GB, free: 5.801 MB / 0.5261 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.000219/0.2241, allocations: 157.6 kB / 0.6068 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.2242, allocations: 43.77 kB / 0.6069 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008733/0.225, allocations: 343.1 kB / 0.6072 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.225, allocations: 7.938 kB / 0.6072 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.225, allocations: 0 / 0.6072 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2251, allocations: 4 kB / 0.6072 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.2264, allocations: 0.6454 MB / 0.6078 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2264, allocations: 0 / 0.6078 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.2266, allocations: 39.91 kB / 0.6079 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/0.2268, allocations: 48.81 kB / 0.6079 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.2269, allocations: 11.98 kB / 0.6079 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.2283, allocations: 1.409 MB / 0.6093 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2283, allocations: 0 / 0.6093 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2294, allocations: 0.5034 MB / 0.6098 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.2295, allocations: 67.66 kB / 0.6099 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.2296, allocations: 8 kB / 0.6099 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.2298, allocations: 16.11 kB / 0.6099 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.2299, allocations: 27.95 kB / 0.6099 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.2299, allocations: 11.98 kB / 0.6099 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003262/0.2302, allocations: 255.2 kB / 0.6102 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.2302, allocations: 0 / 0.6102 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005162/0.2307, allocations: 127.8 kB / 0.6103 GB, free: 1.918 MB / 0.5261 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.0004335/0.2312, allocations: 230.6 kB / 0.6105 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009196/0.2321, allocations: 422.8 kB / 0.6109 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2321, allocations: 0 / 0.6109 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.2326, allocations: 238.2 kB / 0.6111 GB, free: 1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008733/0.2334, allocations: 162 kB / 0.6113 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.2352, allocations: 0.7276 MB / 0.612 GB, free: 88 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.2355, allocations: 191.8 kB / 0.6122 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.2357, allocations: 64.05 kB / 0.6123 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.2358, allocations: 44.48 kB / 0.6123 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of SimCode: time 3.7e-07/0.2358, allocations: 0 / 0.6123 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of Templates: time 0.016/0.2518, allocations: 7.633 MB / 0.6197 GB, free: 8.332 MB / 0.5417 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=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.451671181013808]