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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6105/0.6105, allocations: 90.3 MB / 394.8 MB, free: 3.816 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003738/0.003738, allocations: 79.86 kB / 0.5386 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4283, allocations: 70.83 MB / 0.6078 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.2508/0.6791, allocations: 193.2 MB / 0.7964 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008785/0.6879, allocations: 5.503 MB / 0.8018 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008363/0.6888, allocations: 11.94 kB / 0.8018 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.6901, allocations: 405.3 kB / 0.8022 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004421/0.6945, allocations: 1.393 MB / 0.8036 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.6971, allocations: 0.833 MB / 0.8044 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004508/0.7016, allocations: 2.547 MB / 0.8069 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.702, allocations: 154.8 kB / 0.807 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.7058, allocations: 1.789 MB / 0.8088 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.7072, allocations: 0.6967 MB / 0.8094 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003144/0.7075, allocations: 72 kB / 0.8095 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.711, allocations: 1.254 MB / 0.8107 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003546/0.7113, allocations: 179.3 kB / 0.8109 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008778/0.7122, allocations: 453.7 kB / 0.8113 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004364/0.7165, allocations: 1.604 MB / 0.8129 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7166, allocations: 0 / 0.8129 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7166, allocations: 0 / 0.8129 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.073e-05/0.7166, allocations: 4 kB / 0.8129 GB, free: 8.598 MB / 0.6387 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.004211/0.7208, allocations: 1.457 MB / 0.8143 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.7209, allocations: 15.97 kB / 0.8144 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.7222, allocations: 171.3 kB / 0.8145 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.7232, allocations: 0.5143 MB / 0.815 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.7233, allocations: 71.02 kB / 0.8151 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.7235, allocations: 71.92 kB / 0.8152 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.7255, allocations: 0.8116 MB / 0.8159 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.7255, allocations: 0 / 0.8159 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.7256, allocations: 28 kB / 0.816 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.7256, allocations: 12 kB / 0.816 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.7277, allocations: 0.6969 MB / 0.8167 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005791/0.7334, allocations: 3.567 MB / 0.8202 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.7355, allocations: 0.6618 MB / 0.8208 GB, free: 48 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009653/0.7364, allocations: 317.9 kB / 0.8211 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.7375, allocations: 0.4899 MB / 0.8216 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/0.7387, allocations: 0.5129 MB / 0.8221 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 4.218e-06/0.7387, allocations: 0 / 0.8221 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.004029/0.7428, allocations: 1.339 MB / 0.8234 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/0.7429, allocations: 89.05 kB / 0.8235 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/0.7438, allocations: 0.5225 MB / 0.824 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.614e-05/0.7438, allocations: 41.7 kB / 0.824 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.7441, allocations: 325.1 kB / 0.8243 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000265/0.7444, allocations: 245.9 kB / 0.8246 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.7448, allocations: 170.6 kB / 0.8247 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.745, allocations: 378.8 kB / 0.8251 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008927/0.7458, allocations: 289.8 kB / 0.8254 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009697/0.7468, allocations: 402.2 kB / 0.8258 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.7487, allocations: 0.7466 MB / 0.8265 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.7487, allocations: 4 kB / 0.8265 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002657/0.7514, allocations: 1.003 MB / 0.8275 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.7514, allocations: 59.62 kB / 0.8275 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/0.7515, allocations: 15.98 kB / 0.8275 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/0.7519, allocations: 85.64 kB / 0.8276 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007812/0.7527, allocations: 187.7 kB / 0.8278 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/0.7557, allocations: 3.07 MB / 0.8308 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008097/0.7565, allocations: 103.5 kB / 0.8309 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.7567, allocations: 83.92 kB / 0.831 GB, free: 5.008 MB / 0.6544 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.0004266/0.7571, allocations: 193.7 kB / 0.8312 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.7573, allocations: 71.53 kB / 0.8312 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.7615, allocations: 1.772 MB / 0.833 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.7615, allocations: 4 kB / 0.833 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.7615, allocations: 4 kB / 0.833 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.7615, allocations: 11.92 kB / 0.833 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/0.7658, allocations: 1.904 MB / 0.8348 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/0.7659, allocations: 16.02 kB / 0.8349 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/0.7666, allocations: 171.8 kB / 0.835 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/0.7669, allocations: 85.62 kB / 0.8351 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.767, allocations: 43.97 kB / 0.8351 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002789/0.7698, allocations: 3.066 MB / 0.8381 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.7698, allocations: 4.094 kB / 0.8381 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/0.7735, allocations: 1.452 MB / 0.8396 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.7739, allocations: 236.4 kB / 0.8398 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.7741, allocations: 20 kB / 0.8398 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/0.7748, allocations: 63.86 kB / 0.8399 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/0.7751, allocations: 111.8 kB / 0.84 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.7753, allocations: 79.97 kB / 0.84 GB, free: 11.29 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005714/0.7759, allocations: 370.8 kB / 0.8404 GB, free: 10.93 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7759, allocations: 0 / 0.8404 GB, free: 10.93 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001324/0.7772, allocations: 347.3 kB / 0.8407 GB, free: 10.59 MB / 0.67 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 (66): * Single equations (assignments): 56 * 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.00113/0.7783, allocations: 432 kB / 0.8411 GB, free: 10.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003056/0.7814, allocations: 1.182 MB / 0.8423 GB, free: 8.914 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.7814, allocations: 448 / 0.8423 GB, free: 8.914 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.783, allocations: 0.7614 MB / 0.843 GB, free: 8.102 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.7845, allocations: 254.1 kB / 0.8433 GB, free: 7.859 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.7885, allocations: 1.677 MB / 0.8449 GB, free: 6.133 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/0.7891, allocations: 0.9234 MB / 0.8458 GB, free: 5.184 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001915/0.791, allocations: 0.9823 MB / 0.8468 GB, free: 4.207 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/0.7916, allocations: 167.3 kB / 0.8469 GB, free: 4.047 MB / 0.67 GB Notification: Performance of SimCode: time 1.623e-06/0.7916, allocations: 0 / 0.8469 GB, free: 4.047 MB / 0.67 GB Notification: Performance of Templates: time 0.03491/0.8265, allocations: 18.29 MB / 0.8648 GB, free: 1.914 MB / 0.6856 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.01012740842998]