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.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_dev_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_dev_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.001563/0.001563, 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.001893/0.001893, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6745/0.6745, allocations: 93.72 MB / 383.7 MB, free: 7.164 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 86.62 kB / 462.7 MB, free: 22.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 68.26 MB / 0.5185 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4052/0.5179, allocations: 190.5 MB / 0.7045 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007548/0.5255, allocations: 5.661 MB / 0.7101 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.5266, allocations: 39.75 kB / 0.7101 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.5278, allocations: 358 kB / 0.7105 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003746/0.5315, allocations: 1.246 MB / 0.7117 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.5335, allocations: 0.7281 MB / 0.7124 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004391/0.5379, allocations: 3.011 MB / 0.7153 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.5384, allocations: 226.1 kB / 0.7155 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.5418, allocations: 1.792 MB / 0.7173 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.5429, allocations: 0.6925 MB / 0.718 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.5431, allocations: 48 kB / 0.718 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.5457, allocations: 1.12 MB / 0.7191 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.5459, allocations: 171.1 kB / 0.7193 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005828/0.5465, allocations: 465.3 kB / 0.7197 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.5492, allocations: 1.648 MB / 0.7213 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5492, allocations: 4 kB / 0.7213 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5492, allocations: 0 / 0.7213 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.5492, allocations: 0 / 0.7213 GB, free: 11.73 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.003566/0.5528, allocations: 1.571 MB / 0.7229 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.5529, allocations: 12.03 kB / 0.7229 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.554, allocations: 186.6 kB / 0.723 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.5551, allocations: 0.6661 MB / 0.7237 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-05/0.5552, allocations: 78.95 kB / 0.7238 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.5554, allocations: 67.89 kB / 0.7238 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.5571, allocations: 0.8038 MB / 0.7246 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5571, allocations: 0 / 0.7246 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.5572, allocations: 28 kB / 0.7247 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.5573, allocations: 16 kB / 0.7247 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.5592, allocations: 0.6969 MB / 0.7253 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00493/0.5641, allocations: 3.627 MB / 0.7289 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.5662, allocations: 0.6956 MB / 0.7296 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009089/0.5671, allocations: 353.7 kB / 0.7299 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009164/0.5681, allocations: 0.4938 MB / 0.7304 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.5692, allocations: 0.5048 MB / 0.7309 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 3.045e-06/0.5693, allocations: 0 / 0.7309 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.003824/0.5731, allocations: 1.361 MB / 0.7322 GB, free: 15.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.5732, allocations: 89.09 kB / 0.7323 GB, free: 15.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/0.574, allocations: 0.6651 MB / 0.7329 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-05/0.5741, allocations: 37.7 kB / 0.733 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.5745, allocations: 396.5 kB / 0.7334 GB, free: 14.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.5747, allocations: 228.7 kB / 0.7336 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.575, allocations: 170.5 kB / 0.7337 GB, free: 14.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5751, allocations: 337.9 kB / 0.7341 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009045/0.5761, allocations: 293.8 kB / 0.7343 GB, free: 13.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009805/0.577, allocations: 394.3 kB / 0.7347 GB, free: 13.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.5789, allocations: 0.7312 MB / 0.7354 GB, free: 12.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.5789, allocations: 0 / 0.7354 GB, free: 12.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002657/0.5816, allocations: 1.026 MB / 0.7364 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.5816, allocations: 66.27 kB / 0.7365 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/0.5817, allocations: 19.98 kB / 0.7365 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/0.582, allocations: 82.52 kB / 0.7366 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/0.5829, allocations: 187.7 kB / 0.7368 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.5853, allocations: 2.846 MB / 0.7396 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008749/0.5862, allocations: 103.4 kB / 0.7397 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.5864, allocations: 79.98 kB / 0.7397 GB, free: 7.809 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.0004538/0.5868, allocations: 206.5 kB / 0.7399 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.5871, allocations: 86.88 kB / 0.74 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/0.5916, allocations: 1.797 MB / 0.7418 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.5916, allocations: 11.94 kB / 0.7418 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.5916, allocations: 4 kB / 0.7418 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5917, allocations: 3.984 kB / 0.7418 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.5959, allocations: 1.96 MB / 0.7437 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-05/0.5959, allocations: 11.98 kB / 0.7437 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/0.5967, allocations: 167.8 kB / 0.7439 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003416/0.597, allocations: 93.7 kB / 0.744 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.5971, allocations: 43.98 kB / 0.744 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.5995, allocations: 2.861 MB / 0.7468 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5995, allocations: 0 / 0.7468 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/0.6031, allocations: 1.456 MB / 0.7482 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.6036, allocations: 247.8 kB / 0.7485 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.6038, allocations: 19.98 kB / 0.7485 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/0.6046, allocations: 67.78 kB / 0.7485 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.6049, allocations: 111.8 kB / 0.7486 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.6051, allocations: 71.97 kB / 0.7487 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006304/0.6057, allocations: 475 kB / 0.7492 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6057, allocations: 3.938 kB / 0.7492 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001219/0.6069, allocations: 347.5 kB / 0.7495 GB, free: 13.39 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.0009619/0.6079, allocations: 426.7 kB / 0.7499 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.6108, allocations: 1.218 MB / 0.7511 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6108, allocations: 0 / 0.7511 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.6125, allocations: 0.7889 MB / 0.7519 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.614, allocations: 235 kB / 0.7521 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.6181, allocations: 2.146 MB / 0.7542 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.6187, allocations: 0.9824 MB / 0.7551 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002177/0.6209, allocations: 0.9838 MB / 0.7561 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006722/0.6216, allocations: 175.3 kB / 0.7563 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.6216, allocations: 0 / 0.7563 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of Templates: time 0.02978/0.6514, allocations: 17.17 MB / 0.773 GB, free: 5.246 MB / 0.5762 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile (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) 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) Reference file matches