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.002005/0.002005, allocations: 88.72 kB / 19.44 MB, free: 356 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.002755/0.002755, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.685/1.685, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.103/1.103, allocations: 118.6 MB / 378.2 MB, free: 1.441 MB / 346.7 MB " [Timeout remaining time 178] Using package ThermofluidStream with version 1.4.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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 482.9 MB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.022e-05, allocations: 9.328 kB / 482.9 MB, free: 8.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.2444/0.2444, allocations: 168.8 MB / 0.6364 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00614/0.2506, allocations: 2.979 MB / 0.6393 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006534/0.2512, allocations: 51.5 kB / 0.6393 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.2523, allocations: 361.2 kB / 0.6397 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004273/0.2566, allocations: 1.452 MB / 0.6411 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.259, allocations: 0.7082 MB / 0.6418 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.3125/0.5715, allocations: 2.737 MB / 0.6445 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004817/0.572, allocations: 129.4 kB / 0.6446 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004485/0.5765, allocations: 2.013 MB / 0.6466 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009802/0.5775, allocations: 0.5284 MB / 0.6471 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.5776, allocations: 56.12 kB / 0.6471 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.5801, allocations: 1.003 MB / 0.6481 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.5802, allocations: 160.4 kB / 0.6483 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.5807, allocations: 292.8 kB / 0.6485 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.5833, allocations: 1.647 MB / 0.6501 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5833, allocations: 0.9062 kB / 0.6502 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5833, allocations: 0 / 0.6502 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.5833, allocations: 1 kB / 0.6502 GB, free: 12.84 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002681/0.586, allocations: 1.395 MB / 0.6515 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.586, allocations: 8.719 kB / 0.6515 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.5872, allocations: 279.6 kB / 0.6518 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5884, allocations: 0.6917 MB / 0.6525 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.5884, allocations: 37.47 kB / 0.6525 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.5885, allocations: 57.34 kB / 0.6526 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.5896, allocations: 0.5988 MB / 0.6531 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.5896, allocations: 3.188 kB / 0.6531 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/0.5897, allocations: 19.75 kB / 0.6532 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.5897, allocations: 12.31 kB / 0.6532 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.5907, allocations: 461.5 kB / 0.6536 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.5943, allocations: 1.927 MB / 0.6555 GB, free: 26.87 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.5953, allocations: 454.2 kB / 0.6559 GB, free: 26.82 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004918/0.5958, allocations: 211.1 kB / 0.6561 GB, free: 26.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.596, allocations: 41.66 kB / 0.6562 GB, free: 26.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007096/0.5967, allocations: 383.7 kB / 0.6565 GB, free: 26.73 MB / 0.573 GB Notification: Performance of pre-optimization done (n=54): time 2.244e-06/0.5967, allocations: 0 / 0.6565 GB, free: 26.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=54): time 0.002501/0.5992, allocations: 0.8942 MB / 0.6574 GB, free: 26.62 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.5993, allocations: 86.64 kB / 0.6575 GB, free: 26.53 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/0.6, allocations: 0.6482 MB / 0.6581 GB, free: 26.39 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.851e-05/0.6001, allocations: 41.89 kB / 0.6582 GB, free: 26.36 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.6003, allocations: 382.3 kB / 0.6585 GB, free: 26.21 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.6005, allocations: 196.4 kB / 0.6587 GB, free: 26.09 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.6007, allocations: 132.5 kB / 0.6588 GB, free: 26.07 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.6009, allocations: 334.2 kB / 0.6592 GB, free: 25.77 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/0.6014, allocations: 248.3 kB / 0.6594 GB, free: 25.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/0.602, allocations: 329.7 kB / 0.6597 GB, free: 25.57 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.6031, allocations: 0.512 MB / 0.6602 GB, free: 25.44 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6031, allocations: 0 / 0.6602 GB, free: 25.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002049/0.6051, allocations: 0.8548 MB / 0.661 GB, free: 25.21 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.423e-05/0.6052, allocations: 60.41 kB / 0.6611 GB, free: 25.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.116e-05/0.6052, allocations: 16.61 kB / 0.6611 GB, free: 25.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/0.6059, allocations: 100.7 kB / 0.6612 GB, free: 25.13 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/0.6064, allocations: 128.1 kB / 0.6613 GB, free: 25.13 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.6093, allocations: 2.797 MB / 0.6641 GB, free: 22.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/0.6101, allocations: 60.44 kB / 0.6641 GB, free: 22.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.6102, allocations: 64.84 kB / 0.6642 GB, free: 22.73 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (62): * Single equations (assignments): 54 * 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.0004816/0.6107, allocations: 204.2 kB / 0.6644 GB, free: 22.61 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.6109, allocations: 106.4 kB / 0.6645 GB, free: 22.56 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/0.614, allocations: 1.269 MB / 0.6657 GB, free: 22.47 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.614, allocations: 6.969 kB / 0.6657 GB, free: 22.47 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.614, allocations: 3.281 kB / 0.6657 GB, free: 22.47 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.614, allocations: 8.047 kB / 0.6657 GB, free: 22.46 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.6171, allocations: 1.385 MB / 0.6671 GB, free: 22.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-05/0.6171, allocations: 13.55 kB / 0.6671 GB, free: 22.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.6177, allocations: 112.8 kB / 0.6672 GB, free: 22.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004808/0.6181, allocations: 106.3 kB / 0.6673 GB, free: 22.07 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.19e-05/0.6182, allocations: 34.03 kB / 0.6673 GB, free: 22.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/0.6214, allocations: 2.798 MB / 0.6701 GB, free: 19.69 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6214, allocations: 1.844 kB / 0.6701 GB, free: 19.69 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.6239, allocations: 1.12 MB / 0.6712 GB, free: 19.38 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.6244, allocations: 153.5 kB / 0.6713 GB, free: 19.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.6246, allocations: 15.91 kB / 0.6713 GB, free: 19.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005838/0.6251, allocations: 32.7 kB / 0.6714 GB, free: 19.32 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.6254, allocations: 89.09 kB / 0.6715 GB, free: 19.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.6255, allocations: 65.77 kB / 0.6715 GB, free: 19.32 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000728/0.6262, allocations: 453.9 kB / 0.672 GB, free: 19.23 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.6262, allocations: 0 / 0.672 GB, free: 19.23 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001306/0.6275, allocations: 302 kB / 0.6722 GB, free: 19.2 MB / 0.573 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.001027/0.6286, allocations: 400.2 kB / 0.6726 GB, free: 19.08 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002295/0.6309, allocations: 1.006 MB / 0.6736 GB, free: 18.53 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.6309, allocations: 5.125 kB / 0.6736 GB, free: 18.53 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.6321, allocations: 0.6277 MB / 0.6742 GB, free: 18.18 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.6339, allocations: 342 kB / 0.6745 GB, free: 18.14 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.6368, allocations: 1.438 MB / 0.676 GB, free: 17.47 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.6373, allocations: 363.7 kB / 0.6763 GB, free: 17.37 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00127/0.6386, allocations: 0.6736 MB / 0.677 GB, free: 17.32 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/0.6389, allocations: 141.6 kB / 0.6771 GB, free: 17.31 MB / 0.573 GB Notification: Performance of SimCode: time 1.262e-06/0.6389, allocations: 1.031 kB / 0.6771 GB, free: 17.31 MB / 0.573 GB Notification: Performance of Templates: time 0.02872/0.6677, allocations: 17.96 MB / 0.6946 GB, free: 15.21 MB / 0.573 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: 7.753898910945281]