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.001877/0.001877, allocations: 82.64 kB / 19.16 MB, free: 2.535 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.002337/0.002337, allocations: 171.1 kB / 22.44 MB, free: 5.336 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.46/1.46, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.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.7395/0.7395, allocations: 74.9 MB / 334.1 MB, free: 15.99 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.002674/0.002674, allocations: 89.25 kB / 496 MB, free: 29.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1101, allocations: 73.05 MB / 0.5557 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1525/0.2625, allocations: 120.9 MB / 0.6738 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004175/0.2667, allocations: 3.062 MB / 0.6768 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.267, allocations: 27.75 kB / 0.6768 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.2675, allocations: 127 kB / 0.6769 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.2681, allocations: 198.7 kB / 0.6771 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.2687, allocations: 195.2 kB / 0.6773 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005324/0.2692, allocations: 402.4 kB / 0.6777 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.2693, allocations: 36.91 kB / 0.6777 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000661/0.27, allocations: 298.8 kB / 0.678 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.2702, allocations: 123.3 kB / 0.6781 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.2702, allocations: 12 kB / 0.6781 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.2707, allocations: 219.5 kB / 0.6784 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.2707, allocations: 35.8 kB / 0.6784 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.2708, allocations: 83.41 kB / 0.6785 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.2714, allocations: 330.5 kB / 0.6788 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2714, allocations: 0 / 0.6788 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2714, allocations: 0 / 0.6788 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2714, allocations: 0 / 0.6788 GB, free: 1.008 MB / 0.5762 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.0007854/0.2721, allocations: 0.5124 MB / 0.6793 GB, free: 472 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2722, allocations: 8.031 kB / 0.6793 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.2722, allocations: 32.75 kB / 0.6793 GB, free: 432 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.2728, allocations: 309 kB / 0.6796 GB, free: 100 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2728, allocations: 8.609 kB / 0.6796 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.2729, allocations: 12.38 kB / 0.6796 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.2731, allocations: 151.5 kB / 0.6798 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2731, allocations: 3.938 kB / 0.6798 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2731, allocations: 4 kB / 0.6798 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2731, allocations: 4 kB / 0.6798 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.2733, allocations: 75.91 kB / 0.6799 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/0.2741, allocations: 0.6333 MB / 0.6805 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.2742, allocations: 77.16 kB / 0.6806 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.211e-05/0.2743, allocations: 37.66 kB / 0.6806 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-05/0.2744, allocations: 12.08 kB / 0.6806 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.2744, allocations: 38.5 kB / 0.6806 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.2744, allocations: 4 kB / 0.6806 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006818/0.2751, allocations: 175.4 kB / 0.6808 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.2752, allocations: 81.11 kB / 0.6809 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.2755, allocations: 276.6 kB / 0.6811 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.2755, allocations: 33.69 kB / 0.6812 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.2757, allocations: 168 kB / 0.6813 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.2757, allocations: 35.72 kB / 0.6814 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.2758, allocations: 21.72 kB / 0.6814 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2759, allocations: 346.7 kB / 0.6817 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.276, allocations: 19.94 kB / 0.6817 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.987e-05/0.276, allocations: 55.3 kB / 0.6818 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.2762, allocations: 71.42 kB / 0.6819 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2762, allocations: 3.938 kB / 0.6819 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002738/0.2764, allocations: 151.1 kB / 0.682 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2765, allocations: 4 kB / 0.682 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.2765, allocations: 7.938 kB / 0.682 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.2767, allocations: 41.64 kB / 0.6821 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.077e-05/0.2767, allocations: 8 kB / 0.6821 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.2789, allocations: 2.521 MB / 0.6845 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.279, allocations: 3.938 kB / 0.6845 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.279, allocations: 4.031 kB / 0.6845 GB, free: 10.64 MB / 0.5919 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.0001434/0.2791, allocations: 134.1 kB / 0.6847 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.2792, allocations: 27.81 kB / 0.6847 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.2795, allocations: 159.2 kB / 0.6848 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2795, allocations: 0 / 0.6848 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.2795, allocations: 4 kB / 0.6849 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2795, allocations: 0 / 0.6849 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.2801, allocations: 472.8 kB / 0.6853 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2801, allocations: 0 / 0.6853 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.2801, allocations: 7.938 kB / 0.6853 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.2802, allocations: 41.64 kB / 0.6854 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2803, allocations: 0 / 0.6854 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.2823, allocations: 2.52 MB / 0.6878 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2823, allocations: 0 / 0.6878 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.2827, allocations: 334 kB / 0.6881 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.2828, allocations: 31.72 kB / 0.6882 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.2828, allocations: 320 / 0.6882 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2829, allocations: 12 kB / 0.6882 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.2829, allocations: 7.984 kB / 0.6882 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.2829, allocations: 0 / 0.6882 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002408/0.2832, allocations: 207.1 kB / 0.6884 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2832, allocations: 192 / 0.6884 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004064/0.2836, allocations: 55.88 kB / 0.6884 GB, free: 6.34 MB / 0.5919 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.0002424/0.2838, allocations: 151.1 kB / 0.6886 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004715/0.2843, allocations: 293.2 kB / 0.6889 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2843, allocations: 0 / 0.6889 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.2846, allocations: 253.2 kB / 0.6891 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.285, allocations: 41.8 kB / 0.6891 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.2861, allocations: 0.5812 MB / 0.6897 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.2863, allocations: 147.5 kB / 0.6898 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.039e-05/0.2863, allocations: 21.94 kB / 0.6899 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.2864, allocations: 20.5 kB / 0.6899 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.2864, allocations: 0 / 0.6899 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of Templates: time 0.007724/0.2941, allocations: 2.759 MB / 0.6926 GB, free: 2.02 MB / 0.5919 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=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.849352546036243]