Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.002129/0.002129, allocations: 85.48 kB / 19.44 MB, free: 344 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.00223/0.00223, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.062/1.062, allocations: 118.6 MB / 378.2 MB, free: 1.48 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 482.9 MB, free: 8.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.878e-05, allocations: 2.312 kB / 482.9 MB, free: 8.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.2046/0.2046, allocations: 135.7 MB / 0.6041 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00277/0.2074, allocations: 1.651 MB / 0.6057 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.2076, allocations: 31.69 kB / 0.6057 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.2082, allocations: 131 kB / 0.6059 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.2088, allocations: 230.6 kB / 0.6061 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.2094, allocations: 215 kB / 0.6063 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005977/0.21, allocations: 442 kB / 0.6067 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.2101, allocations: 44.84 kB / 0.6067 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.2108, allocations: 302.9 kB / 0.607 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.211, allocations: 115.6 kB / 0.6071 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.2111, allocations: 8 kB / 0.6071 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004659/0.2115, allocations: 219.5 kB / 0.6074 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.2116, allocations: 39.78 kB / 0.6074 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2117, allocations: 71.73 kB / 0.6075 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005969/0.2123, allocations: 342.8 kB / 0.6078 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2123, allocations: 0 / 0.6078 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2123, allocations: 0 / 0.6078 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2123, allocations: 0 / 0.6078 GB, free: 5.09 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.0009646/0.2133, allocations: 0.6431 MB / 0.6084 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2133, allocations: 8.031 kB / 0.6084 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.917e-05/0.2134, allocations: 48.7 kB / 0.6085 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/0.2141, allocations: 374.6 kB / 0.6088 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2141, allocations: 8.609 kB / 0.6088 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.2141, allocations: 12.38 kB / 0.6088 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.2144, allocations: 156.9 kB / 0.609 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2144, allocations: 192 / 0.609 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.2144, allocations: 16.12 kB / 0.609 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2144, allocations: 4 kB / 0.609 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.2146, allocations: 59.91 kB / 0.6091 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.2157, allocations: 0.8788 MB / 0.6099 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.2159, allocations: 98.14 kB / 0.61 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.315e-05/0.2159, allocations: 39.44 kB / 0.6101 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.221e-05/0.216, allocations: 12 kB / 0.6101 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.2161, allocations: 37.39 kB / 0.6101 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2161, allocations: 0 / 0.6101 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0007189/0.2168, allocations: 204.6 kB / 0.6103 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.2169, allocations: 81.11 kB / 0.6104 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/0.2173, allocations: 398.8 kB / 0.6108 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.2173, allocations: 25.7 kB / 0.6108 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.2175, allocations: 235 kB / 0.611 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.2176, allocations: 35.7 kB / 0.611 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.2176, allocations: 39.36 kB / 0.6111 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005196/0.2181, allocations: 0.5235 MB / 0.6116 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.2182, allocations: 19.98 kB / 0.6116 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.856e-05/0.2183, allocations: 54.75 kB / 0.6117 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2184, allocations: 94.67 kB / 0.6118 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2184, allocations: 0 / 0.6118 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003216/0.2187, allocations: 164.7 kB / 0.6119 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2187, allocations: 12.06 kB / 0.6119 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2187, allocations: 0 / 0.6119 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/0.219, allocations: 51.34 kB / 0.612 GB, free: 492 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.219, allocations: 11.94 kB / 0.612 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.2221, allocations: 3.566 MB / 0.6155 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.2221, allocations: 15.83 kB / 0.6155 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.2222, allocations: 4 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.0001749/0.2223, allocations: 176.8 kB / 0.6157 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.021e-05/0.2224, allocations: 35.81 kB / 0.6157 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.2228, allocations: 166.9 kB / 0.6158 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.2228, allocations: 4 kB / 0.6159 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.2228, allocations: 0 / 0.6159 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2228, allocations: 0 / 0.6159 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007692/0.2236, allocations: 0.6164 MB / 0.6165 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.2236, allocations: 8.031 kB / 0.6165 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.2236, allocations: 11.94 kB / 0.6165 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.2238, allocations: 47.34 kB / 0.6165 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2238, allocations: 4 kB / 0.6165 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.2269, allocations: 3.565 MB / 0.62 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2269, allocations: 0 / 0.62 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.2275, allocations: 441.7 kB / 0.6204 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.2275, allocations: 36.08 kB / 0.6205 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.2276, allocations: 4 kB / 0.6205 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2277, allocations: 7.938 kB / 0.6205 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.2277, allocations: 7.984 kB / 0.6205 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.2277, allocations: 0 / 0.6205 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003016/0.228, allocations: 283.1 kB / 0.6207 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.228, allocations: 0 / 0.6207 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004175/0.2285, allocations: 51.89 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.000264/0.2287, allocations: 159.2 kB / 0.6209 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005905/0.2293, allocations: 419 kB / 0.6213 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2293, allocations: 0 / 0.6213 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.2297, allocations: 371.4 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.0006062/0.2303, allocations: 74.78 kB / 0.6218 GB, free: 5.734 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2314, allocations: 0.5685 MB / 0.6223 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.2316, allocations: 160.7 kB / 0.6225 GB, free: 4.945 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.776e-05/0.2316, allocations: 34.2 kB / 0.6225 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.2317, allocations: 24.5 kB / 0.6225 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of SimCode: time 6.12e-07/0.2317, allocations: 0 / 0.6225 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of Templates: time 0.009597/0.2413, allocations: 3.551 MB / 0.626 GB, free: 1.434 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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_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.182604414061643]