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-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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.001043/0.001043, allocations: 91.45 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008515/0.008515, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6529/0.6529, allocations: 91.33 MB / 382.8 MB, free: 9.625 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003982, allocations: 12.84 kB / 462.7 MB, free: 23.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 69.21 MB / 0.5195 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4416/0.5646, allocations: 187.9 MB / 0.703 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007598/0.5722, allocations: 5.575 MB / 0.7084 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.5733, allocations: 35.75 kB / 0.7085 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.5743, allocations: 362 kB / 0.7088 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.578, allocations: 1.235 MB / 0.71 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.5801, allocations: 0.7204 MB / 0.7107 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004334/0.5844, allocations: 2.988 MB / 0.7136 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.5849, allocations: 227.6 kB / 0.7139 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.5881, allocations: 1.765 MB / 0.7156 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009505/0.5891, allocations: 0.6496 MB / 0.7162 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.5892, allocations: 36 kB / 0.7162 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.5919, allocations: 1.104 MB / 0.7173 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.5921, allocations: 151.2 kB / 0.7175 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005149/0.5926, allocations: 483 kB / 0.7179 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.5951, allocations: 1.608 MB / 0.7195 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.5951, allocations: 0 / 0.7195 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.043e-06/0.5951, allocations: 3.938 kB / 0.7195 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.5952, allocations: 0 / 0.7195 GB, free: 11.21 MB / 0.5294 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.003956/0.5991, allocations: 1.408 MB / 0.7209 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.5992, allocations: 12.02 kB / 0.7209 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.6005, allocations: 186.6 kB / 0.7211 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.6017, allocations: 0.6583 MB / 0.7217 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.6018, allocations: 78.95 kB / 0.7218 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.602, allocations: 71.89 kB / 0.7219 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.6037, allocations: 0.839 MB / 0.7227 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.6037, allocations: 0 / 0.7227 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/0.6038, allocations: 24 kB / 0.7227 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.6039, allocations: 16 kB / 0.7227 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.6059, allocations: 0.775 MB / 0.7235 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/0.6109, allocations: 3.652 MB / 0.727 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.613, allocations: 0.7588 MB / 0.7278 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000964/0.6139, allocations: 381.8 kB / 0.7281 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009452/0.6149, allocations: 0.5212 MB / 0.7286 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.6161, allocations: 0.5438 MB / 0.7292 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 3.837e-06/0.6162, allocations: 3.984 kB / 0.7292 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.003924/0.6201, allocations: 1.463 MB / 0.7306 GB, free: 15.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.6202, allocations: 89.11 kB / 0.7307 GB, free: 15.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/0.621, allocations: 0.6572 MB / 0.7313 GB, free: 14.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.106e-05/0.6211, allocations: 37.7 kB / 0.7314 GB, free: 14.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.6214, allocations: 392.6 kB / 0.7317 GB, free: 13.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.6216, allocations: 232.6 kB / 0.732 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.6217, allocations: 57.69 kB / 0.732 GB, free: 13.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6219, allocations: 334 kB / 0.7323 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009481/0.6228, allocations: 329.8 kB / 0.7327 GB, free: 13.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.6238, allocations: 430.3 kB / 0.7331 GB, free: 12.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.6258, allocations: 0.8055 MB / 0.7339 GB, free: 11.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6258, allocations: 3.938 kB / 0.7339 GB, free: 11.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002681/0.6285, allocations: 1.093 MB / 0.7349 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.6286, allocations: 63.39 kB / 0.735 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.6286, allocations: 11.98 kB / 0.735 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/0.629, allocations: 85.72 kB / 0.7351 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/0.6298, allocations: 207.7 kB / 0.7353 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.632, allocations: 2.83 MB / 0.738 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008823/0.6329, allocations: 127.5 kB / 0.7382 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.6331, allocations: 83.92 kB / 0.7382 GB, free: 6.945 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.000402/0.6335, allocations: 209.6 kB / 0.7384 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.6336, allocations: 86.88 kB / 0.7385 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/0.638, allocations: 1.863 MB / 0.7403 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.638, allocations: 15.98 kB / 0.7404 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.638, allocations: 0 / 0.7404 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.6381, allocations: 0 / 0.7404 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004027/0.6421, allocations: 2.031 MB / 0.7423 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.6421, allocations: 11.98 kB / 0.7424 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/0.6429, allocations: 187.8 kB / 0.7425 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.6432, allocations: 81.64 kB / 0.7426 GB, free: 2.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.047e-05/0.6433, allocations: 39.97 kB / 0.7426 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.6455, allocations: 2.853 MB / 0.7454 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.6455, allocations: 4 kB / 0.7454 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.6491, allocations: 1.581 MB / 0.747 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.6495, allocations: 243.8 kB / 0.7472 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.6497, allocations: 12 kB / 0.7472 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/0.6504, allocations: 87.86 kB / 0.7473 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/0.6507, allocations: 107.9 kB / 0.7474 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.6508, allocations: 75.97 kB / 0.7475 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005733/0.6514, allocations: 459 kB / 0.7479 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6514, allocations: 0 / 0.7479 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001098/0.6525, allocations: 355.4 kB / 0.7483 GB, free: 12.26 MB / 0.5606 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.0008677/0.6534, allocations: 439.7 kB / 0.7487 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002718/0.6561, allocations: 1.285 MB / 0.7499 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6561, allocations: 0 / 0.7499 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.6577, allocations: 0.828 MB / 0.7507 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.6593, allocations: 233.2 kB / 0.751 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.6632, allocations: 2.261 MB / 0.7532 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.6637, allocations: 0.9668 MB / 0.7541 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002121/0.6658, allocations: 0.9928 MB / 0.7551 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/0.6665, allocations: 179.3 kB / 0.7553 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.6665, allocations: 0 / 0.7553 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of Templates: time 0.02942/0.6959, allocations: 17.01 MB / 0.7719 GB, free: 4.059 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