Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.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.001603/0.001603, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001868/0.001868, allocations: 215.8 kB / 22.25 MB, free: 4.859 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.7861/0.7861, allocations: 100.9 MB / 413.3 MB, free: 2.863 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.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") [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.002451/0.002451, allocations: 83.14 kB / 0.5646 GB, free: 35.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1276, allocations: 74.62 MB / 0.6374 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.5086/0.6362, allocations: 167.2 MB / 0.8007 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006282/0.6425, allocations: 5.106 MB / 0.8057 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000983/0.6435, allocations: 51.62 kB / 0.8058 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.6446, allocations: 374.6 kB / 0.8061 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.6484, allocations: 1.449 MB / 0.8075 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.6505, allocations: 0.8427 MB / 0.8084 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003834/0.6544, allocations: 2.754 MB / 0.8111 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.6547, allocations: 144.2 kB / 0.8112 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003259/0.658, allocations: 1.986 MB / 0.8131 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.6591, allocations: 0.6802 MB / 0.8138 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.6593, allocations: 73.81 kB / 0.8139 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.6618, allocations: 1.055 MB / 0.8149 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.662, allocations: 195.3 kB / 0.8151 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005851/0.6626, allocations: 399.3 kB / 0.8155 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.6655, allocations: 1.731 MB / 0.8172 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6655, allocations: 0 / 0.8172 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6655, allocations: 0.875 kB / 0.8172 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.406e-05/0.6656, allocations: 0 / 0.8172 GB, free: 1.137 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00365/0.6692, allocations: 1.539 MB / 0.8187 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.6692, allocations: 11.34 kB / 0.8187 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.6705, allocations: 206.5 kB / 0.8189 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.6719, allocations: 0.6453 MB / 0.8195 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.672, allocations: 104.5 kB / 0.8196 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.6722, allocations: 68.62 kB / 0.8197 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.6739, allocations: 0.7946 MB / 0.8204 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.6739, allocations: 7.469 kB / 0.8204 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-05/0.674, allocations: 22.47 kB / 0.8205 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.674, allocations: 16.81 kB / 0.8205 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.6759, allocations: 0.6849 MB / 0.8212 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.6802, allocations: 2.367 MB / 0.8235 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.682, allocations: 0.6656 MB / 0.8241 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008066/0.6828, allocations: 321.6 kB / 0.8244 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006759/0.6835, allocations: 118.2 kB / 0.8245 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.6846, allocations: 0.5013 MB / 0.825 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 2.925e-06/0.6846, allocations: 0 / 0.825 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.003408/0.688, allocations: 1.196 MB / 0.8262 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.6881, allocations: 88.5 kB / 0.8263 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007886/0.6889, allocations: 0.6245 MB / 0.8269 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.695e-05/0.689, allocations: 38.58 kB / 0.8269 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.6893, allocations: 402.3 kB / 0.8273 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.6896, allocations: 244.2 kB / 0.8275 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.6898, allocations: 173.8 kB / 0.8277 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.69, allocations: 331.1 kB / 0.828 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000863/0.6909, allocations: 349.2 kB / 0.8284 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009455/0.6918, allocations: 458.1 kB / 0.8288 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.6936, allocations: 0.7179 MB / 0.8295 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6936, allocations: 0 / 0.8295 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002588/0.6962, allocations: 1.057 MB / 0.8305 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/0.6962, allocations: 67.89 kB / 0.8306 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/0.6963, allocations: 12.03 kB / 0.8306 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003764/0.6967, allocations: 88.83 kB / 0.8307 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/0.6973, allocations: 184.1 kB / 0.8309 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.6999, allocations: 2.799 MB / 0.8336 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007726/0.7007, allocations: 103.2 kB / 0.8337 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.7008, allocations: 79.86 kB / 0.8338 GB, free: 7.188 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004438/0.7013, allocations: 205.4 kB / 0.834 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.7015, allocations: 86.81 kB / 0.834 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/0.7051, allocations: 1.759 MB / 0.8358 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.7052, allocations: 7.438 kB / 0.8358 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7052, allocations: 0 / 0.8358 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.7052, allocations: 7.203 kB / 0.8358 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003792/0.709, allocations: 1.681 MB / 0.8374 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/0.709, allocations: 16.05 kB / 0.8374 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/0.7096, allocations: 153.8 kB / 0.8376 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002916/0.7099, allocations: 88.97 kB / 0.8377 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.449e-05/0.71, allocations: 37.59 kB / 0.8377 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.7128, allocations: 2.804 MB / 0.8404 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7128, allocations: 0 / 0.8404 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.7161, allocations: 1.43 MB / 0.8418 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.7166, allocations: 161.2 kB / 0.842 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.7168, allocations: 22.45 kB / 0.842 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/0.7175, allocations: 60.14 kB / 0.8421 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.7178, allocations: 112.2 kB / 0.8422 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.718, allocations: 72.75 kB / 0.8422 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006533/0.7186, allocations: 438 kB / 0.8427 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7186, allocations: 0 / 0.8427 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0014/0.72, allocations: 333.7 kB / 0.843 GB, free: 0.8203 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009272/0.7209, allocations: 394.5 kB / 0.8434 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002599/0.7235, allocations: 1.205 MB / 0.8445 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7235, allocations: 0 / 0.8445 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.725, allocations: 0.7517 MB / 0.8453 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.7263, allocations: 227.7 kB / 0.8455 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.73, allocations: 1.847 MB / 0.8473 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.7304, allocations: 377.3 kB / 0.8477 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001825/0.7322, allocations: 0.9784 MB / 0.8486 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/0.7328, allocations: 176.4 kB / 0.8488 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/0.7328, allocations: 0 / 0.8488 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.03498/0.7677, allocations: 18.98 MB / 0.8673 GB, free: 10.6 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.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: 6.681014820933342]