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.001272/0.001272, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.0014/0.0014, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.356/1.356, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7377/0.7377, allocations: 80.2 MB / 339.4 MB, free: 10.87 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.924e-06/1.924e-06, allocations: 0 / 0.4929 GB, free: 25.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.336e-05, allocations: 5.656 kB / 0.4929 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.2002/0.2003, allocations: 169.7 MB / 0.6586 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005712/0.206, allocations: 3.308 MB / 0.6619 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007572/0.2067, allocations: 59.5 kB / 0.6619 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.2079, allocations: 389 kB / 0.6623 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004165/0.212, allocations: 1.599 MB / 0.6638 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.2141, allocations: 0.8443 MB / 0.6647 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004751/0.2189, allocations: 3.056 MB / 0.6677 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.2192, allocations: 147.6 kB / 0.6678 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/0.2233, allocations: 2.292 MB / 0.67 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009883/0.2243, allocations: 0.6312 MB / 0.6706 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.2244, allocations: 72 kB / 0.6707 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.2269, allocations: 1.061 MB / 0.6718 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.2271, allocations: 199.1 kB / 0.6719 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.2276, allocations: 355.1 kB / 0.6723 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003671/0.2313, allocations: 1.858 MB / 0.6741 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.2313, allocations: 0 / 0.6741 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2313, allocations: 0 / 0.6741 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.2313, allocations: 0 / 0.6741 GB, free: 5.395 MB / 0.5762 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.003745/0.235, allocations: 1.546 MB / 0.6756 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2351, allocations: 13.47 kB / 0.6756 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.2363, allocations: 207.2 kB / 0.6758 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.2375, allocations: 0.6531 MB / 0.6765 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.2376, allocations: 104.7 kB / 0.6766 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.2378, allocations: 71.94 kB / 0.6766 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.2395, allocations: 0.8045 MB / 0.6774 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.2395, allocations: 0 / 0.6774 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.2396, allocations: 31.98 kB / 0.6774 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.2396, allocations: 12 kB / 0.6774 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.2419, allocations: 0.6849 MB / 0.6781 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004888/0.2468, allocations: 2.505 MB / 0.6806 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.2489, allocations: 0.666 MB / 0.6812 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009073/0.2498, allocations: 314.3 kB / 0.6815 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007797/0.2505, allocations: 124.1 kB / 0.6816 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.2518, allocations: 0.4981 MB / 0.6821 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 2.335e-06/0.2518, allocations: 4 kB / 0.6821 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.003772/0.2556, allocations: 1.187 MB / 0.6833 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.2556, allocations: 101 kB / 0.6834 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/0.2564, allocations: 0.6375 MB / 0.684 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.995e-05/0.2565, allocations: 41.7 kB / 0.684 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.2569, allocations: 408.9 kB / 0.6844 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.2571, allocations: 245.9 kB / 0.6847 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.2574, allocations: 170.6 kB / 0.6848 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2575, allocations: 334 kB / 0.6851 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009506/0.2585, allocations: 345.2 kB / 0.6855 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.2595, allocations: 450.5 kB / 0.6859 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.2614, allocations: 0.7367 MB / 0.6866 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2615, allocations: 0 / 0.6866 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002677/0.2641, allocations: 1.077 MB / 0.6877 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.33e-05/0.2642, allocations: 63.39 kB / 0.6877 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.2642, allocations: 8 kB / 0.6877 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/0.2646, allocations: 81.66 kB / 0.6878 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/0.2653, allocations: 191.8 kB / 0.688 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.2681, allocations: 2.787 MB / 0.6907 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000732/0.2689, allocations: 107.4 kB / 0.6908 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.269, allocations: 75.92 kB / 0.6909 GB, free: 3.504 MB / 0.5919 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.0004187/0.2694, allocations: 210.6 kB / 0.6911 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.2696, allocations: 87.44 kB / 0.6912 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/0.2736, allocations: 1.75 MB / 0.6929 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.2736, allocations: 12 kB / 0.6929 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2736, allocations: 0 / 0.6929 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.2736, allocations: 3.984 kB / 0.6929 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2188/0.4924, allocations: 1.685 MB / 0.6946 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/0.4924, allocations: 10.55 kB / 0.6946 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007416/0.4932, allocations: 163.5 kB / 0.6947 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003401/0.4935, allocations: 83.22 kB / 0.6948 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.765e-05/0.4936, allocations: 45.45 kB / 0.6948 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.4955, allocations: 2.808 MB / 0.6976 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4955, allocations: 1.25 kB / 0.6976 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/0.499, allocations: 1.425 MB / 0.699 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.4993, allocations: 164.1 kB / 0.6991 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.4995, allocations: 20.14 kB / 0.6992 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006445/0.5001, allocations: 54.8 kB / 0.6992 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.5004, allocations: 108.8 kB / 0.6993 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.5005, allocations: 74.59 kB / 0.6994 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005065/0.501, allocations: 445.7 kB / 0.6998 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.501, allocations: 1.031 kB / 0.6998 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001184/0.5022, allocations: 356 kB / 0.7001 GB, free: 178.2 MB / 0.5919 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.0007358/0.5029, allocations: 409.5 kB / 0.7005 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002666/0.5056, allocations: 1.211 MB / 0.7017 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5056, allocations: 2.125 kB / 0.7017 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.5071, allocations: 0.7474 MB / 0.7025 GB, free: 177 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.509, allocations: 361.8 kB / 0.7028 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.512, allocations: 1.57 MB / 0.7043 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.5123, allocations: 387.2 kB / 0.7047 GB, free: 176 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001436/0.5137, allocations: 0.9841 MB / 0.7057 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/0.5142, allocations: 176.2 kB / 0.7058 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of SimCode: time 8.91e-07/0.5142, allocations: 10.59 kB / 0.7058 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.03266/0.5469, allocations: 20.07 MB / 0.7254 GB, free: 171.8 MB / 0.5919 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 6.2947450913488865]