Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.002214/0.002214, 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.002433/0.002433, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.638/1.638, allocations: 177.1 MB / 203.1 MB, free: 5.281 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.078/1.078, allocations: 118.6 MB / 378.2 MB, free: 1.445 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.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 482.9 MB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.869e-05, allocations: 3.031 kB / 482.9 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1996/0.1996, allocations: 135.7 MB / 0.6041 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002984/0.2026, allocations: 1.659 MB / 0.6057 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.203, allocations: 31.69 kB / 0.6057 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006707/0.2037, allocations: 131 kB / 0.6059 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007994/0.2045, allocations: 226.6 kB / 0.6061 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.2051, allocations: 211.1 kB / 0.6063 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007122/0.2058, allocations: 446 kB / 0.6067 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.206, allocations: 36.86 kB / 0.6067 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008351/0.2068, allocations: 306.9 kB / 0.607 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.2071, allocations: 111.7 kB / 0.6071 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.2071, allocations: 8 kB / 0.6071 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.2077, allocations: 223.5 kB / 0.6073 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.2077, allocations: 39.72 kB / 0.6074 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.2078, allocations: 67.8 kB / 0.6075 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007357/0.2086, allocations: 346.7 kB / 0.6078 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2086, allocations: 0 / 0.6078 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2086, allocations: 0 / 0.6078 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.2086, allocations: 0 / 0.6078 GB, free: 5.094 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001106/0.2097, allocations: 0.6431 MB / 0.6084 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2097, allocations: 12.03 kB / 0.6084 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2099, allocations: 48.7 kB / 0.6085 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.2105, allocations: 366.6 kB / 0.6088 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2106, allocations: 8.609 kB / 0.6088 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.2106, allocations: 16.38 kB / 0.6088 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.2109, allocations: 161.1 kB / 0.609 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2109, allocations: 192 / 0.609 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.2109, allocations: 12.12 kB / 0.609 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.2109, allocations: 11.92 kB / 0.609 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.2111, allocations: 55.92 kB / 0.6091 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.2122, allocations: 0.8788 MB / 0.6099 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.2124, allocations: 94.05 kB / 0.61 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.2125, allocations: 43.55 kB / 0.6101 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.029e-05/0.2126, allocations: 12 kB / 0.6101 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.2126, allocations: 41.38 kB / 0.6101 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2126, allocations: 0 / 0.6101 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0007281/0.2133, allocations: 200.6 kB / 0.6103 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.2134, allocations: 81.11 kB / 0.6104 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.2138, allocations: 402.8 kB / 0.6108 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.2139, allocations: 25.7 kB / 0.6108 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.2141, allocations: 235 kB / 0.611 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.2141, allocations: 39.69 kB / 0.6111 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.2142, allocations: 31.38 kB / 0.6111 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005469/0.2147, allocations: 0.5196 MB / 0.6116 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.2148, allocations: 23.98 kB / 0.6116 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.2148, allocations: 54.73 kB / 0.6117 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.215, allocations: 94.69 kB / 0.6118 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.215, allocations: 4 kB / 0.6118 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003152/0.2153, allocations: 161.1 kB / 0.6119 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.2153, allocations: 8 kB / 0.6119 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2153, allocations: 0 / 0.6119 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.2156, allocations: 55.28 kB / 0.612 GB, free: 492 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.2156, allocations: 8.062 kB / 0.612 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.2186, allocations: 3.565 MB / 0.6155 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.2187, allocations: 16.08 kB / 0.6155 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2187, allocations: 8 kB / 0.6155 GB, free: 12.64 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.2189, allocations: 172.6 kB / 0.6156 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.219, allocations: 35.81 kB / 0.6157 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.2193, allocations: 166.9 kB / 0.6158 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.2194, allocations: 7.984 kB / 0.6158 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2194, allocations: 3.938 kB / 0.6159 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2194, allocations: 96 / 0.6159 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.2201, allocations: 0.6202 MB / 0.6165 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.2201, allocations: 7.984 kB / 0.6165 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.2201, allocations: 7.938 kB / 0.6165 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.2203, allocations: 47.34 kB / 0.6165 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2203, allocations: 8.125 kB / 0.6165 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.2234, allocations: 3.553 MB / 0.62 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2234, allocations: 4.234 kB / 0.62 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.2239, allocations: 445.5 kB / 0.6204 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.224, allocations: 28.06 kB / 0.6205 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.224, allocations: 4 kB / 0.6205 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.2241, allocations: 7.938 kB / 0.6205 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.2242, allocations: 7.984 kB / 0.6205 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2242, allocations: 4.047 kB / 0.6205 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003002/0.2245, allocations: 279.1 kB / 0.6207 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.2245, allocations: 0 / 0.6207 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004046/0.2249, allocations: 55.92 kB / 0.6208 GB, free: 6.812 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002934/0.2252, allocations: 159.2 kB / 0.6209 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006173/0.2258, allocations: 414.9 kB / 0.6213 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2258, allocations: 0 / 0.6213 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.2262, allocations: 375.5 kB / 0.6217 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006032/0.2268, allocations: 65.58 kB / 0.6218 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.2279, allocations: 0.574 MB / 0.6223 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.2281, allocations: 160.7 kB / 0.6225 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.404e-05/0.2282, allocations: 29.78 kB / 0.6225 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.2282, allocations: 24.48 kB / 0.6225 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of SimCode: time 8.02e-07/0.2282, allocations: 4 kB / 0.6225 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of Templates: time 0.009759/0.238, allocations: 3.549 MB / 0.626 GB, free: 1.434 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.305960743920878]