Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 197.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.665/0.665, allocations: 89.48 MB / 379.9 MB, free: 11.02 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001677, allocations: 77.94 kB / 458.2 MB, free: 23.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1236, allocations: 67.3 MB / 0.5132 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4335/0.5572, allocations: 192.2 MB / 0.7009 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007995/0.5652, allocations: 5.46 MB / 0.7062 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.5664, allocations: 15.88 kB / 0.7062 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.5677, allocations: 405.3 kB / 0.7066 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004339/0.5721, allocations: 1.358 MB / 0.7079 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.5745, allocations: 0.8296 MB / 0.7087 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004202/0.5787, allocations: 2.531 MB / 0.7112 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005634/0.5793, allocations: 238.9 kB / 0.7114 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.5829, allocations: 1.765 MB / 0.7131 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.584, allocations: 0.685 MB / 0.7138 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.5843, allocations: 72 kB / 0.7139 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.5873, allocations: 1.174 MB / 0.715 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.5876, allocations: 183.2 kB / 0.7152 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006053/0.5882, allocations: 445.8 kB / 0.7156 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.5914, allocations: 1.585 MB / 0.7172 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.5914, allocations: 4 kB / 0.7172 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5914, allocations: 0 / 0.7172 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.354e-05/0.5914, allocations: 0 / 0.7172 GB, free: 1.867 MB / 0.5137 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.003748/0.5952, allocations: 1.427 MB / 0.7186 GB, free: 384 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.5953, allocations: 12.03 kB / 0.7186 GB, free: 372 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.5965, allocations: 170.8 kB / 0.7187 GB, free: 200 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009623/0.5975, allocations: 0.5021 MB / 0.7192 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.5976, allocations: 75.02 kB / 0.7193 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.5978, allocations: 63.91 kB / 0.7194 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.5997, allocations: 0.8116 MB / 0.7202 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.5997, allocations: 0 / 0.7202 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.502e-05/0.5998, allocations: 32 kB / 0.7202 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.5998, allocations: 19.98 kB / 0.7202 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.6019, allocations: 0.693 MB / 0.7209 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00539/0.6073, allocations: 3.582 MB / 0.7244 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.6093, allocations: 0.6904 MB / 0.7251 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009456/0.6103, allocations: 348.8 kB / 0.7254 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000955/0.6113, allocations: 0.4977 MB / 0.7259 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.6126, allocations: 0.5164 MB / 0.7264 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 4.498e-06/0.6126, allocations: 3.938 kB / 0.7264 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.00392/0.6166, allocations: 1.336 MB / 0.7277 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.6167, allocations: 89.05 kB / 0.7278 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.6173, allocations: 0.5226 MB / 0.7283 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.6175, allocations: 41.7 kB / 0.7283 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.6177, allocations: 324.6 kB / 0.7286 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.618, allocations: 236.6 kB / 0.7289 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.6183, allocations: 166.5 kB / 0.729 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6184, allocations: 382.7 kB / 0.7294 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009251/0.6194, allocations: 293.8 kB / 0.7297 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.6204, allocations: 394.3 kB / 0.73 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.6224, allocations: 0.7351 MB / 0.7308 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.6224, allocations: 0 / 0.7308 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002694/0.6251, allocations: 1.011 MB / 0.7317 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/0.6252, allocations: 63.41 kB / 0.7318 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/0.6252, allocations: 11.98 kB / 0.7318 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.6256, allocations: 85.72 kB / 0.7319 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/0.6264, allocations: 187.7 kB / 0.7321 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.6291, allocations: 3.055 MB / 0.7351 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.63, allocations: 115.1 kB / 0.7352 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.6302, allocations: 79.98 kB / 0.7353 GB, free: 14.26 MB / 0.545 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.0004328/0.6306, allocations: 197.6 kB / 0.7354 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.6308, allocations: 67.16 kB / 0.7355 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/0.6353, allocations: 1.786 MB / 0.7372 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.6353, allocations: 11.98 kB / 0.7373 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6354, allocations: 4 kB / 0.7373 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.6354, allocations: 3.984 kB / 0.7373 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.6394, allocations: 1.91 MB / 0.7391 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.014e-05/0.6395, allocations: 8 kB / 0.7391 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/0.6403, allocations: 179.8 kB / 0.7393 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/0.6406, allocations: 85.48 kB / 0.7394 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/0.6407, allocations: 43.97 kB / 0.7394 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.6432, allocations: 3.062 MB / 0.7424 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6432, allocations: 4.031 kB / 0.7424 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003637/0.6469, allocations: 1.447 MB / 0.7438 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.6473, allocations: 239.8 kB / 0.7441 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.6475, allocations: 16 kB / 0.7441 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006893/0.6482, allocations: 59.92 kB / 0.7441 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.6485, allocations: 107.9 kB / 0.7442 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.6487, allocations: 75.97 kB / 0.7443 GB, free: 4.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004942/0.6492, allocations: 370.8 kB / 0.7447 GB, free: 4.184 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6492, allocations: 0 / 0.7447 GB, free: 4.184 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001234/0.6504, allocations: 339.6 kB / 0.745 GB, free: 3.852 MB / 0.545 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 (66): * Single equations (assignments): 56 * 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.001017/0.6514, allocations: 446.4 kB / 0.7454 GB, free: 3.418 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002968/0.6544, allocations: 1.23 MB / 0.7466 GB, free: 2.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.6545, allocations: 0 / 0.7466 GB, free: 2.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.6561, allocations: 0.7967 MB / 0.7474 GB, free: 1.266 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.6576, allocations: 246.1 kB / 0.7476 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.6614, allocations: 1.676 MB / 0.7493 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.6619, allocations: 0.9274 MB / 0.7502 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002125/0.664, allocations: 0.9707 MB / 0.7511 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/0.6647, allocations: 171.3 kB / 0.7513 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.6647, allocations: 0 / 0.7513 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.03135/0.6961, allocations: 17.8 MB / 0.7687 GB, free: 11.6 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches