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.001876/0.001876, allocations: 78.81 kB / 19.18 MB, free: 2.516 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.002326/0.002326, allocations: 162.7 kB / 22.46 MB, free: 5.375 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.499/1.499, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.9869/0.9869, allocations: 116.1 MB / 375.2 MB, free: 7.551 MB / 350.1 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.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: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.5537 GB, free: 13.8 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.81e-05, allocations: 5.656 kB / 0.5538 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4991/0.4991, allocations: 169.7 MB / 0.7195 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004752/0.5038, allocations: 3.328 MB / 0.7228 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008448/0.5047, allocations: 54.44 kB / 0.7228 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.5057, allocations: 385.7 kB / 0.7232 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.5095, allocations: 1.602 MB / 0.7248 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.5116, allocations: 0.8659 MB / 0.7256 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004169/0.5158, allocations: 3.049 MB / 0.7286 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.5161, allocations: 146.5 kB / 0.7287 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003757/0.5198, allocations: 2.3 MB / 0.731 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009197/0.5208, allocations: 0.6343 MB / 0.7316 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.5209, allocations: 72.19 kB / 0.7317 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.5232, allocations: 1.057 MB / 0.7327 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.5234, allocations: 207.2 kB / 0.7329 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.5238, allocations: 357.8 kB / 0.7332 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002683/0.5265, allocations: 1.868 MB / 0.735 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5265, allocations: 2.906 kB / 0.735 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5265, allocations: 0.7188 kB / 0.735 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.5265, allocations: 0 / 0.735 GB, free: 5.012 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003138/0.5296, allocations: 1.558 MB / 0.7366 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5297, allocations: 12.44 kB / 0.7366 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.531, allocations: 211.2 kB / 0.7368 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.532, allocations: 0.67 MB / 0.7374 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/0.5321, allocations: 98.88 kB / 0.7375 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.5322, allocations: 69 kB / 0.7376 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.5338, allocations: 0.8065 MB / 0.7384 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.5338, allocations: 3.75 kB / 0.7384 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.578e-05/0.5339, allocations: 25.59 kB / 0.7384 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.5339, allocations: 22 kB / 0.7384 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.5357, allocations: 0.6898 MB / 0.7391 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003978/0.5397, allocations: 2.476 MB / 0.7415 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.5415, allocations: 0.6705 MB / 0.7422 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008026/0.5423, allocations: 317.4 kB / 0.7425 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007153/0.543, allocations: 119.4 kB / 0.7426 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.5441, allocations: 0.4991 MB / 0.7431 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 3.116e-06/0.5441, allocations: 0 / 0.7431 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.003455/0.5475, allocations: 1.187 MB / 0.7442 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.5476, allocations: 89.86 kB / 0.7443 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/0.5482, allocations: 0.6495 MB / 0.745 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-05/0.5483, allocations: 46.19 kB / 0.745 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.5485, allocations: 416.7 kB / 0.7454 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.5487, allocations: 245.9 kB / 0.7456 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.5489, allocations: 168.4 kB / 0.7458 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.802e-05/0.549, allocations: 334.6 kB / 0.7461 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008369/0.5498, allocations: 341.8 kB / 0.7464 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008913/0.5507, allocations: 454.6 kB / 0.7469 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.5524, allocations: 0.7223 MB / 0.7476 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5524, allocations: 0 / 0.7476 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002402/0.5548, allocations: 1.078 MB / 0.7486 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.5548, allocations: 61.08 kB / 0.7487 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/0.5549, allocations: 12.59 kB / 0.7487 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/0.5552, allocations: 85 kB / 0.7488 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/0.5559, allocations: 186.1 kB / 0.749 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.5582, allocations: 2.792 MB / 0.7517 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/0.559, allocations: 98.7 kB / 0.7518 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.5592, allocations: 82.17 kB / 0.7519 GB, free: 14.36 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 70 * 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.0004173/0.5596, allocations: 211.5 kB / 0.7521 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.5598, allocations: 97.48 kB / 0.7522 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003651/0.5634, allocations: 1.749 MB / 0.7539 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.5634, allocations: 9.125 kB / 0.7539 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5634, allocations: 0 / 0.7539 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5634, allocations: 9.203 kB / 0.7539 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.5668, allocations: 1.682 MB / 0.7555 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/0.5669, allocations: 11.52 kB / 0.7555 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000668/0.5675, allocations: 161.2 kB / 0.7557 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/0.5678, allocations: 92.59 kB / 0.7558 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.153e-05/0.5679, allocations: 46.25 kB / 0.7558 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002562/0.5705, allocations: 2.797 MB / 0.7586 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5705, allocations: 0 / 0.7586 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/0.5739, allocations: 1.425 MB / 0.7599 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/0.5743, allocations: 165 kB / 0.7601 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.5745, allocations: 21.45 kB / 0.7601 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.5752, allocations: 59.34 kB / 0.7602 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.5754, allocations: 109 kB / 0.7603 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.5756, allocations: 74.16 kB / 0.7604 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005559/0.5761, allocations: 453.1 kB / 0.7608 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5761, allocations: 0 / 0.7608 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001176/0.5773, allocations: 346.9 kB / 0.7611 GB, free: 10.09 MB / 0.6075 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.0007965/0.5781, allocations: 406.2 kB / 0.7615 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002729/0.5808, allocations: 1.206 MB / 0.7627 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5808, allocations: 0 / 0.7627 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.5824, allocations: 0.7482 MB / 0.7634 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.5843, allocations: 363.7 kB / 0.7638 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.5874, allocations: 1.587 MB / 0.7653 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.5878, allocations: 389.8 kB / 0.7657 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001699/0.5895, allocations: 0.9821 MB / 0.7666 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/0.5901, allocations: 179.9 kB / 0.7668 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.5901, allocations: 0 / 0.7668 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of Templates: time 0.03544/0.6255, allocations: 20.06 MB / 0.7864 GB, free: 8.848 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: 7.102537892758846]