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.001924/0.001924, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.002406/0.002406, allocations: 221.4 kB / 22.26 MB, free: 5.215 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.759/0.759, allocations: 94.55 MB / 407 MB, free: 9.184 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: 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.002641/0.002641, allocations: 97.77 kB / 0.5554 GB, free: 38.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1174, allocations: 73.05 MB / 0.6268 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.5622/0.6796, allocations: 193.5 MB / 0.8157 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006869/0.6864, allocations: 5.589 MB / 0.8212 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.6876, allocations: 47.78 kB / 0.8212 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.6888, allocations: 422.8 kB / 0.8216 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.6933, allocations: 1.463 MB / 0.823 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.6955, allocations: 0.8439 MB / 0.8239 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005079/0.7006, allocations: 2.77 MB / 0.8266 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.701, allocations: 152.6 kB / 0.8267 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.7049, allocations: 1.982 MB / 0.8286 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.7063, allocations: 0.7213 MB / 0.8294 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.7065, allocations: 74.06 kB / 0.8294 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003444/0.71, allocations: 1.269 MB / 0.8307 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.7103, allocations: 190.2 kB / 0.8308 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007643/0.711, allocations: 494.8 kB / 0.8313 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003673/0.7147, allocations: 1.749 MB / 0.833 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7147, allocations: 0 / 0.833 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7147, allocations: 0 / 0.833 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.408e-05/0.7147, allocations: 0 / 0.833 GB, free: 11.27 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003831/0.7186, allocations: 1.533 MB / 0.8345 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7186, allocations: 10.41 kB / 0.8345 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.7198, allocations: 202 kB / 0.8347 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.7212, allocations: 0.6443 MB / 0.8354 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.7213, allocations: 102 kB / 0.8355 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.7214, allocations: 71.11 kB / 0.8355 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.7231, allocations: 0.8085 MB / 0.8363 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.7231, allocations: 0 / 0.8363 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/0.7232, allocations: 25.38 kB / 0.8363 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.7232, allocations: 18.83 kB / 0.8364 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.725, allocations: 0.7 MB / 0.837 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005389/0.7304, allocations: 3.562 MB / 0.8405 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.7322, allocations: 0.651 MB / 0.8411 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/0.733, allocations: 318.9 kB / 0.8415 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007635/0.7338, allocations: 128.5 kB / 0.8416 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.7349, allocations: 0.5096 MB / 0.8421 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 2.485e-06/0.7349, allocations: 0 / 0.8421 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.003553/0.7385, allocations: 1.208 MB / 0.8433 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.7386, allocations: 92.38 kB / 0.8433 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.7394, allocations: 0.6647 MB / 0.844 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.7395, allocations: 43.08 kB / 0.844 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/0.74, allocations: 402.6 kB / 0.8444 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.7402, allocations: 239.6 kB / 0.8446 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.7405, allocations: 165.7 kB / 0.8448 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.7407, allocations: 338 kB / 0.8451 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008415/0.7415, allocations: 291 kB / 0.8454 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009268/0.7424, allocations: 398.7 kB / 0.8458 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/0.7443, allocations: 0.738 MB / 0.8465 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.7443, allocations: 7.875 kB / 0.8465 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002914/0.7472, allocations: 1.024 MB / 0.8475 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.7473, allocations: 63.28 kB / 0.8476 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/0.7473, allocations: 13.89 kB / 0.8476 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.7478, allocations: 81.69 kB / 0.8477 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/0.7485, allocations: 190.1 kB / 0.8478 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/0.7516, allocations: 2.859 MB / 0.8506 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/0.7524, allocations: 104.4 kB / 0.8507 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.7526, allocations: 80.02 kB / 0.8508 GB, free: 14.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (77): * Single equations (assignments): 69 * 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.0005087/0.7531, allocations: 209.4 kB / 0.851 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.7534, allocations: 91.73 kB / 0.8511 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/0.7576, allocations: 1.804 MB / 0.8529 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.7576, allocations: 11.94 kB / 0.8529 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.7576, allocations: 4 kB / 0.8529 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.7576, allocations: 3.984 kB / 0.8529 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.762, allocations: 1.917 MB / 0.8548 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/0.762, allocations: 8 kB / 0.8548 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.7627, allocations: 167.8 kB / 0.8549 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003256/0.763, allocations: 97.61 kB / 0.855 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.7632, allocations: 43.97 kB / 0.8551 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/0.7661, allocations: 2.857 MB / 0.8578 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7661, allocations: 0 / 0.8578 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.7697, allocations: 1.471 MB / 0.8593 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/0.7703, allocations: 179.1 kB / 0.8595 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.7705, allocations: 16 kB / 0.8595 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/0.7712, allocations: 59.92 kB / 0.8595 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003526/0.7716, allocations: 111.8 kB / 0.8596 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.7717, allocations: 75.97 kB / 0.8597 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007161/0.7724, allocations: 475 kB / 0.8602 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.7724, allocations: 3.938 kB / 0.8602 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001251/0.7737, allocations: 343.3 kB / 0.8605 GB, free: 4.129 MB / 0.6075 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 (66): * Single equations (assignments): 56 * 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.0009365/0.7746, allocations: 420.7 kB / 0.8609 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00292/0.7775, allocations: 1.186 MB / 0.862 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7775, allocations: 0 / 0.862 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.7792, allocations: 0.7694 MB / 0.8628 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.7807, allocations: 258.4 kB / 0.863 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.785, allocations: 1.839 MB / 0.8648 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/0.7858, allocations: 0.9784 MB / 0.8658 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001935/0.7877, allocations: 1.002 MB / 0.8668 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005807/0.7883, allocations: 179.3 kB / 0.8669 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.7883, allocations: 0 / 0.8669 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.03886/0.8272, allocations: 18.83 MB / 0.8853 GB, free: 10.73 MB / 0.6387 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] 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: 6.953784144017845]