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.001443/0.001443, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001651/0.001651, allocations: 206.7 kB / 22.24 MB, free: 5.258 MB / 14.72 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.739/0.739, allocations: 94.63 MB / 407.1 MB, free: 8.945 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002601/0.002601, allocations: 83.16 kB / 0.5554 GB, free: 38.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1178, allocations: 73.05 MB / 0.6268 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1567/0.2744, allocations: 121 MB / 0.7449 GB, free: 6.281 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003944/0.2784, allocations: 3.055 MB / 0.7479 GB, free: 3.215 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.2786, allocations: 27.75 kB / 0.7479 GB, free: 3.188 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.2792, allocations: 131.1 kB / 0.748 GB, free: 3.059 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.2797, allocations: 198.8 kB / 0.7482 GB, free: 2.863 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.2802, allocations: 195.3 kB / 0.7484 GB, free: 2.672 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0004505/0.2807, allocations: 402.4 kB / 0.7488 GB, free: 2.277 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2808, allocations: 36.92 kB / 0.7488 GB, free: 2.238 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000519/0.2813, allocations: 231 kB / 0.7491 GB, free: 2.012 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.2815, allocations: 123.2 kB / 0.7492 GB, free: 1.891 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.2815, allocations: 12 kB / 0.7492 GB, free: 1.879 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.282, allocations: 223.6 kB / 0.7494 GB, free: 1.66 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.282, allocations: 35.78 kB / 0.7494 GB, free: 1.625 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 8.84e-05/0.2821, allocations: 83.44 kB / 0.7495 GB, free: 1.543 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.2826, allocations: 330.5 kB / 0.7498 GB, free: 1.219 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2826, allocations: 0 / 0.7498 GB, free: 1.219 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2826, allocations: 0 / 0.7498 GB, free: 1.219 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2826, allocations: 4 kB / 0.7498 GB, free: 1.215 MB / 0.5763 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.0008045/0.2834, allocations: 0.5085 MB / 0.7503 GB, free: 0.6719 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2835, allocations: 8.031 kB / 0.7503 GB, free: 0.6641 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.2835, allocations: 32.75 kB / 0.7504 GB, free: 0.6328 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/0.2842, allocations: 305 kB / 0.7507 GB, free: 316 kB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.2842, allocations: 12.61 kB / 0.7507 GB, free: 304 kB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.2842, allocations: 12.38 kB / 0.7507 GB, free: 292 kB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.2845, allocations: 152.2 kB / 0.7508 GB, free: 124 kB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2845, allocations: 3.938 kB / 0.7508 GB, free: 120 kB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.2845, allocations: 8 kB / 0.7508 GB, free: 112 kB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2845, allocations: 4 kB / 0.7508 GB, free: 108 kB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.2847, allocations: 70.72 kB / 0.7509 GB, free: 40 kB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2611/0.5457, allocations: 0.6457 MB / 0.7515 GB, free: 128.3 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.5459, allocations: 77.22 kB / 0.7516 GB, free: 128.3 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.5459, allocations: 32.33 kB / 0.7516 GB, free: 128.3 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 7.994e-05/0.546, allocations: 10.91 kB / 0.7517 GB, free: 128.3 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.546, allocations: 35.05 kB / 0.7517 GB, free: 128.2 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=8): time 2.324e-06/0.546, allocations: 0.9375 kB / 0.7517 GB, free: 128.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=8): time 0.00061/0.5466, allocations: 185.2 kB / 0.7519 GB, free: 128.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.5466, allocations: 79.83 kB / 0.7519 GB, free: 128.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.5469, allocations: 278 kB / 0.7522 GB, free: 128 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.5469, allocations: 28.47 kB / 0.7522 GB, free: 127.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/0.547, allocations: 176.1 kB / 0.7524 GB, free: 127.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.547, allocations: 28.61 kB / 0.7524 GB, free: 127.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.5471, allocations: 23.88 kB / 0.7525 GB, free: 127.8 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.5471, allocations: 339.5 kB / 0.7528 GB, free: 127.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.5472, allocations: 20.92 kB / 0.7528 GB, free: 127.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.5472, allocations: 46.52 kB / 0.7528 GB, free: 127.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.216e-05/0.5473, allocations: 74.53 kB / 0.7529 GB, free: 127.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5473, allocations: 0 / 0.7529 GB, free: 127.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002498/0.5476, allocations: 161.7 kB / 0.7531 GB, free: 127.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.5476, allocations: 6.016 kB / 0.7531 GB, free: 127.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5476, allocations: 4 kB / 0.7531 GB, free: 127.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.5478, allocations: 36.91 kB / 0.7531 GB, free: 127.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.5479, allocations: 17.72 kB / 0.7531 GB, free: 127.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.5491, allocations: 2.506 MB / 0.7556 GB, free: 125 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.5492, allocations: 7.734 kB / 0.7556 GB, free: 125 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.5492, allocations: 3.062 kB / 0.7556 GB, free: 125 MB / 0.5763 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 9.774e-05/0.5493, allocations: 137.8 kB / 0.7557 GB, free: 124.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.5494, allocations: 30.72 kB / 0.7557 GB, free: 124.8 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.5496, allocations: 147.1 kB / 0.7559 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5496, allocations: 6.547 kB / 0.7559 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.5496, allocations: 1.531 kB / 0.7559 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5496, allocations: 2.547 kB / 0.7559 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.5501, allocations: 478.8 kB / 0.7564 GB, free: 124.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5501, allocations: 0.5312 kB / 0.7564 GB, free: 124.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.5501, allocations: 6.781 kB / 0.7564 GB, free: 124.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.5502, allocations: 41.91 kB / 0.7564 GB, free: 124.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.5502, allocations: 7.016 kB / 0.7564 GB, free: 124.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.5515, allocations: 2.517 MB / 0.7589 GB, free: 121.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5515, allocations: 2.859 kB / 0.7589 GB, free: 121.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.5517, allocations: 339.7 kB / 0.7592 GB, free: 121.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.5518, allocations: 23.62 kB / 0.7592 GB, free: 121.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.5518, allocations: 4.25 kB / 0.7592 GB, free: 121.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.5519, allocations: 7.938 kB / 0.7592 GB, free: 121.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.5519, allocations: 15.06 kB / 0.7592 GB, free: 121.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.5519, allocations: 4.062 kB / 0.7592 GB, free: 121.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001948/0.5521, allocations: 205.8 kB / 0.7594 GB, free: 121.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5521, allocations: 0 / 0.7594 GB, free: 121.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003887/0.5525, allocations: 54.33 kB / 0.7595 GB, free: 121.5 MB / 0.5763 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.0001948/0.5527, allocations: 146.5 kB / 0.7596 GB, free: 121.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.5531, allocations: 282.2 kB / 0.7599 GB, free: 121.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5531, allocations: 3.688 kB / 0.7599 GB, free: 121.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.5533, allocations: 255.5 kB / 0.7602 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.5537, allocations: 37.58 kB / 0.7602 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008736/0.5546, allocations: 0.5811 MB / 0.7608 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.5547, allocations: 155 kB / 0.7609 GB, free: 120.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 6.223e-05/0.5548, allocations: 21.09 kB / 0.7609 GB, free: 120.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.5548, allocations: 20.03 kB / 0.7609 GB, free: 120.4 MB / 0.5763 GB Notification: Performance of SimCode: time 4.1e-07/0.5548, allocations: 7.438 kB / 0.7609 GB, free: 120.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.007532/0.5624, allocations: 3.046 MB / 0.7639 GB, free: 120 MB / 0.5763 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1200] 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: 5.8470830246806145]