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.002072/0.002072, allocations: 81.5 kB / 19.44 MB, free: 344 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.003078/0.003078, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.598/1.598, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.006/1.006, allocations: 118.6 MB / 378.2 MB, free: 1.5 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.883e-06/1.883e-06, allocations: 0 / 482.9 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.911e-05, allocations: 2.312 kB / 482.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.5192/0.5193, allocations: 189.8 MB / 0.6569 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004983/0.5242, allocations: 3.629 MB / 0.6604 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007861/0.525, allocations: 51.31 kB / 0.6605 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.526, allocations: 392.9 kB / 0.6608 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005223/0.5313, allocations: 1.613 MB / 0.6624 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.5343, allocations: 0.864 MB / 0.6633 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006886/0.5411, allocations: 3.066 MB / 0.6663 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.5417, allocations: 146.6 kB / 0.6664 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006887/0.5486, allocations: 2.305 MB / 0.6686 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.5505, allocations: 0.6369 MB / 0.6693 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003216/0.5508, allocations: 72.5 kB / 0.6693 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/0.5558, allocations: 1.061 MB / 0.6704 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.5561, allocations: 202.2 kB / 0.6706 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009422/0.557, allocations: 357.7 kB / 0.6709 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005746/0.5628, allocations: 1.895 MB / 0.6728 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5628, allocations: 0.6875 kB / 0.6728 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5628, allocations: 0.9375 kB / 0.6728 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.29e-05/0.5628, allocations: 0 / 0.6728 GB, free: 11.57 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.00618/0.569, allocations: 1.702 MB / 0.6744 GB, free: 26.64 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.569, allocations: 8.531 kB / 0.6744 GB, free: 26.64 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.5719, allocations: 338.1 kB / 0.6748 GB, free: 26.55 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.5744, allocations: 0.726 MB / 0.6755 GB, free: 26.27 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.5746, allocations: 104.2 kB / 0.6756 GB, free: 26.2 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.5749, allocations: 70.62 kB / 0.6756 GB, free: 26.2 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.5775, allocations: 0.7993 MB / 0.6764 GB, free: 26.06 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.5775, allocations: 4.719 kB / 0.6764 GB, free: 26.06 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.5776, allocations: 25.66 kB / 0.6764 GB, free: 26.06 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.5776, allocations: 16.19 kB / 0.6765 GB, free: 26.06 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.5804, allocations: 0.5881 MB / 0.677 GB, free: 26.05 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008592/0.589, allocations: 3.025 MB / 0.68 GB, free: 24.64 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.5918, allocations: 0.6413 MB / 0.6806 GB, free: 24.57 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.593, allocations: 283.1 kB / 0.6809 GB, free: 24.55 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.5941, allocations: 103.7 kB / 0.681 GB, free: 24.55 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.5956, allocations: 0.4942 MB / 0.6815 GB, free: 24.46 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 4.529e-06/0.5956, allocations: 0 / 0.6815 GB, free: 24.46 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.005177/0.6008, allocations: 1.113 MB / 0.6825 GB, free: 24.33 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.6009, allocations: 83.39 kB / 0.6826 GB, free: 24.24 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.6024, allocations: 0.8235 MB / 0.6834 GB, free: 24.04 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.6025, allocations: 39.67 kB / 0.6835 GB, free: 24.01 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/0.603, allocations: 499.8 kB / 0.6839 GB, free: 23.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.6033, allocations: 259.8 kB / 0.6842 GB, free: 23.64 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004375/0.6037, allocations: 190.7 kB / 0.6844 GB, free: 23.61 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0004413/0.6042, allocations: 0.5145 MB / 0.6849 GB, free: 23.13 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.6054, allocations: 310.4 kB / 0.6852 GB, free: 23.06 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.6067, allocations: 452 kB / 0.6856 GB, free: 22.86 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.609, allocations: 0.7023 MB / 0.6863 GB, free: 22.66 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.609, allocations: 0 / 0.6863 GB, free: 22.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00371/0.6127, allocations: 1.044 MB / 0.6873 GB, free: 22.41 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.916e-05/0.6128, allocations: 64.41 kB / 0.6874 GB, free: 22.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-05/0.6128, allocations: 15.25 kB / 0.6874 GB, free: 22.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007656/0.6136, allocations: 108.1 kB / 0.6875 GB, free: 22.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.6148, allocations: 175 kB / 0.6877 GB, free: 22.31 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00515/0.6199, allocations: 3.848 MB / 0.6914 GB, free: 18.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6212, allocations: 89.91 kB / 0.6915 GB, free: 18.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.6214, allocations: 81.84 kB / 0.6916 GB, free: 18.82 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.0007697/0.6222, allocations: 250.2 kB / 0.6918 GB, free: 18.66 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/0.6225, allocations: 119 kB / 0.6919 GB, free: 18.61 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005616/0.6281, allocations: 1.69 MB / 0.6936 GB, free: 18.46 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.6281, allocations: 6.625 kB / 0.6936 GB, free: 18.46 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.6281, allocations: 6.047 kB / 0.6936 GB, free: 18.46 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.6281, allocations: 4 kB / 0.6936 GB, free: 18.46 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005396/0.6335, allocations: 1.847 MB / 0.6954 GB, free: 17.95 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/0.6336, allocations: 9.125 kB / 0.6954 GB, free: 17.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009629/0.6345, allocations: 145.9 kB / 0.6955 GB, free: 17.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006405/0.6352, allocations: 103.2 kB / 0.6956 GB, free: 17.93 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.6353, allocations: 38.64 kB / 0.6957 GB, free: 17.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004805/0.6401, allocations: 3.864 MB / 0.6995 GB, free: 14.46 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6401, allocations: 6.25 kB / 0.6995 GB, free: 14.46 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004845/0.6449, allocations: 1.449 MB / 0.7009 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000706/0.6457, allocations: 169.7 kB / 0.701 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.6459, allocations: 13.75 kB / 0.701 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.6469, allocations: 39.69 kB / 0.7011 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004247/0.6473, allocations: 124.9 kB / 0.7012 GB, free: 13.95 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/0.6475, allocations: 74.66 kB / 0.7013 GB, free: 13.95 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001083/0.6486, allocations: 0.522 MB / 0.7018 GB, free: 13.82 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6486, allocations: 0 / 0.7018 GB, free: 13.82 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001873/0.6505, allocations: 355.7 kB / 0.7021 GB, free: 13.77 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.001072/0.6515, allocations: 408.3 kB / 0.7025 GB, free: 13.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003834/0.6554, allocations: 1.305 MB / 0.7038 GB, free: 12.98 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6554, allocations: 3.625 kB / 0.7038 GB, free: 12.98 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/0.6574, allocations: 0.8437 MB / 0.7046 GB, free: 12.49 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/0.6609, allocations: 402.8 kB / 0.705 GB, free: 12.44 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.6652, allocations: 1.617 MB / 0.7066 GB, free: 11.61 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.6657, allocations: 397 kB / 0.707 GB, free: 11.49 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002661/0.6683, allocations: 0.9919 MB / 0.7079 GB, free: 11.35 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005717/0.6689, allocations: 183.8 kB / 0.7081 GB, free: 11.33 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/0.6689, allocations: 7.062 kB / 0.7081 GB, free: 11.32 MB / 0.573 GB Notification: Performance of Templates: time 0.02887/0.6978, allocations: 20.29 MB / 0.7279 GB, free: 4.438 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] 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.280275060911663]