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.001263/0.001263, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001445/0.001445, allocations: 173 kB / 23.36 MB, free: 1.133 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.9095/0.9095, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.6307/0.6307, allocations: 118.7 MB / 378.9 MB, free: 1.336 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 2.094e-06/2.094e-06, allocations: 4 kB / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.266e-05, allocations: 2.312 kB / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.271/0.271, allocations: 146.7 MB / 0.5639 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.2738, allocations: 2.269 MB / 0.5662 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.2742, allocations: 51.5 kB / 0.5662 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.2746, allocations: 209 kB / 0.5664 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.2764, allocations: 1.152 MB / 0.5675 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.2769, allocations: 403 kB / 0.5679 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.2792, allocations: 2.782 MB / 0.5706 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.2794, allocations: 166.9 kB / 0.5708 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.281, allocations: 1.778 MB / 0.5725 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.2815, allocations: 0.6077 MB / 0.5731 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-05/0.2816, allocations: 72 kB / 0.5732 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006622/0.2823, allocations: 0.5966 MB / 0.5738 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2824, allocations: 199 kB / 0.574 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.2826, allocations: 363.1 kB / 0.5743 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.2837, allocations: 1.265 MB / 0.5755 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2837, allocations: 4 kB / 0.5755 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.11e-07/0.2837, allocations: 3.938 kB / 0.5756 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.2837, allocations: 0 / 0.5756 GB, free: 12.71 MB / 0.5261 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.00167/0.2854, allocations: 1.466 MB / 0.577 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.2854, allocations: 12.03 kB / 0.577 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000752/0.2862, allocations: 312.1 kB / 0.5773 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007276/0.2869, allocations: 0.6468 MB / 0.5779 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/0.287, allocations: 108.6 kB / 0.578 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.685e-05/0.2871, allocations: 67.94 kB / 0.5781 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.2877, allocations: 0.5963 MB / 0.5787 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2877, allocations: 0 / 0.5787 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.2878, allocations: 20 kB / 0.5787 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.2878, allocations: 19.94 kB / 0.5787 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.2881, allocations: 257.9 kB / 0.579 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.2901, allocations: 1.935 MB / 0.5808 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.2906, allocations: 358.4 kB / 0.5812 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.2908, allocations: 123 kB / 0.5813 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/0.2911, allocations: 120.8 kB / 0.5814 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.2914, allocations: 331.3 kB / 0.5817 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 1.673e-06/0.2914, allocations: 0 / 0.5817 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.0008603/0.2923, allocations: 0.5243 MB / 0.5822 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.2923, allocations: 92.98 kB / 0.5823 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.2927, allocations: 0.6042 MB / 0.5829 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.2928, allocations: 37.7 kB / 0.583 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.2929, allocations: 310.8 kB / 0.5833 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.293, allocations: 245.9 kB / 0.5835 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.2932, allocations: 158.5 kB / 0.5836 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.2933, allocations: 329.9 kB / 0.584 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.2934, allocations: 137.4 kB / 0.5841 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.2936, allocations: 251.3 kB / 0.5843 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.294, allocations: 387.4 kB / 0.5847 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.294, allocations: 4 kB / 0.5847 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000574/0.2945, allocations: 0.5387 MB / 0.5852 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.2946, allocations: 67.33 kB / 0.5853 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.2946, allocations: 12 kB / 0.5853 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.2948, allocations: 75.5 kB / 0.5854 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.2951, allocations: 163.8 kB / 0.5855 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.2962, allocations: 2.467 MB / 0.5879 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.2965, allocations: 83.59 kB / 0.588 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/0.2966, allocations: 63.98 kB / 0.5881 GB, free: 15.26 MB / 0.5417 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 (trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2) * 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.0001742/0.2968, allocations: 152.5 kB / 0.5882 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.2969, allocations: 75.92 kB / 0.5883 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.2982, allocations: 1.26 MB / 0.5895 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.2982, allocations: 8 kB / 0.5895 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2982, allocations: 0 / 0.5895 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.2982, allocations: 11.98 kB / 0.5896 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2993, allocations: 0.9759 MB / 0.5905 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.2993, allocations: 11.98 kB / 0.5905 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.2996, allocations: 123.8 kB / 0.5906 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.2998, allocations: 85.66 kB / 0.5907 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.2998, allocations: 32.78 kB / 0.5907 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.301, allocations: 2.475 MB / 0.5932 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.301, allocations: 4 kB / 0.5932 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.3017, allocations: 0.6932 MB / 0.5938 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.3019, allocations: 123.2 kB / 0.594 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/0.302, allocations: 31.81 kB / 0.594 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.3022, allocations: 35.97 kB / 0.594 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.3024, allocations: 107.8 kB / 0.5941 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.3024, allocations: 63.95 kB / 0.5942 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002061/0.3027, allocations: 296.5 kB / 0.5945 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.3027, allocations: 0 / 0.5945 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005463/0.3032, allocations: 327.5 kB / 0.5948 GB, free: 8.133 MB / 0.5417 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.0003422/0.3035, allocations: 251.3 kB / 0.595 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000708/0.3042, allocations: 0.8488 MB / 0.5959 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.3043, allocations: 12.56 kB / 0.5959 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.3047, allocations: 0.5679 MB / 0.5964 GB, free: 6.316 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008465/0.3055, allocations: 381.6 kB / 0.5968 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.3073, allocations: 1.481 MB / 0.5982 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3074, allocations: 172.6 kB / 0.5984 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001056/0.3085, allocations: 0.9911 MB / 0.5994 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007457/0.3092, allocations: 433 kB / 0.5998 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of SimCode: time 9.02e-07/0.3092, allocations: 0 / 0.5998 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of Templates: time 0.02077/0.33, allocations: 20.05 MB / 0.6194 GB, free: 15.24 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: 3.841297667939216]