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.0008572/0.0008572, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001412/0.001412, allocations: 177 kB / 23.36 MB, free: 1.129 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.9764/0.9764, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 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.6337/0.6337, allocations: 118.6 MB / 378.9 MB, free: 1.305 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.152e-05, allocations: 2.312 kB / 430.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.2702/0.2702, allocations: 146.7 MB / 0.5639 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.273, allocations: 2.263 MB / 0.5662 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.2734, allocations: 55.5 kB / 0.5662 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.2738, allocations: 206.2 kB / 0.5664 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.2755, allocations: 1.153 MB / 0.5675 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.2761, allocations: 399 kB / 0.5679 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.2785, allocations: 2.798 MB / 0.5706 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.2787, allocations: 154.9 kB / 0.5708 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.2801, allocations: 1.782 MB / 0.5725 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.2806, allocations: 0.6077 MB / 0.5731 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.1e-05/0.2807, allocations: 72 kB / 0.5732 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006567/0.2814, allocations: 0.5967 MB / 0.5738 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.2815, allocations: 199 kB / 0.574 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.2817, allocations: 355.1 kB / 0.5743 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.2828, allocations: 1.273 MB / 0.5756 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2828, allocations: 0 / 0.5756 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2828, allocations: 0 / 0.5756 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2828, allocations: 0 / 0.5756 GB, free: 12.64 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.001823/0.2846, allocations: 1.462 MB / 0.577 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.2846, allocations: 12.03 kB / 0.577 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000732/0.2854, allocations: 316.1 kB / 0.5773 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.2861, allocations: 0.6545 MB / 0.5779 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/0.2861, allocations: 100.7 kB / 0.578 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/0.2862, allocations: 71.95 kB / 0.5781 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.2868, allocations: 0.5924 MB / 0.5787 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.2868, allocations: 4 kB / 0.5787 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.2869, allocations: 24 kB / 0.5787 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.2869, allocations: 16 kB / 0.5787 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.2872, allocations: 245.9 kB / 0.579 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.2892, allocations: 1.95 MB / 0.5809 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.2897, allocations: 350.5 kB / 0.5812 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.2898, allocations: 127 kB / 0.5813 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003149/0.2901, allocations: 124.7 kB / 0.5814 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003133/0.2905, allocations: 330.8 kB / 0.5817 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 1.763e-06/0.2905, allocations: 0 / 0.5817 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.0008529/0.2913, allocations: 0.5278 MB / 0.5823 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.2913, allocations: 89.05 kB / 0.5823 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.2917, allocations: 0.6042 MB / 0.5829 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.2918, allocations: 37.7 kB / 0.583 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.2919, allocations: 302.8 kB / 0.5833 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.292, allocations: 245.9 kB / 0.5835 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003794/0.2924, allocations: 150.5 kB / 0.5836 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.137e-05/0.2925, allocations: 337.9 kB / 0.584 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.2926, allocations: 145.3 kB / 0.5841 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.2928, allocations: 250.7 kB / 0.5843 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.2932, allocations: 380 kB / 0.5847 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2932, allocations: 7.938 kB / 0.5847 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005611/0.2937, allocations: 0.5423 MB / 0.5852 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.2938, allocations: 59.41 kB / 0.5853 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.2938, allocations: 8.266 kB / 0.5853 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.294, allocations: 85.56 kB / 0.5854 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.2943, allocations: 157.3 kB / 0.5855 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.2954, allocations: 2.465 MB / 0.5879 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.2956, allocations: 83.53 kB / 0.588 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.2957, allocations: 67.97 kB / 0.5881 GB, free: 15.2 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.0001711/0.2959, allocations: 156.5 kB / 0.5882 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.296, allocations: 75.92 kB / 0.5883 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.2973, allocations: 1.257 MB / 0.5895 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2973, allocations: 11.94 kB / 0.5895 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2973, allocations: 1.062 kB / 0.5895 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2973, allocations: 3.984 kB / 0.5896 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.2986, allocations: 0.9837 MB / 0.5905 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.2986, allocations: 7.984 kB / 0.5905 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.2989, allocations: 123.9 kB / 0.5906 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001769/0.2991, allocations: 85.7 kB / 0.5907 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.2991, allocations: 35.97 kB / 0.5908 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.3001, allocations: 2.47 MB / 0.5932 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3001, allocations: 0 / 0.5932 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007057/0.3008, allocations: 0.7088 MB / 0.5939 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.301, allocations: 123.2 kB / 0.594 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.702e-05/0.3011, allocations: 23.56 kB / 0.594 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.3013, allocations: 43.95 kB / 0.594 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.3015, allocations: 107.8 kB / 0.5941 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.3015, allocations: 55.98 kB / 0.5942 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002006/0.3017, allocations: 300.5 kB / 0.5945 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.3017, allocations: 0 / 0.5945 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005127/0.3023, allocations: 323.4 kB / 0.5948 GB, free: 8.066 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.0003306/0.3026, allocations: 250.4 kB / 0.595 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006927/0.3033, allocations: 0.841 MB / 0.5958 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.3033, allocations: 12 kB / 0.5959 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.3037, allocations: 0.5725 MB / 0.5964 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008321/0.3045, allocations: 393 kB / 0.5968 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.3065, allocations: 1.478 MB / 0.5982 GB, free: 4.367 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.3066, allocations: 172.6 kB / 0.5984 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001024/0.3077, allocations: 0.9887 MB / 0.5994 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007372/0.3084, allocations: 441 kB / 0.5998 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/0.3084, allocations: 0 / 0.5998 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of Templates: time 0.02084/0.3292, allocations: 20.06 MB / 0.6194 GB, free: 15.16 MB / 0.573 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.913832690101117]