Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001465/0.001465, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001605/0.001605, allocations: 156 kB / 23.01 MB, free: 4.602 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.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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 0.7348/0.7348, allocations: 79.61 MB / 339.4 MB, free: 11 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_dev_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_dev_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.002433/0.002433, allocations: 94.23 kB / 0.4924 GB, free: 26.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1173, allocations: 74.58 MB / 0.5652 GB, free: 6.016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.1458/0.2632, allocations: 120.9 MB / 0.6833 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.2655, allocations: 1.956 MB / 0.6852 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.2657, allocations: 23.81 kB / 0.6852 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004177/0.2661, allocations: 103.3 kB / 0.6853 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.2664, allocations: 155 kB / 0.6855 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.2668, allocations: 171.4 kB / 0.6856 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.2672, allocations: 330.6 kB / 0.686 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2673, allocations: 45.17 kB / 0.686 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.2678, allocations: 223 kB / 0.6862 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.2679, allocations: 111.4 kB / 0.6863 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.268, allocations: 16 kB / 0.6863 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.2683, allocations: 179.6 kB / 0.6865 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.2684, allocations: 35.8 kB / 0.6865 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.287e-05/0.2685, allocations: 75.55 kB / 0.6866 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.2689, allocations: 294.7 kB / 0.6869 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2689, allocations: 0 / 0.6869 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2689, allocations: 0 / 0.6869 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2689, allocations: 0 / 0.6869 GB, free: 8.902 MB / 0.5919 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.0008838/0.2698, allocations: 0.5101 MB / 0.6874 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2698, allocations: 13.45 kB / 0.6874 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/0.2699, allocations: 36.75 kB / 0.6874 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.2703, allocations: 256 kB / 0.6877 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2703, allocations: 8.375 kB / 0.6877 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.2704, allocations: 12.38 kB / 0.6877 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.2707, allocations: 165.2 kB / 0.6879 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2707, allocations: 0 / 0.6879 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.2707, allocations: 4 kB / 0.6879 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2707, allocations: 4 kB / 0.6879 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.271, allocations: 99.86 kB / 0.688 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009744/0.272, allocations: 0.6989 MB / 0.6887 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.2723, allocations: 90.45 kB / 0.6887 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.2725, allocations: 40.89 kB / 0.6888 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-05/0.2725, allocations: 4 kB / 0.6888 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.2727, allocations: 99.34 kB / 0.6889 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2727, allocations: 0 / 0.6889 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0004902/0.2732, allocations: 153.4 kB / 0.689 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.2733, allocations: 63.33 kB / 0.6891 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.2736, allocations: 256.2 kB / 0.6893 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2736, allocations: 29.7 kB / 0.6894 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.2737, allocations: 180 kB / 0.6895 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.2737, allocations: 27.78 kB / 0.6896 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.2738, allocations: 37.7 kB / 0.6896 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2739, allocations: 334.8 kB / 0.6899 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.2741, allocations: 65.67 kB / 0.69 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.2743, allocations: 114.8 kB / 0.6901 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.2746, allocations: 150.7 kB / 0.6902 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2746, allocations: 0 / 0.6902 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004586/0.2751, allocations: 236.7 kB / 0.6904 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.2751, allocations: 33.7 kB / 0.6905 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.2751, allocations: 0 / 0.6905 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2751, allocations: 4.156 kB / 0.6905 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.2753, allocations: 39.84 kB / 0.6905 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2753, allocations: 4 kB / 0.6905 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.2755, allocations: 23.88 kB / 0.6906 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.2755, allocations: 8 kB / 0.6906 GB, free: 4.863 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.0001361/0.2756, allocations: 137.8 kB / 0.6907 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.2756, allocations: 23.86 kB / 0.6907 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.276, allocations: 131.5 kB / 0.6908 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.276, allocations: 7.938 kB / 0.6908 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.276, allocations: 0 / 0.6908 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.276, allocations: 0 / 0.6908 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.2762, allocations: 177.2 kB / 0.691 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2762, allocations: 0 / 0.691 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.2763, allocations: 19.92 kB / 0.691 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.2763, allocations: 4 kB / 0.691 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2763, allocations: 4 kB / 0.691 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2763, allocations: 3.938 kB / 0.691 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2763, allocations: 3.938 kB / 0.691 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.2768, allocations: 192.9 kB / 0.6912 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.2768, allocations: 15.89 kB / 0.6912 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.2768, allocations: 4 kB / 0.6913 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2769, allocations: 7.984 kB / 0.6913 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.277, allocations: 15.92 kB / 0.6913 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.277, allocations: 4 kB / 0.6913 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001739/0.2772, allocations: 183.1 kB / 0.6915 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2772, allocations: 4.062 kB / 0.6915 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002548/0.2774, allocations: 47.89 kB / 0.6915 GB, free: 3.832 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.0001884/0.2776, allocations: 147 kB / 0.6916 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.278, allocations: 185.2 kB / 0.6918 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.278, allocations: 0 / 0.6918 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.2782, allocations: 35.97 kB / 0.6919 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.2784, allocations: 28.97 kB / 0.6919 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008014/0.2792, allocations: 463.3 kB / 0.6923 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.2794, allocations: 125.9 kB / 0.6924 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.179e-05/0.2794, allocations: 25.94 kB / 0.6925 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.2795, allocations: 24.5 kB / 0.6925 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.2795, allocations: 7.875 kB / 0.6925 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of Templates: time 0.006056/0.2855, allocations: 2.37 MB / 0.6948 GB, free: 428 kB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.435148401069455]