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.00092/0.00092, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009001/0.0009001, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.943/0.943, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.6597/0.6597, allocations: 118.6 MB / 378.9 MB, free: 1.477 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.703e-06/1.703e-06, allocations: 1.219 kB / 483.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.602e-05, allocations: 5.266 kB / 483.6 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3701/0.3702, allocations: 189.9 MB / 0.6577 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004256/0.3744, allocations: 3.626 MB / 0.6612 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.3752, allocations: 52.56 kB / 0.6613 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008667/0.3761, allocations: 398.1 kB / 0.6617 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.3793, allocations: 1.612 MB / 0.6632 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.3808, allocations: 0.8614 MB / 0.6641 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003446/0.3843, allocations: 3.06 MB / 0.6671 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.3846, allocations: 146.6 kB / 0.6672 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.3877, allocations: 2.311 MB / 0.6695 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.3884, allocations: 0.6283 MB / 0.6701 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.3885, allocations: 72.84 kB / 0.6702 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.3906, allocations: 1.065 MB / 0.6712 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.3907, allocations: 202.5 kB / 0.6714 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003622/0.3911, allocations: 360.6 kB / 0.6717 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.3933, allocations: 1.627 MB / 0.6733 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3933, allocations: 0.8438 kB / 0.6733 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3933, allocations: 0 / 0.6733 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.937e-05/0.3933, allocations: 0.875 kB / 0.6733 GB, free: 11.62 MB / 0.5573 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.002864/0.3961, allocations: 1.656 MB / 0.6749 GB, free: 26.68 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3962, allocations: 12 kB / 0.675 GB, free: 26.68 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.3972, allocations: 338 kB / 0.6753 GB, free: 26.59 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009903/0.3982, allocations: 0.7235 MB / 0.676 GB, free: 26.3 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.641e-05/0.3983, allocations: 106.9 kB / 0.6761 GB, free: 26.23 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.3984, allocations: 70.27 kB / 0.6761 GB, free: 26.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008974/0.3993, allocations: 0.6556 MB / 0.6768 GB, free: 26.08 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3993, allocations: 1.531 kB / 0.6768 GB, free: 26.08 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.3994, allocations: 30.19 kB / 0.6768 GB, free: 26.08 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.3994, allocations: 19.06 kB / 0.6768 GB, free: 26.08 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006189/0.4, allocations: 341.5 kB / 0.6772 GB, free: 26.07 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.4029, allocations: 2.776 MB / 0.6799 GB, free: 24.67 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.4037, allocations: 467.7 kB / 0.6803 GB, free: 24.59 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.404, allocations: 171.7 kB / 0.6805 GB, free: 24.57 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.4044, allocations: 102.1 kB / 0.6806 GB, free: 24.57 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004913/0.4049, allocations: 375.6 kB / 0.6809 GB, free: 24.48 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 3.466e-06/0.4049, allocations: 0.8125 kB / 0.6809 GB, free: 24.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.001542/0.4064, allocations: 0.7973 MB / 0.6817 GB, free: 24.35 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.4065, allocations: 88.52 kB / 0.6818 GB, free: 24.26 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.4071, allocations: 0.6723 MB / 0.6825 GB, free: 24.06 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.4071, allocations: 43.3 kB / 0.6825 GB, free: 24.03 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.4073, allocations: 471.3 kB / 0.683 GB, free: 23.81 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.4075, allocations: 249.2 kB / 0.6832 GB, free: 23.65 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.4077, allocations: 173.3 kB / 0.6834 GB, free: 23.62 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4078, allocations: 0.498 MB / 0.6838 GB, free: 23.14 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.4081, allocations: 184.6 kB / 0.684 GB, free: 23.08 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.4084, allocations: 325.7 kB / 0.6843 GB, free: 22.88 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.4089, allocations: 475.2 kB / 0.6848 GB, free: 22.68 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4089, allocations: 0 / 0.6848 GB, free: 22.68 MB / 0.573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009827/0.4099, allocations: 0.7933 MB / 0.6856 GB, free: 22.43 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.4099, allocations: 63.44 kB / 0.6856 GB, free: 22.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.41, allocations: 13.66 kB / 0.6856 GB, free: 22.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/0.4103, allocations: 86.66 kB / 0.6857 GB, free: 22.35 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.4106, allocations: 179.5 kB / 0.6859 GB, free: 22.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.4125, allocations: 3.642 MB / 0.6894 GB, free: 18.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.4129, allocations: 82.25 kB / 0.6895 GB, free: 18.85 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.971e-05/0.413, allocations: 81.39 kB / 0.6896 GB, free: 18.85 MB / 0.573 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.0002182/0.4132, allocations: 199.2 kB / 0.6898 GB, free: 18.69 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.4133, allocations: 115.8 kB / 0.6899 GB, free: 18.64 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.4151, allocations: 1.478 MB / 0.6913 GB, free: 18.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4151, allocations: 9.688 kB / 0.6913 GB, free: 18.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.4151, allocations: 0.9062 kB / 0.6913 GB, free: 18.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4151, allocations: 5.375 kB / 0.6914 GB, free: 18.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.4168, allocations: 1.492 MB / 0.6928 GB, free: 17.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.4168, allocations: 10.02 kB / 0.6928 GB, free: 17.99 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.4171, allocations: 142.7 kB / 0.693 GB, free: 17.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.4173, allocations: 107.8 kB / 0.6931 GB, free: 17.96 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.4174, allocations: 37.48 kB / 0.6931 GB, free: 17.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.4188, allocations: 3.647 MB / 0.6967 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4188, allocations: 3.406 kB / 0.6967 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.4199, allocations: 1.065 MB / 0.6977 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.4202, allocations: 172.2 kB / 0.6979 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-05/0.4202, allocations: 16.97 kB / 0.6979 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.4205, allocations: 40.12 kB / 0.6979 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.4207, allocations: 117.8 kB / 0.698 GB, free: 13.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.018e-05/0.4208, allocations: 75.11 kB / 0.6981 GB, free: 13.97 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003125/0.4211, allocations: 443.3 kB / 0.6985 GB, free: 13.84 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4211, allocations: 0 / 0.6985 GB, free: 13.84 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009139/0.422, allocations: 356.9 kB / 0.6989 GB, free: 13.8 MB / 0.573 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.0005723/0.4226, allocations: 400.7 kB / 0.6992 GB, free: 13.68 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.4236, allocations: 1.059 MB / 0.7003 GB, free: 13.01 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4236, allocations: 1.062 kB / 0.7003 GB, free: 13.01 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.4241, allocations: 0.7271 MB / 0.701 GB, free: 12.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.4251, allocations: 398.6 kB / 0.7014 GB, free: 12.46 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.4273, allocations: 1.563 MB / 0.7029 GB, free: 11.66 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.4274, allocations: 166.5 kB / 0.7031 GB, free: 11.58 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001071/0.4285, allocations: 0.9865 MB / 0.704 GB, free: 11.45 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.4288, allocations: 191.7 kB / 0.7042 GB, free: 11.42 MB / 0.573 GB Notification: Performance of SimCode: time 1.513e-06/0.4288, allocations: 0 / 0.7042 GB, free: 11.42 MB / 0.573 GB Notification: Performance of Templates: time 0.02142/0.4503, allocations: 20.32 MB / 0.724 GB, free: 5 MB / 0.573 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.4463840229436755]