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.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.00158/0.00158, allocations: 77.47 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001726/0.001726, allocations: 160.5 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.387/1.387, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7165/0.7165, allocations: 79.62 MB / 339.4 MB, free: 10.98 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 92.06 kB / 0.4924 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1119, allocations: 74.58 MB / 0.5652 GB, free: 6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4777/0.5896, allocations: 167.2 MB / 0.7285 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006017/0.5956, allocations: 5.11 MB / 0.7335 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007114/0.5963, allocations: 50.22 kB / 0.7335 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009242/0.5972, allocations: 375.2 kB / 0.7339 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.6005, allocations: 1.447 MB / 0.7353 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.6025, allocations: 0.847 MB / 0.7361 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003448/0.606, allocations: 2.768 MB / 0.7388 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.6063, allocations: 142.3 kB / 0.739 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.6093, allocations: 1.986 MB / 0.7409 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008332/0.6101, allocations: 0.6858 MB / 0.7416 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.6102, allocations: 72.53 kB / 0.7417 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.6124, allocations: 1.052 MB / 0.7427 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.6125, allocations: 198.8 kB / 0.7429 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003338/0.6129, allocations: 403.3 kB / 0.7433 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.6151, allocations: 1.728 MB / 0.745 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.6151, allocations: 4.781 kB / 0.745 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6151, allocations: 0 / 0.745 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.6151, allocations: 0 / 0.745 GB, free: 2.828 MB / 0.5919 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.003116/0.6182, allocations: 1.534 MB / 0.7465 GB, free: 18.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.6182, allocations: 11.44 kB / 0.7465 GB, free: 18.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.6194, allocations: 209.8 kB / 0.7467 GB, free: 17.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/0.6204, allocations: 0.6401 MB / 0.7473 GB, free: 17.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.697e-05/0.6205, allocations: 103.6 kB / 0.7474 GB, free: 17.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.6206, allocations: 63.56 kB / 0.7474 GB, free: 17.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.622, allocations: 0.8038 MB / 0.7482 GB, free: 17.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.622, allocations: 6 kB / 0.7482 GB, free: 17.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.6221, allocations: 25.56 kB / 0.7483 GB, free: 17.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.6221, allocations: 17.16 kB / 0.7483 GB, free: 17.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.6237, allocations: 0.6799 MB / 0.7489 GB, free: 17.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.6276, allocations: 2.38 MB / 0.7513 GB, free: 16.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.6292, allocations: 0.6833 MB / 0.7519 GB, free: 16.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/0.63, allocations: 311.4 kB / 0.7522 GB, free: 16.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006823/0.6307, allocations: 119.7 kB / 0.7523 GB, free: 16.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.6317, allocations: 0.501 MB / 0.7528 GB, free: 16.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.335e-06/0.6317, allocations: 0 / 0.7528 GB, free: 16.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.003132/0.6348, allocations: 1.183 MB / 0.754 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.6349, allocations: 92.17 kB / 0.7541 GB, free: 16.22 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.6355, allocations: 0.6234 MB / 0.7547 GB, free: 16.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/0.6355, allocations: 39.2 kB / 0.7547 GB, free: 16.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.6358, allocations: 412.3 kB / 0.7551 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.6359, allocations: 243.1 kB / 0.7554 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.6361, allocations: 166.4 kB / 0.7555 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6363, allocations: 337.3 kB / 0.7558 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007808/0.637, allocations: 340.1 kB / 0.7562 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008222/0.6379, allocations: 452.7 kB / 0.7566 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.6394, allocations: 0.7205 MB / 0.7573 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6394, allocations: 0.9688 kB / 0.7573 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002152/0.6416, allocations: 1.064 MB / 0.7583 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.6416, allocations: 62.62 kB / 0.7584 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.6417, allocations: 12.7 kB / 0.7584 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002971/0.642, allocations: 88.3 kB / 0.7585 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/0.6426, allocations: 186.6 kB / 0.7587 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.6448, allocations: 2.793 MB / 0.7614 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.6455, allocations: 101.5 kB / 0.7615 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.6456, allocations: 77.38 kB / 0.7616 GB, free: 11.93 MB / 0.6075 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.0003541/0.646, allocations: 210.4 kB / 0.7618 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.6461, allocations: 89.11 kB / 0.7618 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/0.6495, allocations: 1.751 MB / 0.7636 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.6495, allocations: 8.594 kB / 0.7636 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.6496, allocations: 3.125 kB / 0.7636 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.6496, allocations: 7 kB / 0.7636 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.6528, allocations: 1.687 MB / 0.7652 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/0.6528, allocations: 9.375 kB / 0.7652 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/0.6535, allocations: 158.5 kB / 0.7654 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.6537, allocations: 87.14 kB / 0.7655 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.993e-05/0.6538, allocations: 42.95 kB / 0.7655 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.6562, allocations: 2.805 MB / 0.7682 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6562, allocations: 2 kB / 0.7682 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.6593, allocations: 1.423 MB / 0.7696 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.6597, allocations: 174.8 kB / 0.7698 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.6598, allocations: 12.97 kB / 0.7698 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.6604, allocations: 59 kB / 0.7699 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.6606, allocations: 108.1 kB / 0.77 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.6607, allocations: 77.97 kB / 0.7701 GB, free: 7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000489/0.6612, allocations: 437.5 kB / 0.7705 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6612, allocations: 0 / 0.7705 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001002/0.6622, allocations: 339 kB / 0.7708 GB, free: 6.734 MB / 0.6075 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.0007096/0.6629, allocations: 386.5 kB / 0.7712 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002443/0.6654, allocations: 1.193 MB / 0.7723 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.6654, allocations: 0 / 0.7723 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.6667, allocations: 0.7513 MB / 0.7731 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.6679, allocations: 248.1 kB / 0.7733 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.6713, allocations: 1.829 MB / 0.7751 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.6716, allocations: 373 kB / 0.7754 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001491/0.6731, allocations: 0.9803 MB / 0.7764 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.6736, allocations: 181.5 kB / 0.7766 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of SimCode: time 6.22e-07/0.6736, allocations: 0 / 0.7766 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of Templates: time 0.02997/0.7036, allocations: 17.75 MB / 0.7939 GB, free: 7.059 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.625717345043086]