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.001922/0.001922, allocations: 96.7 kB / 19.44 MB, free: 320 kB / 13.93 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.002345/0.002345, allocations: 161.3 kB / 22.75 MB, free: 1.648 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 1.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.079/1.079, allocations: 118.6 MB / 378.2 MB, free: 1.473 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.493e-06/1.493e-06, allocations: 0 / 482.9 MB, free: 8.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.959e-05, allocations: 2.312 kB / 482.9 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.2547/0.2548, allocations: 169.8 MB / 0.6374 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007222/0.262, allocations: 3.338 MB / 0.6406 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.2631, allocations: 51.5 kB / 0.6407 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.2646, allocations: 396.9 kB / 0.6411 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005135/0.2697, allocations: 1.604 MB / 0.6426 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.2724, allocations: 0.8639 MB / 0.6435 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.2895/0.5619, allocations: 3.047 MB / 0.6464 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006069/0.5626, allocations: 147.3 kB / 0.6466 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006004/0.5686, allocations: 2.313 MB / 0.6488 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.5703, allocations: 0.6282 MB / 0.6495 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003512/0.5707, allocations: 71.66 kB / 0.6495 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.5737, allocations: 1.066 MB / 0.6506 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000399/0.5741, allocations: 199.9 kB / 0.6508 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.5751, allocations: 362.2 kB / 0.6511 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004349/0.5794, allocations: 1.881 MB / 0.6529 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.5795, allocations: 3.688 kB / 0.6529 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5795, allocations: 0 / 0.6529 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.636e-05/0.5795, allocations: 4.688 kB / 0.6529 GB, free: 12.31 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.005095/0.5846, allocations: 1.574 MB / 0.6545 GB, free: 27.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5846, allocations: 10.53 kB / 0.6545 GB, free: 27.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.5863, allocations: 342 kB / 0.6548 GB, free: 27.4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.5879, allocations: 0.7185 MB / 0.6555 GB, free: 27.14 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.588, allocations: 104.2 kB / 0.6556 GB, free: 27.07 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.5881, allocations: 64.41 kB / 0.6557 GB, free: 27.07 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.5898, allocations: 0.8114 MB / 0.6565 GB, free: 26.97 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.5898, allocations: 0 / 0.6565 GB, free: 26.97 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.782e-05/0.5899, allocations: 27.34 kB / 0.6565 GB, free: 26.97 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.5899, allocations: 14.38 kB / 0.6565 GB, free: 26.97 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.5918, allocations: 0.687 MB / 0.6572 GB, free: 26.97 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005422/0.5972, allocations: 2.51 MB / 0.6596 GB, free: 25.98 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.5993, allocations: 0.6792 MB / 0.6603 GB, free: 25.93 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009753/0.6003, allocations: 310 kB / 0.6606 GB, free: 25.91 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008652/0.6012, allocations: 122.8 kB / 0.6607 GB, free: 25.91 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.6025, allocations: 0.4983 MB / 0.6612 GB, free: 25.85 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 3.397e-06/0.6025, allocations: 0.9062 kB / 0.6612 GB, free: 25.85 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.004283/0.6068, allocations: 1.211 MB / 0.6624 GB, free: 25.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.6069, allocations: 87.3 kB / 0.6625 GB, free: 25.63 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.6081, allocations: 0.6706 MB / 0.6631 GB, free: 25.49 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.6082, allocations: 41.2 kB / 0.6632 GB, free: 25.46 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.6086, allocations: 425.1 kB / 0.6636 GB, free: 25.29 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.6088, allocations: 246.1 kB / 0.6638 GB, free: 25.14 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.6092, allocations: 166.9 kB / 0.664 GB, free: 25.12 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6094, allocations: 341.8 kB / 0.6643 GB, free: 24.81 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.6104, allocations: 345.7 kB / 0.6646 GB, free: 24.75 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.6115, allocations: 449.3 kB / 0.665 GB, free: 24.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.6134, allocations: 0.7226 MB / 0.6657 GB, free: 24.43 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.6135, allocations: 2 kB / 0.6657 GB, free: 24.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003089/0.6165, allocations: 1.104 MB / 0.6668 GB, free: 24.19 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/0.6166, allocations: 66.09 kB / 0.6669 GB, free: 24.13 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/0.6167, allocations: 12.12 kB / 0.6669 GB, free: 24.13 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005612/0.6172, allocations: 92.05 kB / 0.667 GB, free: 24.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008308/0.6181, allocations: 191.3 kB / 0.6672 GB, free: 24.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/0.6215, allocations: 2.801 MB / 0.6699 GB, free: 21.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.6225, allocations: 97.52 kB / 0.67 GB, free: 21.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.6228, allocations: 81.66 kB / 0.6701 GB, free: 21.71 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.0006561/0.6234, allocations: 212.2 kB / 0.6703 GB, free: 21.59 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/0.6238, allocations: 119.7 kB / 0.6704 GB, free: 21.54 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/0.6283, allocations: 1.745 MB / 0.6721 GB, free: 21.41 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.6283, allocations: 7.406 kB / 0.6721 GB, free: 21.41 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.6283, allocations: 2.938 kB / 0.6721 GB, free: 21.41 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.6283, allocations: 6.625 kB / 0.6721 GB, free: 21.41 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004528/0.6328, allocations: 1.684 MB / 0.6738 GB, free: 21.03 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.413e-05/0.6329, allocations: 14.55 kB / 0.6738 GB, free: 21.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007635/0.6336, allocations: 166.1 kB / 0.6739 GB, free: 21.03 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004845/0.6341, allocations: 93.88 kB / 0.674 GB, free: 21.01 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.6342, allocations: 41.72 kB / 0.6741 GB, free: 21.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.6372, allocations: 2.806 MB / 0.6768 GB, free: 18.62 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.6372, allocations: 3.469 kB / 0.6768 GB, free: 18.62 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003709/0.6409, allocations: 1.448 MB / 0.6782 GB, free: 18.29 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/0.6415, allocations: 178 kB / 0.6784 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.6417, allocations: 15.16 kB / 0.6784 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007838/0.6425, allocations: 59.52 kB / 0.6785 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.6428, allocations: 110.4 kB / 0.6786 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.6429, allocations: 74.53 kB / 0.6786 GB, free: 18.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006757/0.6436, allocations: 465.4 kB / 0.6791 GB, free: 18.13 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6436, allocations: 2.719 kB / 0.6791 GB, free: 18.13 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001458/0.6451, allocations: 352.2 kB / 0.6794 GB, free: 18.09 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.001052/0.6461, allocations: 404.5 kB / 0.6798 GB, free: 17.98 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003248/0.6494, allocations: 1.22 MB / 0.681 GB, free: 17.43 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.6494, allocations: 0 / 0.681 GB, free: 17.43 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.651, allocations: 0.7481 MB / 0.6817 GB, free: 17.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.6532, allocations: 392.9 kB / 0.6821 GB, free: 17.03 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.6568, allocations: 1.624 MB / 0.6837 GB, free: 16.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.6573, allocations: 400.9 kB / 0.6841 GB, free: 16.18 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001755/0.659, allocations: 0.991 MB / 0.685 GB, free: 16.05 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005877/0.6596, allocations: 181.7 kB / 0.6852 GB, free: 16.02 MB / 0.573 GB Notification: Performance of SimCode: time 1.443e-06/0.6596, allocations: 4 kB / 0.6852 GB, free: 16.02 MB / 0.573 GB Notification: Performance of Templates: time 0.03299/0.6926, allocations: 20.22 MB / 0.705 GB, free: 11.53 MB / 0.573 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: 7.537041707983008]