Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001605/0.001605, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001788/0.001788, allocations: 157.8 kB / 23.01 MB, free: 4.605 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.411/1.411, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.698/0.698, allocations: 74.91 MB / 334.7 MB, free: 15.52 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.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") [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.002638/0.002638, allocations: 88.25 kB / 496.4 MB, free: 29.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.112, allocations: 73.04 MB / 0.5561 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.1522/0.2642, allocations: 121 MB / 0.6742 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002697/0.2669, allocations: 1.956 MB / 0.6761 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.2671, allocations: 19.81 kB / 0.6761 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.2676, allocations: 111.2 kB / 0.6762 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.268, allocations: 151 kB / 0.6764 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.2684, allocations: 167.4 kB / 0.6765 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.2688, allocations: 326.7 kB / 0.6768 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.269, allocations: 37.25 kB / 0.6769 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.2695, allocations: 223.1 kB / 0.6771 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.2697, allocations: 123.3 kB / 0.6772 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.2697, allocations: 12 kB / 0.6772 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003595/0.2701, allocations: 167.7 kB / 0.6774 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.2701, allocations: 31.84 kB / 0.6774 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.2703, allocations: 91.47 kB / 0.6775 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.2707, allocations: 290.8 kB / 0.6778 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2707, allocations: 0 / 0.6778 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2707, allocations: 0 / 0.6778 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2708, allocations: 4 kB / 0.6778 GB, free: 2.473 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009972/0.2717, allocations: 0.5064 MB / 0.6783 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2718, allocations: 8.031 kB / 0.6783 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.2719, allocations: 32.75 kB / 0.6783 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.2724, allocations: 256 kB / 0.6785 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2724, allocations: 12.38 kB / 0.6785 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.2724, allocations: 16.33 kB / 0.6786 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.2728, allocations: 177.1 kB / 0.6787 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2728, allocations: 0 / 0.6787 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2728, allocations: 8 kB / 0.6787 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2728, allocations: 4 kB / 0.6787 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.2732, allocations: 99.86 kB / 0.6788 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.2742, allocations: 0.6834 MB / 0.6795 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.2745, allocations: 94.45 kB / 0.6796 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.2746, allocations: 36.95 kB / 0.6796 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.615e-05/0.2747, allocations: 7.984 kB / 0.6796 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.2749, allocations: 87.34 kB / 0.6797 GB, free: 320 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.2749, allocations: 0 / 0.6797 GB, free: 320 kB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005384/0.2755, allocations: 157.4 kB / 0.6799 GB, free: 156 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.2755, allocations: 63.34 kB / 0.6799 GB, free: 80 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.2758, allocations: 260.2 kB / 0.6802 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2758, allocations: 25.7 kB / 0.6802 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.276, allocations: 176 kB / 0.6804 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.276, allocations: 27.78 kB / 0.6804 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.646e-05/0.2761, allocations: 33.7 kB / 0.6804 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2762, allocations: 334.8 kB / 0.6808 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.2764, allocations: 73.61 kB / 0.6808 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.2766, allocations: 110.8 kB / 0.6809 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.277, allocations: 154.7 kB / 0.6811 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.277, allocations: 4 kB / 0.6811 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004848/0.2774, allocations: 232.8 kB / 0.6813 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.2775, allocations: 41.69 kB / 0.6813 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2775, allocations: 0 / 0.6813 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2775, allocations: 4 kB / 0.6813 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.2777, allocations: 27.92 kB / 0.6814 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2777, allocations: 4 kB / 0.6814 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.2778, allocations: 27.81 kB / 0.6814 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2779, allocations: 11.94 kB / 0.6814 GB, free: 14.45 MB / 0.5919 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.0001445/0.278, allocations: 138.1 kB / 0.6815 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.278, allocations: 23.86 kB / 0.6816 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.2784, allocations: 131.3 kB / 0.6817 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2784, allocations: 3.938 kB / 0.6817 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2784, allocations: 4 kB / 0.6817 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2784, allocations: 0 / 0.6817 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.2786, allocations: 173.2 kB / 0.6819 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2786, allocations: 4 kB / 0.6819 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.2787, allocations: 27.91 kB / 0.6819 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2787, allocations: 0 / 0.6819 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.2788, allocations: 4 kB / 0.6819 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2788, allocations: 0 / 0.6819 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2788, allocations: 3.938 kB / 0.6819 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.2793, allocations: 188.9 kB / 0.6821 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.2793, allocations: 15.89 kB / 0.6821 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.2793, allocations: 7.938 kB / 0.6821 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2794, allocations: 16.05 kB / 0.6821 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.2795, allocations: 15.91 kB / 0.6821 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2795, allocations: 4 kB / 0.6821 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001921/0.2797, allocations: 183.1 kB / 0.6823 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2797, allocations: 0 / 0.6823 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002787/0.28, allocations: 43.89 kB / 0.6824 GB, free: 13.41 MB / 0.5919 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.0001995/0.2802, allocations: 135.2 kB / 0.6825 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.2806, allocations: 177 kB / 0.6827 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2806, allocations: 4 kB / 0.6827 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.2808, allocations: 40.38 kB / 0.6827 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.2811, allocations: 46.03 kB / 0.6827 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008905/0.282, allocations: 463.2 kB / 0.6832 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.2821, allocations: 129.8 kB / 0.6833 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.083e-05/0.2822, allocations: 21.95 kB / 0.6833 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.2822, allocations: 24.48 kB / 0.6834 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.2822, allocations: 7.875 kB / 0.6834 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of Templates: time 0.006687/0.2889, allocations: 2.365 MB / 0.6857 GB, free: 9.992 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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.632669897051528]