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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003321/0.003321, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9892/0.9892, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6658/0.6658, allocations: 118.6 MB / 378.6 MB, free: 1.531 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.762e-05, allocations: 2.859 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.1436/0.1437, allocations: 147.8 MB / 0.6166 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003594/0.1473, allocations: 2.209 MB / 0.6188 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007029/0.148, allocations: 55.5 kB / 0.6188 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.1485, allocations: 202.2 kB / 0.619 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.1511, allocations: 1.138 MB / 0.6201 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008925/0.152, allocations: 406.9 kB / 0.6205 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003508/0.1555, allocations: 2.865 MB / 0.6233 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004162/0.1559, allocations: 152 kB / 0.6235 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.1589, allocations: 1.848 MB / 0.6253 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009624/0.1599, allocations: 0.6312 MB / 0.6259 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.1601, allocations: 72 kB / 0.626 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.1611, allocations: 0.6006 MB / 0.6265 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.1613, allocations: 206.9 kB / 0.6267 GB, free: 2.012 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003448/0.1616, allocations: 355.1 kB / 0.6271 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.1635, allocations: 1.265 MB / 0.6283 GB, free: 404 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1635, allocations: 0 / 0.6283 GB, free: 404 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.444e-06/0.1635, allocations: 4 kB / 0.6283 GB, free: 400 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.1635, allocations: 0 / 0.6283 GB, free: 400 kB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.002424/0.1659, allocations: 1.587 MB / 0.6299 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.166, allocations: 8.031 kB / 0.6299 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009017/0.1669, allocations: 335.5 kB / 0.6302 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.1678, allocations: 0.7349 MB / 0.6309 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.1679, allocations: 100.7 kB / 0.631 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.168, allocations: 67.95 kB / 0.6311 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.1688, allocations: 0.6587 MB / 0.6317 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.1689, allocations: 4 kB / 0.6317 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.1689, allocations: 28 kB / 0.6318 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.1689, allocations: 16 kB / 0.6318 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.1695, allocations: 340.6 kB / 0.6321 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.1723, allocations: 2.777 MB / 0.6348 GB, free: 9.52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.173, allocations: 464.8 kB / 0.6352 GB, free: 9.043 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.1733, allocations: 168 kB / 0.6354 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.1736, allocations: 100.2 kB / 0.6355 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/0.1743, allocations: 378.1 kB / 0.6359 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=69): time 2.204e-06/0.1743, allocations: 0 / 0.6359 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69): time 0.001349/0.1756, allocations: 0.7979 MB / 0.6366 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1757, allocations: 85.11 kB / 0.6367 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.1762, allocations: 0.6713 MB / 0.6374 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.1762, allocations: 45.69 kB / 0.6374 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.1765, allocations: 467.6 kB / 0.6379 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.1766, allocations: 245.9 kB / 0.6381 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.1768, allocations: 176.2 kB / 0.6383 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1769, allocations: 0.5004 MB / 0.6388 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.1772, allocations: 181.3 kB / 0.6389 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.1775, allocations: 329.8 kB / 0.6392 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/0.178, allocations: 474.8 kB / 0.6397 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.178, allocations: 0 / 0.6397 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009632/0.179, allocations: 0.7963 MB / 0.6405 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.179, allocations: 59.41 kB / 0.6405 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.1791, allocations: 23.86 kB / 0.6406 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.1793, allocations: 87.42 kB / 0.6406 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.1797, allocations: 175.8 kB / 0.6408 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2574/0.4371, allocations: 3.639 MB / 0.6444 GB, free: 37.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.4378, allocations: 74.36 kB / 0.6444 GB, free: 37.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.4379, allocations: 80.27 kB / 0.6445 GB, free: 37.46 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 70 * 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.0003067/0.4382, allocations: 197.5 kB / 0.6447 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.4384, allocations: 118.4 kB / 0.6448 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.4407, allocations: 1.477 MB / 0.6463 GB, free: 37.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.4408, allocations: 7.219 kB / 0.6463 GB, free: 37.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4408, allocations: 3.734 kB / 0.6463 GB, free: 37.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.4408, allocations: 3.688 kB / 0.6463 GB, free: 37.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.4429, allocations: 1.494 MB / 0.6477 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/0.4429, allocations: 11.59 kB / 0.6477 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.4433, allocations: 143 kB / 0.6479 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003263/0.4437, allocations: 91.55 kB / 0.648 GB, free: 36.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.56e-05/0.4437, allocations: 42.95 kB / 0.648 GB, free: 36.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.4452, allocations: 3.652 MB / 0.6516 GB, free: 33.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4452, allocations: 1.719 kB / 0.6516 GB, free: 33.28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.4466, allocations: 1.065 MB / 0.6526 GB, free: 32.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.4468, allocations: 170.3 kB / 0.6528 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.291e-05/0.4469, allocations: 20.14 kB / 0.6528 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.4472, allocations: 36.12 kB / 0.6528 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.4474, allocations: 118 kB / 0.6529 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/0.4474, allocations: 74.27 kB / 0.653 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003228/0.4478, allocations: 450.6 kB / 0.6534 GB, free: 32.69 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4478, allocations: 0 / 0.6534 GB, free: 32.69 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008629/0.4486, allocations: 319.1 kB / 0.6537 GB, free: 32.68 MB / 0.5573 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 (63): * Single equations (assignments): 53 * 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.0004375/0.4491, allocations: 266.5 kB / 0.654 GB, free: 32.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009917/0.4501, allocations: 1.055 MB / 0.655 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4501, allocations: 0 / 0.655 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.4505, allocations: 0.7253 MB / 0.6557 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.4515, allocations: 404.3 kB / 0.6561 GB, free: 31.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.454, allocations: 1.568 MB / 0.6577 GB, free: 30.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.4541, allocations: 175.4 kB / 0.6578 GB, free: 30.56 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00114/0.4552, allocations: 0.9764 MB / 0.6588 GB, free: 30.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.4556, allocations: 184.7 kB / 0.6589 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of SimCode: time 1.112e-06/0.4556, allocations: 0.875 kB / 0.6589 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of Templates: time 0.0258/0.4814, allocations: 18.28 MB / 0.6768 GB, free: 28.62 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7446616417728364]