Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.002314/0.002314, allocations: 93.47 kB / 19.44 MB, free: 332 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.002736/0.002736, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.179/1.179, allocations: 118.6 MB / 378.2 MB, free: 1.453 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.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_dev_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_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 482.9 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.914e-05, allocations: 2.312 kB / 482.9 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.5151/0.5151, allocations: 189.8 MB / 0.6569 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005245/0.5204, allocations: 3.631 MB / 0.6604 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000774/0.5212, allocations: 53.28 kB / 0.6605 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009968/0.5221, allocations: 393.9 kB / 0.6608 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005172/0.5273, allocations: 1.612 MB / 0.6624 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.5296, allocations: 0.864 MB / 0.6633 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00489/0.5345, allocations: 3.061 MB / 0.6663 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.5348, allocations: 147.5 kB / 0.6664 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00454/0.5394, allocations: 2.306 MB / 0.6686 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.5405, allocations: 0.6444 MB / 0.6693 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.5406, allocations: 72.62 kB / 0.6693 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.5432, allocations: 1.054 MB / 0.6704 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.5434, allocations: 205.7 kB / 0.6706 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005085/0.5439, allocations: 359.9 kB / 0.6709 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.547, allocations: 1.881 MB / 0.6727 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.547, allocations: 0.9062 kB / 0.6728 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.714e-06/0.547, allocations: 0 / 0.6728 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.547, allocations: 0.8438 kB / 0.6728 GB, free: 11.7 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.00378/0.5508, allocations: 1.709 MB / 0.6744 GB, free: 26.77 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.5509, allocations: 8.594 kB / 0.6744 GB, free: 26.77 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.5523, allocations: 337.5 kB / 0.6748 GB, free: 26.67 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.5537, allocations: 0.7267 MB / 0.6755 GB, free: 26.39 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.5538, allocations: 105.5 kB / 0.6756 GB, free: 26.32 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.554, allocations: 66.52 kB / 0.6756 GB, free: 26.32 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.5555, allocations: 0.8087 MB / 0.6764 GB, free: 26.18 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.5555, allocations: 1.156 kB / 0.6764 GB, free: 26.18 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.12e-05/0.5556, allocations: 27.08 kB / 0.6764 GB, free: 26.18 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.5556, allocations: 15.34 kB / 0.6765 GB, free: 26.18 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.5572, allocations: 0.5877 MB / 0.677 GB, free: 26.17 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004967/0.5621, allocations: 3.022 MB / 0.68 GB, free: 24.77 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.5638, allocations: 0.6426 MB / 0.6806 GB, free: 24.69 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/0.5645, allocations: 285.3 kB / 0.6809 GB, free: 24.67 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006871/0.5652, allocations: 102.5 kB / 0.681 GB, free: 24.67 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009287/0.5661, allocations: 0.4965 MB / 0.6815 GB, free: 24.58 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 2.564e-06/0.5661, allocations: 0 / 0.6815 GB, free: 24.58 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.002931/0.569, allocations: 1.11 MB / 0.6825 GB, free: 24.45 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.5691, allocations: 90.61 kB / 0.6826 GB, free: 24.36 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/0.5699, allocations: 0.8179 MB / 0.6834 GB, free: 24.16 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.042e-05/0.57, allocations: 40.05 kB / 0.6835 GB, free: 24.13 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.5703, allocations: 497.1 kB / 0.6839 GB, free: 23.91 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.5704, allocations: 262.5 kB / 0.6842 GB, free: 23.75 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.5707, allocations: 188.3 kB / 0.6844 GB, free: 23.73 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003141/0.5711, allocations: 0.5168 MB / 0.6849 GB, free: 23.25 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.5717, allocations: 300.7 kB / 0.6852 GB, free: 23.18 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006942/0.5724, allocations: 460.7 kB / 0.6856 GB, free: 22.98 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.5737, allocations: 0.7018 MB / 0.6863 GB, free: 22.78 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.5737, allocations: 0 / 0.6863 GB, free: 22.78 MB / 0.573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002026/0.5757, allocations: 1.046 MB / 0.6873 GB, free: 22.52 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.586e-05/0.5758, allocations: 64.69 kB / 0.6874 GB, free: 22.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.5758, allocations: 12.12 kB / 0.6874 GB, free: 22.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004436/0.5763, allocations: 103.2 kB / 0.6875 GB, free: 22.44 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.5769, allocations: 179.9 kB / 0.6877 GB, free: 22.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.58, allocations: 3.847 MB / 0.6914 GB, free: 18.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.5807, allocations: 89.03 kB / 0.6915 GB, free: 18.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.5808, allocations: 81.17 kB / 0.6916 GB, free: 18.94 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.0004317/0.5813, allocations: 248.5 kB / 0.6918 GB, free: 18.78 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.5815, allocations: 129.2 kB / 0.6919 GB, free: 18.73 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.5846, allocations: 1.685 MB / 0.6936 GB, free: 18.59 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.5846, allocations: 6.531 kB / 0.6936 GB, free: 18.59 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5846, allocations: 4.969 kB / 0.6936 GB, free: 18.59 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.5846, allocations: 5.844 kB / 0.6936 GB, free: 18.59 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.5878, allocations: 1.848 MB / 0.6954 GB, free: 18.07 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/0.5878, allocations: 13.58 kB / 0.6954 GB, free: 18.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.5884, allocations: 138.6 kB / 0.6955 GB, free: 18.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003957/0.5888, allocations: 106.1 kB / 0.6956 GB, free: 18.05 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/0.5889, allocations: 47.02 kB / 0.6957 GB, free: 18.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.5923, allocations: 3.86 MB / 0.6995 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5923, allocations: 0 / 0.6995 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.595, allocations: 1.446 MB / 0.7009 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/0.5955, allocations: 164.9 kB / 0.701 GB, free: 14.08 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.5956, allocations: 25.34 kB / 0.7011 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.5962, allocations: 37.3 kB / 0.7011 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/0.5964, allocations: 123.2 kB / 0.7012 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.5966, allocations: 73.22 kB / 0.7013 GB, free: 14.07 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006463/0.5972, allocations: 0.5237 MB / 0.7018 GB, free: 13.94 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.5972, allocations: 3.938 kB / 0.7018 GB, free: 13.93 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00119/0.5984, allocations: 356.4 kB / 0.7021 GB, free: 13.89 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.0008005/0.5992, allocations: 405.8 kB / 0.7025 GB, free: 13.77 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.6015, allocations: 1.299 MB / 0.7038 GB, free: 13.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6015, allocations: 3.5 kB / 0.7038 GB, free: 13.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.6027, allocations: 0.8482 MB / 0.7046 GB, free: 12.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.6046, allocations: 394.2 kB / 0.705 GB, free: 12.56 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.6073, allocations: 1.615 MB / 0.7066 GB, free: 11.74 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.6076, allocations: 394.4 kB / 0.7069 GB, free: 11.62 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001619/0.6092, allocations: 0.9891 MB / 0.7079 GB, free: 11.48 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/0.6097, allocations: 183 kB / 0.7081 GB, free: 11.46 MB / 0.573 GB Notification: Performance of SimCode: time 1.272e-06/0.6097, allocations: 0 / 0.7081 GB, free: 11.46 MB / 0.573 GB Notification: Performance of Templates: time 0.02955/0.6393, allocations: 20.32 MB / 0.7279 GB, free: 4.57 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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_dev_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.407408401952125]