Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 110 kB / 16.37 MB, free: 6.016 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.001008/0.001009, allocations: 198.8 kB / 17.31 MB, free: 5.609 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6875/0.6875, allocations: 89.5 MB / 380.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 83.88 kB / 459.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1152, allocations: 67.31 MB / 0.5146 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.3855/0.5007, allocations: 189 MB / 0.6992 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007918/0.5086, allocations: 7.271 MB / 0.7063 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004883/0.5092, allocations: 7.938 kB / 0.7063 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009081/0.5101, allocations: 357.6 kB / 0.7067 GB, free: 2.406 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.5132, allocations: 1.252 MB / 0.7079 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.5149, allocations: 0.6578 MB / 0.7085 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003691/0.5186, allocations: 2.253 MB / 0.7107 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.5189, allocations: 187.5 kB / 0.7109 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.5213, allocations: 1.548 MB / 0.7124 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006844/0.522, allocations: 0.5566 MB / 0.713 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.472e-05/0.5221, allocations: 56 kB / 0.713 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.5245, allocations: 1.143 MB / 0.7141 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.5247, allocations: 151.4 kB / 0.7143 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.525, allocations: 362.1 kB / 0.7146 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.5268, allocations: 1.363 MB / 0.716 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.5269, allocations: 5.031 kB / 0.716 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5269, allocations: 0 / 0.716 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.5269, allocations: 0 / 0.716 GB, free: 8.887 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00241/0.5293, allocations: 1.23 MB / 0.7172 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.5293, allocations: 8.031 kB / 0.7172 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009521/0.5303, allocations: 143 kB / 0.7173 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006152/0.5309, allocations: 460.3 kB / 0.7178 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.531, allocations: 37.84 kB / 0.7178 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5311, allocations: 55.94 kB / 0.7178 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.5322, allocations: 0.5935 MB / 0.7184 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5322, allocations: 3.938 kB / 0.7184 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.5323, allocations: 16 kB / 0.7184 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.5323, allocations: 12 kB / 0.7185 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.5334, allocations: 472.7 kB / 0.7189 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/0.5368, allocations: 2.627 MB / 0.7215 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.5379, allocations: 464.4 kB / 0.7219 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.5384, allocations: 242.5 kB / 0.7221 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.5387, allocations: 267.3 kB / 0.7224 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007536/0.5395, allocations: 398.3 kB / 0.7228 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=54): time 2.224e-06/0.5395, allocations: 4 kB / 0.7228 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54): time 0.002458/0.5419, allocations: 1.017 MB / 0.7238 GB, free: 392 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.542, allocations: 85.11 kB / 0.7239 GB, free: 288 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.5425, allocations: 462.1 kB / 0.7243 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.5426, allocations: 41.7 kB / 0.7243 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.5428, allocations: 276.9 kB / 0.7246 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.5429, allocations: 185.3 kB / 0.7248 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.5431, allocations: 130.2 kB / 0.7249 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5433, allocations: 370.7 kB / 0.7253 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.5438, allocations: 190.2 kB / 0.7254 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.5444, allocations: 266.6 kB / 0.7257 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.5454, allocations: 0.5159 MB / 0.7262 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5454, allocations: 0 / 0.7262 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001566/0.547, allocations: 0.7556 MB / 0.7269 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.547, allocations: 63.41 kB / 0.727 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/0.5471, allocations: 15.97 kB / 0.727 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/0.5474, allocations: 85.78 kB / 0.7271 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.5479, allocations: 119.9 kB / 0.7272 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.5502, allocations: 3.046 MB / 0.7302 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.5507, allocations: 68.09 kB / 0.7302 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.5508, allocations: 67.91 kB / 0.7303 GB, free: 9.262 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 52 * 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.0002656/0.5511, allocations: 189.7 kB / 0.7305 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.5512, allocations: 59.25 kB / 0.7306 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.5539, allocations: 1.286 MB / 0.7318 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5539, allocations: 4.75 kB / 0.7318 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5539, allocations: 4 kB / 0.7318 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.5539, allocations: 3.984 kB / 0.7318 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.5565, allocations: 1.536 MB / 0.7333 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/0.5566, allocations: 11.98 kB / 0.7333 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.557, allocations: 124.4 kB / 0.7334 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.5573, allocations: 82.72 kB / 0.7335 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.746e-05/0.5574, allocations: 39.91 kB / 0.7336 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.5596, allocations: 3.062 MB / 0.7366 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5596, allocations: 0 / 0.7366 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.5617, allocations: 1.111 MB / 0.7376 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.562, allocations: 204.2 kB / 0.7378 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.5621, allocations: 19.94 kB / 0.7379 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.5626, allocations: 32.89 kB / 0.7379 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.5628, allocations: 91.83 kB / 0.738 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.559e-05/0.5629, allocations: 63.98 kB / 0.738 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003447/0.5633, allocations: 322.9 kB / 0.7383 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5633, allocations: 0 / 0.7383 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009012/0.5642, allocations: 295.6 kB / 0.7386 GB, free: 368 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * 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.2116/0.7757, allocations: 430.8 kB / 0.739 GB, free: 185 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001915/0.7777, allocations: 0.9725 MB / 0.74 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7777, allocations: 0 / 0.74 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009403/0.7787, allocations: 0.6642 MB / 0.7406 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.7798, allocations: 199 kB / 0.7408 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.7822, allocations: 1.386 MB / 0.7422 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.7826, allocations: 0.8956 MB / 0.7431 GB, free: 183 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001083/0.7837, allocations: 0.6579 MB / 0.7437 GB, free: 183 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.784, allocations: 119 kB / 0.7438 GB, free: 183 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.784, allocations: 0 / 0.7438 GB, free: 183 MB / 0.5762 GB Notification: Performance of Templates: time 0.02435/0.8084, allocations: 15.17 MB / 0.7586 GB, free: 182.1 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches