Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.0009182/0.0009182, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008318/0.0008318, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8492/0.8492, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 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.632/0.632, allocations: 116 MB / 376 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.5545 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.245e-05, allocations: 2.281 kB / 0.5545 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3448/0.3448, allocations: 127 MB / 0.6785 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.3471, allocations: 2.907 MB / 0.6814 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.3473, allocations: 36.59 kB / 0.6814 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.3478, allocations: 225.5 kB / 0.6816 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.3483, allocations: 412.2 kB / 0.682 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.3488, allocations: 484.4 kB / 0.6825 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.3493, allocations: 0.752 MB / 0.6832 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.3495, allocations: 89.2 kB / 0.6833 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007119/0.3502, allocations: 0.6184 MB / 0.6839 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.3505, allocations: 272.2 kB / 0.6842 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.3505, allocations: 24.75 kB / 0.6842 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005013/0.351, allocations: 473.4 kB / 0.6846 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.3511, allocations: 73.88 kB / 0.6847 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.3512, allocations: 152.8 kB / 0.6848 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.3518, allocations: 0.6782 MB / 0.6855 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3518, allocations: 1.125 kB / 0.6855 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3518, allocations: 0 / 0.6855 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.3518, allocations: 0 / 0.6855 GB, free: 6.543 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007677/0.3526, allocations: 0.7371 MB / 0.6862 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3526, allocations: 10.12 kB / 0.6862 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.3527, allocations: 59.84 kB / 0.6863 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.3532, allocations: 402.1 kB / 0.6867 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3532, allocations: 25.59 kB / 0.6867 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.3532, allocations: 24.72 kB / 0.6867 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.3535, allocations: 322.4 kB / 0.687 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3535, allocations: 1.125 kB / 0.687 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3536, allocations: 21.19 kB / 0.6871 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3536, allocations: 6.281 kB / 0.6871 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.3538, allocations: 197.2 kB / 0.6872 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008539/0.3547, allocations: 1.343 MB / 0.6886 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.355, allocations: 165.8 kB / 0.6887 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.355, allocations: 66.92 kB / 0.6888 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.3553, allocations: 72.34 kB / 0.6888 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.3553, allocations: 40.28 kB / 0.6889 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3553, allocations: 5.031 kB / 0.6889 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0004741/0.3558, allocations: 278.4 kB / 0.6892 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.3558, allocations: 109.4 kB / 0.6893 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.356, allocations: 393.9 kB / 0.6896 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.3561, allocations: 29.27 kB / 0.6897 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3562, allocations: 261.4 kB / 0.6899 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3562, allocations: 58.41 kB / 0.69 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.3562, allocations: 45.16 kB / 0.69 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.3563, allocations: 351.8 kB / 0.6903 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.3564, allocations: 56.95 kB / 0.6904 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.74e-05/0.3565, allocations: 110.7 kB / 0.6905 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3566, allocations: 176.8 kB / 0.6907 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3566, allocations: 0 / 0.6907 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002892/0.3569, allocations: 261.7 kB / 0.6909 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3569, allocations: 5.562 kB / 0.6909 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.357, allocations: 2.281 kB / 0.6909 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.3571, allocations: 29.28 kB / 0.691 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3572, allocations: 47.98 kB / 0.691 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004735/0.3576, allocations: 1.26 MB / 0.6922 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.3577, allocations: 25.39 kB / 0.6923 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3577, allocations: 12.33 kB / 0.6923 GB, free: 2.332 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/0.3578, allocations: 153.4 kB / 0.6924 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.3579, allocations: 43.59 kB / 0.6925 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.3582, allocations: 246.9 kB / 0.6927 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3582, allocations: 4.234 kB / 0.6927 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3582, allocations: 5.188 kB / 0.6927 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3582, allocations: 0 / 0.6927 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.3585, allocations: 264.9 kB / 0.693 GB, free: 2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3585, allocations: 5.375 kB / 0.693 GB, free: 1.996 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.856e-05/0.3586, allocations: 36.17 kB / 0.693 GB, free: 1.992 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.457e-05/0.3586, allocations: 23.41 kB / 0.693 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3586, allocations: 2.688 kB / 0.693 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003662/0.359, allocations: 1.27 MB / 0.6943 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.359, allocations: 1.406 kB / 0.6943 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.3593, allocations: 457.3 kB / 0.6947 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.3594, allocations: 54.75 kB / 0.6948 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3594, allocations: 5.25 kB / 0.6948 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.3595, allocations: 11.69 kB / 0.6948 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3595, allocations: 18.89 kB / 0.6948 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3595, allocations: 6.984 kB / 0.6948 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001663/0.3597, allocations: 267.8 kB / 0.695 GB, free: 416 kB / 0.5573 GB Notification: Performance of sort global known variables: time 3e-08/0.3597, allocations: 0 / 0.695 GB, free: 416 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002929/0.36, allocations: 113.2 kB / 0.6952 GB, free: 396 kB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0002141/0.3602, allocations: 198.7 kB / 0.6953 GB, free: 276 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003249/0.3605, allocations: 261.5 kB / 0.6956 GB, free: 152 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3605, allocations: 1.188 kB / 0.6956 GB, free: 152 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3607, allocations: 192.7 kB / 0.6958 GB, free: 32 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.3612, allocations: 125.5 kB / 0.6959 GB, free: 8 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008972/0.3621, allocations: 0.7945 MB / 0.6967 GB, free: 15.51 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.3622, allocations: 209.3 kB / 0.6969 GB, free: 15.41 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.3622, allocations: 34.62 kB / 0.6969 GB, free: 15.41 MB / 0.573 GB Notification: Performance of SimCode: time 6.11e-07/0.3622, allocations: 0 / 0.6969 GB, free: 15.41 MB / 0.573 GB Notification: Performance of Templates: time 0.00638/0.3686, allocations: 7.928 MB / 0.7047 GB, free: 12.65 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.594360345043242]