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.001882/0.001882, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00239/0.00239, allocations: 213.7 kB / 22.25 MB, free: 5.242 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8043/0.8043, allocations: 94.62 MB / 407 MB, free: 8.855 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: 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.00263/0.00263, allocations: 92.67 kB / 0.5554 GB, free: 38.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.127, allocations: 73.05 MB / 0.6268 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.5152/0.6422, allocations: 167.2 MB / 0.7901 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006223/0.6484, allocations: 5.102 MB / 0.7951 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009702/0.6494, allocations: 51.34 kB / 0.7951 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.6504, allocations: 370.3 kB / 0.7955 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003847/0.6543, allocations: 1.449 MB / 0.7969 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.6564, allocations: 0.8529 MB / 0.7977 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003782/0.6602, allocations: 2.751 MB / 0.8004 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.6605, allocations: 147.3 kB / 0.8005 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.6637, allocations: 1.975 MB / 0.8025 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009675/0.6647, allocations: 0.6832 MB / 0.8031 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.6648, allocations: 73.47 kB / 0.8032 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.6672, allocations: 1.05 MB / 0.8042 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.6674, allocations: 202.1 kB / 0.8044 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006537/0.6681, allocations: 402.9 kB / 0.8048 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003001/0.6711, allocations: 1.727 MB / 0.8065 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.6711, allocations: 1 kB / 0.8065 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6711, allocations: 3.938 kB / 0.8065 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.364e-05/0.6711, allocations: 0 / 0.8065 GB, free: 2.43 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003953/0.6751, allocations: 1.536 MB / 0.808 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.6751, allocations: 8.406 kB / 0.808 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.6763, allocations: 210.5 kB / 0.8082 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.6776, allocations: 0.6397 MB / 0.8088 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.6777, allocations: 104.5 kB / 0.8089 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.6778, allocations: 67.2 kB / 0.809 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.6793, allocations: 0.8001 MB / 0.8098 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.6793, allocations: 3.094 kB / 0.8098 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.619e-05/0.6794, allocations: 23.09 kB / 0.8098 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.6794, allocations: 17.34 kB / 0.8098 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.6811, allocations: 0.6865 MB / 0.8105 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004214/0.6853, allocations: 2.375 MB / 0.8128 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.6871, allocations: 0.6692 MB / 0.8135 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008058/0.6879, allocations: 310.4 kB / 0.8138 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007419/0.6886, allocations: 122.1 kB / 0.8139 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.6897, allocations: 0.5077 MB / 0.8144 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 2.715e-06/0.6897, allocations: 0 / 0.8144 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.003377/0.6931, allocations: 1.175 MB / 0.8155 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.6932, allocations: 93.7 kB / 0.8156 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000742/0.6939, allocations: 0.6277 MB / 0.8162 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-05/0.694, allocations: 38.52 kB / 0.8163 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.6943, allocations: 406.6 kB / 0.8166 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.6945, allocations: 241.5 kB / 0.8169 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.6948, allocations: 165.4 kB / 0.817 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.695, allocations: 331.1 kB / 0.8174 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008857/0.6958, allocations: 344.8 kB / 0.8177 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009121/0.6968, allocations: 453.9 kB / 0.8181 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.6985, allocations: 0.7293 MB / 0.8188 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6985, allocations: 0 / 0.8188 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002465/0.701, allocations: 1.063 MB / 0.8199 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.701, allocations: 57.41 kB / 0.8199 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/0.701, allocations: 22.28 kB / 0.8199 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.7014, allocations: 80.05 kB / 0.82 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.7021, allocations: 186.5 kB / 0.8202 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.7047, allocations: 2.794 MB / 0.8229 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/0.7055, allocations: 114.6 kB / 0.823 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.7056, allocations: 80.59 kB / 0.8231 GB, free: 9.902 MB / 0.5919 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.0004293/0.706, allocations: 205.9 kB / 0.8233 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.7062, allocations: 84 kB / 0.8234 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.7098, allocations: 1.759 MB / 0.8251 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.7098, allocations: 8.562 kB / 0.8251 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7098, allocations: 0 / 0.8251 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.7098, allocations: 5.781 kB / 0.8251 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.7134, allocations: 1.677 MB / 0.8268 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/0.7134, allocations: 12.55 kB / 0.8268 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.714, allocations: 165.3 kB / 0.8269 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.7143, allocations: 81.11 kB / 0.827 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.7144, allocations: 41.56 kB / 0.827 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/0.7169, allocations: 2.799 MB / 0.8298 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7169, allocations: 3.625 kB / 0.8298 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/0.7202, allocations: 1.423 MB / 0.8312 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.7207, allocations: 166.7 kB / 0.8313 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.7208, allocations: 21.3 kB / 0.8313 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.7214, allocations: 51.91 kB / 0.8314 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.7217, allocations: 122.8 kB / 0.8315 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.7218, allocations: 67.55 kB / 0.8316 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005579/0.7224, allocations: 438.8 kB / 0.832 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.7224, allocations: 0 / 0.832 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001127/0.7235, allocations: 334 kB / 0.8323 GB, free: 4.246 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.0007061/0.7242, allocations: 399.3 kB / 0.8327 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002559/0.7268, allocations: 1.21 MB / 0.8339 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7268, allocations: 0 / 0.8339 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.7282, allocations: 0.7556 MB / 0.8346 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.7294, allocations: 235.8 kB / 0.8348 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.7332, allocations: 1.822 MB / 0.8366 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.7336, allocations: 386.5 kB / 0.837 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001687/0.7353, allocations: 0.9773 MB / 0.8379 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/0.7358, allocations: 180.4 kB / 0.8381 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/0.7358, allocations: 0 / 0.8381 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of Templates: time 0.03328/0.7691, allocations: 18.96 MB / 0.8566 GB, free: 180 kB / 0.6075 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.977962736040354]