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.001846/0.001846, allocations: 92.7 kB / 19.44 MB, free: 320 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.002425/0.002425, allocations: 161.3 kB / 22.76 MB, free: 1.652 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.506/1.506, 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.031/1.031, allocations: 118.6 MB / 378.2 MB, free: 1.453 MB / 346.7 MB " [Timeout remaining time 179] 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 1.974e-06/1.974e-06, allocations: 0 / 482.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.187e-05, allocations: 7.109 kB / 482.9 MB, free: 8.305 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.2487/0.2487, allocations: 169.8 MB / 0.6374 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006536/0.2553, allocations: 3.338 MB / 0.6406 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007996/0.2561, allocations: 55.5 kB / 0.6407 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.2573, allocations: 400.9 kB / 0.6411 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004905/0.2622, allocations: 1.604 MB / 0.6426 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.2653, allocations: 0.8639 MB / 0.6435 GB, free: 416 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.2613/0.5266, allocations: 3.046 MB / 0.6464 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004496/0.527, allocations: 143.5 kB / 0.6466 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004917/0.5319, allocations: 2.314 MB / 0.6488 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.5331, allocations: 0.6277 MB / 0.6495 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.5333, allocations: 74.36 kB / 0.6495 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.5357, allocations: 1.067 MB / 0.6506 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.5359, allocations: 201.8 kB / 0.6508 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005489/0.5365, allocations: 358.7 kB / 0.6511 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.5395, allocations: 1.886 MB / 0.6529 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5395, allocations: 0 / 0.6529 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5395, allocations: 0.9375 kB / 0.6529 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.5395, allocations: 0 / 0.6529 GB, free: 12.38 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.003882/0.5434, allocations: 1.569 MB / 0.6545 GB, free: 27.57 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5434, allocations: 10.69 kB / 0.6545 GB, free: 27.57 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.5449, allocations: 352.2 kB / 0.6548 GB, free: 27.47 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.5463, allocations: 0.7131 MB / 0.6555 GB, free: 27.21 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.5464, allocations: 101.1 kB / 0.6556 GB, free: 27.15 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.5465, allocations: 66.56 kB / 0.6557 GB, free: 27.15 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.5481, allocations: 0.8038 MB / 0.6565 GB, free: 27.05 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.5481, allocations: 7.094 kB / 0.6565 GB, free: 27.05 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.778e-05/0.5482, allocations: 26.16 kB / 0.6565 GB, free: 27.05 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.5482, allocations: 18.47 kB / 0.6565 GB, free: 27.05 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.5499, allocations: 0.6863 MB / 0.6572 GB, free: 27.04 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004408/0.5543, allocations: 2.518 MB / 0.6596 GB, free: 26.05 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.5563, allocations: 0.6586 MB / 0.6603 GB, free: 26 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009057/0.5572, allocations: 314.6 kB / 0.6606 GB, free: 25.99 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008075/0.558, allocations: 120.5 kB / 0.6607 GB, free: 25.99 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/0.5592, allocations: 0.5028 MB / 0.6612 GB, free: 25.92 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 2.856e-06/0.5592, allocations: 3.906 kB / 0.6612 GB, free: 25.92 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.003946/0.5632, allocations: 1.208 MB / 0.6624 GB, free: 25.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.5633, allocations: 90.52 kB / 0.6625 GB, free: 25.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009207/0.5642, allocations: 0.6711 MB / 0.6631 GB, free: 25.56 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.295e-05/0.5643, allocations: 39.48 kB / 0.6632 GB, free: 25.53 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.5646, allocations: 421 kB / 0.6636 GB, free: 25.36 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.5648, allocations: 246 kB / 0.6638 GB, free: 25.21 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.5652, allocations: 172.7 kB / 0.664 GB, free: 25.19 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.5654, allocations: 335.4 kB / 0.6643 GB, free: 24.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009547/0.5663, allocations: 342.3 kB / 0.6646 GB, free: 24.82 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.5673, allocations: 457.2 kB / 0.665 GB, free: 24.66 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.5692, allocations: 0.7209 MB / 0.6657 GB, free: 24.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.5692, allocations: 2.828 kB / 0.6657 GB, free: 24.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002903/0.5721, allocations: 1.105 MB / 0.6668 GB, free: 24.26 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.102e-05/0.5722, allocations: 62.06 kB / 0.6669 GB, free: 24.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/0.5722, allocations: 12.62 kB / 0.6669 GB, free: 24.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/0.5727, allocations: 95.94 kB / 0.667 GB, free: 24.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/0.5735, allocations: 186.8 kB / 0.6672 GB, free: 24.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.5764, allocations: 2.805 MB / 0.6699 GB, free: 21.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/0.5773, allocations: 94.2 kB / 0.67 GB, free: 21.78 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.5774, allocations: 83.78 kB / 0.6701 GB, free: 21.78 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.0004992/0.5779, allocations: 215 kB / 0.6703 GB, free: 21.66 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.5782, allocations: 115.3 kB / 0.6704 GB, free: 21.61 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/0.5822, allocations: 1.749 MB / 0.6721 GB, free: 21.48 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.5822, allocations: 7.688 kB / 0.6721 GB, free: 21.48 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.5822, allocations: 6.469 kB / 0.6721 GB, free: 21.48 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.5822, allocations: 7.141 kB / 0.6721 GB, free: 21.48 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/0.5861, allocations: 1.682 MB / 0.6738 GB, free: 21.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/0.5861, allocations: 11.19 kB / 0.6738 GB, free: 21.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.5868, allocations: 162.4 kB / 0.6739 GB, free: 21.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004023/0.5872, allocations: 106 kB / 0.674 GB, free: 21.08 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.5872, allocations: 45.45 kB / 0.6741 GB, free: 21.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.5899, allocations: 2.804 MB / 0.6768 GB, free: 18.69 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5899, allocations: 4.125 kB / 0.6768 GB, free: 18.69 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.5932, allocations: 1.447 MB / 0.6782 GB, free: 18.36 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.5936, allocations: 173.1 kB / 0.6784 GB, free: 18.29 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.5937, allocations: 15.62 kB / 0.6784 GB, free: 18.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.5944, allocations: 60.83 kB / 0.6785 GB, free: 18.29 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.5946, allocations: 101.5 kB / 0.6786 GB, free: 18.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.5948, allocations: 78.66 kB / 0.6786 GB, free: 18.29 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005406/0.5953, allocations: 470.3 kB / 0.6791 GB, free: 18.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5953, allocations: 0 / 0.6791 GB, free: 18.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001136/0.5964, allocations: 354.2 kB / 0.6794 GB, free: 18.16 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.0007209/0.5972, allocations: 397.7 kB / 0.6798 GB, free: 18.05 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.6001, allocations: 1.223 MB / 0.681 GB, free: 17.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6001, allocations: 0 / 0.681 GB, free: 17.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.6015, allocations: 0.7499 MB / 0.6817 GB, free: 17.14 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.6032, allocations: 398.4 kB / 0.6821 GB, free: 17.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.6061, allocations: 1.615 MB / 0.6837 GB, free: 16.36 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.6064, allocations: 397.2 kB / 0.6841 GB, free: 16.25 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001645/0.6081, allocations: 0.9881 MB / 0.685 GB, free: 16.12 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.6086, allocations: 188.9 kB / 0.6852 GB, free: 16.09 MB / 0.573 GB Notification: Performance of SimCode: time 1.442e-06/0.6086, allocations: 0 / 0.6852 GB, free: 16.09 MB / 0.573 GB Notification: Performance of Templates: time 0.03102/0.6396, allocations: 20.24 MB / 0.705 GB, free: 11.61 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] 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.124767358996905]