Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.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.001726/0.001726, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001976/0.001976, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7647/0.7647, allocations: 100.9 MB / 413.3 MB, free: 2.848 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.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.002529/0.002529, allocations: 87.12 kB / 0.5646 GB, free: 35.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1301, allocations: 74.61 MB / 0.6374 GB, free: 5.961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5504/0.6805, allocations: 164.4 MB / 0.798 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007333/0.6878, allocations: 6.723 MB / 0.8045 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.689, allocations: 52.47 kB / 0.8046 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.6903, allocations: 337.1 kB / 0.8049 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.6945, allocations: 1.323 MB / 0.8062 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.6963, allocations: 0.6808 MB / 0.8069 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003404/0.6997, allocations: 2.495 MB / 0.8093 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.7, allocations: 126.5 kB / 0.8094 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.7027, allocations: 1.744 MB / 0.8111 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007651/0.7035, allocations: 0.5697 MB / 0.8117 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.7036, allocations: 57.47 kB / 0.8117 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.7057, allocations: 0.9958 MB / 0.8127 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.7058, allocations: 155.4 kB / 0.8129 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.7061, allocations: 328.2 kB / 0.8132 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.7081, allocations: 1.494 MB / 0.8146 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7081, allocations: 2.531 kB / 0.8146 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7081, allocations: 0.9688 kB / 0.8146 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.7082, allocations: 0 / 0.8146 GB, free: 1.797 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002542/0.7107, allocations: 1.33 MB / 0.8159 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.7107, allocations: 14.31 kB / 0.8159 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009595/0.7117, allocations: 168.7 kB / 0.8161 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.7127, allocations: 0.5987 MB / 0.8167 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.7128, allocations: 34.03 kB / 0.8167 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.7129, allocations: 64.56 kB / 0.8168 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.7139, allocations: 0.5848 MB / 0.8173 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.7139, allocations: 0 / 0.8173 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.714, allocations: 21.16 kB / 0.8174 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.714, allocations: 11.31 kB / 0.8174 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009377/0.7149, allocations: 451.6 kB / 0.8178 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.7177, allocations: 1.716 MB / 0.8195 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000996/0.7187, allocations: 458.5 kB / 0.8199 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004595/0.7192, allocations: 216.4 kB / 0.8201 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.7194, allocations: 34.69 kB / 0.8202 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006971/0.7201, allocations: 387.5 kB / 0.8205 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=54): time 2.244e-06/0.7201, allocations: 0 / 0.8205 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54): time 0.002372/0.7224, allocations: 0.8708 MB / 0.8214 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.7225, allocations: 97.88 kB / 0.8215 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/0.7233, allocations: 0.5872 MB / 0.8221 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.686e-05/0.7234, allocations: 37.05 kB / 0.8221 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.7237, allocations: 355.7 kB / 0.8224 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.7239, allocations: 190 kB / 0.8226 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.7241, allocations: 132.9 kB / 0.8227 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.7243, allocations: 324.7 kB / 0.823 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.7248, allocations: 247.8 kB / 0.8233 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.7254, allocations: 316.4 kB / 0.8236 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009926/0.7264, allocations: 0.4996 MB / 0.8241 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7264, allocations: 7.469 kB / 0.8241 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001575/0.728, allocations: 0.8116 MB / 0.8249 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/0.728, allocations: 70.02 kB / 0.8249 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/0.7281, allocations: 14.36 kB / 0.8249 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.7284, allocations: 86.09 kB / 0.825 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.7289, allocations: 122.6 kB / 0.8251 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.7315, allocations: 2.791 MB / 0.8279 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/0.7322, allocations: 64.45 kB / 0.8279 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.7324, allocations: 64.02 kB / 0.828 GB, free: 9.539 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 52 * 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.0004091/0.7328, allocations: 195 kB / 0.8282 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.733, allocations: 79.14 kB / 0.8283 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.7355, allocations: 1.27 MB / 0.8295 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.7355, allocations: 8.656 kB / 0.8295 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.7355, allocations: 3.812 kB / 0.8295 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.7355, allocations: 7.125 kB / 0.8295 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.7381, allocations: 1.368 MB / 0.8309 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/0.7381, allocations: 15.84 kB / 0.8309 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.7385, allocations: 110.1 kB / 0.831 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.7388, allocations: 90.14 kB / 0.8311 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/0.7388, allocations: 33.81 kB / 0.8311 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.7413, allocations: 2.797 MB / 0.8338 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.7413, allocations: 11.52 kB / 0.8338 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.7434, allocations: 1.109 MB / 0.8349 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.7438, allocations: 140.4 kB / 0.835 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.7439, allocations: 19.66 kB / 0.8351 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.7443, allocations: 37.17 kB / 0.8351 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.7445, allocations: 93.95 kB / 0.8352 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-05/0.7446, allocations: 55.77 kB / 0.8352 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005243/0.7452, allocations: 416.9 kB / 0.8356 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7452, allocations: 4 kB / 0.8356 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009905/0.7461, allocations: 285.1 kB / 0.8359 GB, free: 4.453 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 42 * 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.0008031/0.7469, allocations: 383.9 kB / 0.8363 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.7489, allocations: 0.9974 MB / 0.8373 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7489, allocations: 0 / 0.8373 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.7501, allocations: 0.6344 MB / 0.8379 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.7514, allocations: 217 kB / 0.8381 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.7548, allocations: 1.565 MB / 0.8396 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.7552, allocations: 333.8 kB / 0.8399 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001189/0.7564, allocations: 0.669 MB / 0.8406 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/0.7568, allocations: 133 kB / 0.8407 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/0.7568, allocations: 0 / 0.8407 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of Templates: time 0.02921/0.786, allocations: 16.8 MB / 0.8571 GB, free: 4.227 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.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.540501341223717]