Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.002337/0.002337, allocations: 85.48 kB / 19.44 MB, free: 340 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.002808/0.002808, allocations: 177.2 kB / 22.77 MB, free: 1.656 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.542/1.542, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.068/1.068, allocations: 118.6 MB / 378.2 MB, free: 1.441 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.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 482.9 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.756e-05, allocations: 2.312 kB / 482.9 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.2077/0.2078, allocations: 134.7 MB / 0.6031 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.2099, allocations: 1.297 MB / 0.6044 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.2101, allocations: 23.75 kB / 0.6044 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.2106, allocations: 123.2 kB / 0.6045 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004434/0.211, allocations: 170.8 kB / 0.6047 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.2115, allocations: 179.2 kB / 0.6049 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.212, allocations: 370.3 kB / 0.6052 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.2122, allocations: 45.22 kB / 0.6053 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006857/0.2128, allocations: 279 kB / 0.6055 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.2131, allocations: 107.7 kB / 0.6056 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.2131, allocations: 12 kB / 0.6056 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.2135, allocations: 171.6 kB / 0.6058 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.283e-05/0.2136, allocations: 43.78 kB / 0.6058 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2137, allocations: 71.77 kB / 0.6059 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.2142, allocations: 307 kB / 0.6062 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2143, allocations: 0 / 0.6062 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.486e-06/0.2143, allocations: 4 kB / 0.6062 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2143, allocations: 0 / 0.6062 GB, free: 6.672 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001077/0.2153, allocations: 0.6368 MB / 0.6068 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2154, allocations: 12.02 kB / 0.6068 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.2155, allocations: 44.75 kB / 0.6069 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.216, allocations: 295.2 kB / 0.6072 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.216, allocations: 4.375 kB / 0.6072 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.216, allocations: 20.27 kB / 0.6072 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.2164, allocations: 177.2 kB / 0.6074 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2164, allocations: 3.938 kB / 0.6074 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.2164, allocations: 8 kB / 0.6074 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2165, allocations: 0 / 0.6074 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.2167, allocations: 79.89 kB / 0.6074 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.2179, allocations: 0.925 MB / 0.6083 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.2182, allocations: 79.03 kB / 0.6084 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.2183, allocations: 39.78 kB / 0.6085 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.734e-05/0.2184, allocations: 8 kB / 0.6085 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.2186, allocations: 92.94 kB / 0.6086 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.2186, allocations: 4 kB / 0.6086 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0004396/0.2191, allocations: 141.5 kB / 0.6087 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.2191, allocations: 51.41 kB / 0.6087 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.2195, allocations: 378.3 kB / 0.6091 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.2195, allocations: 25.7 kB / 0.6091 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.2197, allocations: 230.5 kB / 0.6093 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.2198, allocations: 27.78 kB / 0.6094 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.2199, allocations: 47.36 kB / 0.6094 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002901/0.2202, allocations: 0.5196 MB / 0.6099 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.2203, allocations: 69.62 kB / 0.61 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.2205, allocations: 126.5 kB / 0.6101 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.2208, allocations: 163.2 kB / 0.6103 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2208, allocations: 0 / 0.6103 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000471/0.2213, allocations: 244.7 kB / 0.6105 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.2213, allocations: 33.86 kB / 0.6105 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.2213, allocations: 7.984 kB / 0.6105 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2214, allocations: 4 kB / 0.6105 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2215, allocations: 35.92 kB / 0.6106 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2215, allocations: 0 / 0.6106 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.2217, allocations: 19.83 kB / 0.6106 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.2217, allocations: 8 kB / 0.6106 GB, free: 1.828 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.2218, allocations: 180.5 kB / 0.6108 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.2219, allocations: 27.86 kB / 0.6108 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.2222, allocations: 124.3 kB / 0.6109 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2222, allocations: 0 / 0.6109 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2222, allocations: 0 / 0.6109 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2222, allocations: 4 kB / 0.6109 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.2225, allocations: 224.5 kB / 0.6111 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2225, allocations: 0 / 0.6111 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.822e-05/0.2226, allocations: 16 kB / 0.6112 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2226, allocations: 0 / 0.6112 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2226, allocations: 3.984 kB / 0.6112 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.2226, allocations: 8 kB / 0.6112 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2226, allocations: 7.938 kB / 0.6112 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.223, allocations: 188.1 kB / 0.6114 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.2231, allocations: 31.8 kB / 0.6114 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.2231, allocations: 0 / 0.6114 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.2232, allocations: 4 kB / 0.6114 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.2233, allocations: 15.97 kB / 0.6114 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.2233, allocations: 4 kB / 0.6114 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002513/0.2236, allocations: 247 kB / 0.6116 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.2236, allocations: 0 / 0.6116 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002658/0.2238, allocations: 47.89 kB / 0.6117 GB, free: 0.6445 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002276/0.2241, allocations: 139.2 kB / 0.6118 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.2245, allocations: 191.7 kB / 0.612 GB, free: 296 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.2245, allocations: 4.312 kB / 0.612 GB, free: 292 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.2246, allocations: 39.67 kB / 0.612 GB, free: 248 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.225, allocations: 67.41 kB / 0.6121 GB, free: 180 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008564/0.2259, allocations: 443.4 kB / 0.6125 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.2261, allocations: 142.2 kB / 0.6127 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.41e-05/0.2261, allocations: 21.95 kB / 0.6127 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.2262, allocations: 24.48 kB / 0.6127 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/0.2262, allocations: 0 / 0.6127 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.008125/0.2343, allocations: 2.981 MB / 0.6156 GB, free: 12.64 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.975632369983941]