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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001303/0.001303, allocations: 197.8 kB / 16.14 MB, free: 6.719 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7037/0.7037, allocations: 91.2 MB / 381.2 MB, free: 9.594 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00177/0.001769, allocations: 81.62 kB / 459.6 MB, free: 23.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1218, allocations: 67.69 MB / 0.515 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4539/0.5757, allocations: 190.5 MB / 0.701 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008122/0.5839, allocations: 5.656 MB / 0.7065 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.5852, allocations: 39.75 kB / 0.7065 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.5865, allocations: 358 kB / 0.7069 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004066/0.5906, allocations: 1.232 MB / 0.7081 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.593, allocations: 0.7204 MB / 0.7088 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0049/0.598, allocations: 2.991 MB / 0.7117 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00052/0.5985, allocations: 218.5 kB / 0.7119 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003672/0.6022, allocations: 1.78 MB / 0.7136 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.6034, allocations: 0.6926 MB / 0.7143 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.6037, allocations: 48 kB / 0.7144 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.6067, allocations: 1.119 MB / 0.7155 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.607, allocations: 167.2 kB / 0.7156 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007313/0.6078, allocations: 469.3 kB / 0.7161 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.6111, allocations: 1.636 MB / 0.7177 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.6111, allocations: 4 kB / 0.7177 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.946e-06/0.6111, allocations: 0 / 0.7177 GB, free: 480 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.478e-05/0.6112, allocations: 3.938 kB / 0.7177 GB, free: 476 kB / 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.004218/0.6154, allocations: 1.564 MB / 0.7192 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.6155, allocations: 12.03 kB / 0.7192 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.6168, allocations: 190.6 kB / 0.7194 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.6181, allocations: 0.6583 MB / 0.72 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.777e-05/0.6182, allocations: 74.95 kB / 0.7201 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.6184, allocations: 67.91 kB / 0.7202 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.6203, allocations: 0.8077 MB / 0.721 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.6204, allocations: 0 / 0.721 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.6205, allocations: 24 kB / 0.721 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.6205, allocations: 16 kB / 0.721 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.6225, allocations: 0.6969 MB / 0.7217 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005641/0.6282, allocations: 3.62 MB / 0.7252 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.6303, allocations: 0.7024 MB / 0.7259 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009384/0.6312, allocations: 345.8 kB / 0.7262 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.6323, allocations: 0.5016 MB / 0.7267 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.6336, allocations: 0.5086 MB / 0.7272 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 4.178e-06/0.6336, allocations: 4 kB / 0.7272 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.004086/0.6377, allocations: 1.353 MB / 0.7285 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.6378, allocations: 89.11 kB / 0.7286 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.6387, allocations: 0.6533 MB / 0.7293 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.461e-05/0.6388, allocations: 41.7 kB / 0.7293 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.6391, allocations: 384.6 kB / 0.7297 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.6394, allocations: 236.6 kB / 0.7299 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/0.6397, allocations: 166.5 kB / 0.7301 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6399, allocations: 338 kB / 0.7304 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.6413, allocations: 285.8 kB / 0.7306 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.6424, allocations: 398.3 kB / 0.731 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.6444, allocations: 0.7429 MB / 0.7318 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.6444, allocations: 4 kB / 0.7318 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00278/0.6472, allocations: 1.014 MB / 0.7327 GB, free: 236 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/0.6473, allocations: 63.39 kB / 0.7328 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.145e-05/0.6473, allocations: 15.98 kB / 0.7328 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/0.6478, allocations: 81.88 kB / 0.7329 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.6486, allocations: 187.7 kB / 0.7331 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.6513, allocations: 2.841 MB / 0.7359 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009615/0.6522, allocations: 99.39 kB / 0.736 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/0.6525, allocations: 85.08 kB / 0.736 GB, free: 12.59 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.0004726/0.653, allocations: 209.6 kB / 0.7362 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.6532, allocations: 86.97 kB / 0.7363 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004593/0.6578, allocations: 1.805 MB / 0.7381 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.6579, allocations: 8 kB / 0.7381 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.6579, allocations: 3.984 kB / 0.7381 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.6579, allocations: 0 / 0.7381 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/0.6623, allocations: 1.953 MB / 0.74 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/0.6624, allocations: 11.98 kB / 0.74 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/0.6632, allocations: 163.8 kB / 0.7402 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003404/0.6635, allocations: 89.73 kB / 0.7402 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.6636, allocations: 43.97 kB / 0.7403 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.6661, allocations: 2.845 MB / 0.7431 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6661, allocations: 4.125 kB / 0.7431 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.6699, allocations: 1.468 MB / 0.7445 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.6704, allocations: 243.8 kB / 0.7447 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.6706, allocations: 20 kB / 0.7448 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008018/0.6714, allocations: 67.77 kB / 0.7448 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.6717, allocations: 111.9 kB / 0.7449 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.6718, allocations: 71.97 kB / 0.745 GB, free: 2.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006372/0.6725, allocations: 459 kB / 0.7454 GB, free: 2.539 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6725, allocations: 0 / 0.7454 GB, free: 2.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001264/0.6737, allocations: 351.5 kB / 0.7458 GB, free: 2.195 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.001012/0.6748, allocations: 448 kB / 0.7462 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0029/0.6777, allocations: 1.214 MB / 0.7474 GB, free: 488 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6777, allocations: 0 / 0.7474 GB, free: 488 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.6794, allocations: 0.7928 MB / 0.7482 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.681, allocations: 229.2 kB / 0.7484 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.6852, allocations: 2.139 MB / 0.7505 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/0.6859, allocations: 0.9707 MB / 0.7514 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002271/0.6881, allocations: 0.995 MB / 0.7524 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006996/0.6889, allocations: 179.3 kB / 0.7526 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.6889, allocations: 0 / 0.7526 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.03095/0.7198, allocations: 17.13 MB / 0.7693 GB, free: 10.08 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