Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001888/0.001888, allocations: 79.34 kB / 19.76 MB, free: 2.035 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.001678/0.001678, allocations: 156.6 kB / 23.01 MB, free: 4.941 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.537/1.537, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.8029/0.8029, allocations: 74.91 MB / 334.7 MB, free: 15.52 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.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_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_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.002573/0.002573, allocations: 85.03 kB / 496.4 MB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1509, allocations: 73.04 MB / 0.5561 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.6382/0.7891, allocations: 164.4 MB / 0.7166 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008992/0.7981, allocations: 6.724 MB / 0.7232 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009025/0.799, allocations: 45.94 kB / 0.7232 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.8001, allocations: 335.3 kB / 0.7235 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003956/0.804, allocations: 1.327 MB / 0.7248 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.8062, allocations: 0.6758 MB / 0.7255 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004026/0.8102, allocations: 2.506 MB / 0.7279 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.8105, allocations: 134 kB / 0.7281 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.8135, allocations: 1.75 MB / 0.7298 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008874/0.8144, allocations: 0.5692 MB / 0.7303 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.8145, allocations: 58.16 kB / 0.7304 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.817, allocations: 0.9969 MB / 0.7314 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.8171, allocations: 153.6 kB / 0.7315 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.8175, allocations: 337.3 kB / 0.7318 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.8197, allocations: 1.488 MB / 0.7333 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8197, allocations: 3.25 kB / 0.7333 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8197, allocations: 0 / 0.7333 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.8197, allocations: 0 / 0.7333 GB, free: 3.332 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003706/0.8234, allocations: 1.335 MB / 0.7346 GB, free: 18.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.852e-05/0.8235, allocations: 9.625 kB / 0.7346 GB, free: 18.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.8247, allocations: 173.1 kB / 0.7348 GB, free: 18.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.826, allocations: 0.5947 MB / 0.7353 GB, free: 18.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/0.826, allocations: 37.88 kB / 0.7354 GB, free: 18.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.8262, allocations: 54.7 kB / 0.7354 GB, free: 18.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.8274, allocations: 0.5836 MB / 0.736 GB, free: 18.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.8274, allocations: 6.594 kB / 0.736 GB, free: 18.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.8275, allocations: 17.47 kB / 0.736 GB, free: 18.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.8275, allocations: 11.56 kB / 0.736 GB, free: 18.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.8286, allocations: 457.9 kB / 0.7365 GB, free: 18.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.8316, allocations: 1.716 MB / 0.7381 GB, free: 17.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009898/0.8326, allocations: 458.6 kB / 0.7386 GB, free: 17.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.8331, allocations: 211.9 kB / 0.7388 GB, free: 17.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.8333, allocations: 35.88 kB / 0.7388 GB, free: 17.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006874/0.834, allocations: 390.1 kB / 0.7392 GB, free: 17.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=54): time 2.444e-06/0.834, allocations: 0.9375 kB / 0.7392 GB, free: 17.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54): time 0.002279/0.8363, allocations: 0.8681 MB / 0.74 GB, free: 17.35 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.8363, allocations: 91.81 kB / 0.7401 GB, free: 17.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/0.8369, allocations: 0.5848 MB / 0.7407 GB, free: 17.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.837, allocations: 41.44 kB / 0.7407 GB, free: 17.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.8372, allocations: 356.6 kB / 0.7411 GB, free: 16.95 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.8373, allocations: 188.1 kB / 0.7413 GB, free: 16.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.8375, allocations: 134.9 kB / 0.7414 GB, free: 16.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8377, allocations: 333.7 kB / 0.7417 GB, free: 16.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.8382, allocations: 246.6 kB / 0.7419 GB, free: 16.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.8387, allocations: 313.8 kB / 0.7422 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.8398, allocations: 0.5063 MB / 0.7427 GB, free: 16.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8398, allocations: 6.203 kB / 0.7427 GB, free: 16.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001497/0.8413, allocations: 0.8125 MB / 0.7435 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/0.8413, allocations: 66.12 kB / 0.7436 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/0.8414, allocations: 11.62 kB / 0.7436 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/0.8417, allocations: 83.95 kB / 0.7437 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.8422, allocations: 121.4 kB / 0.7438 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.845, allocations: 2.787 MB / 0.7465 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.8456, allocations: 64.53 kB / 0.7466 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.8457, allocations: 66.36 kB / 0.7467 GB, free: 13.47 MB / 0.6075 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.0004524/0.8461, allocations: 198.5 kB / 0.7468 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.8463, allocations: 80.47 kB / 0.7469 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.8489, allocations: 1.268 MB / 0.7482 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.8489, allocations: 12.61 kB / 0.7482 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8489, allocations: 0.875 kB / 0.7482 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.8489, allocations: 2.578 kB / 0.7482 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.8514, allocations: 1.373 MB / 0.7495 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/0.8514, allocations: 19.08 kB / 0.7495 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.8518, allocations: 108.8 kB / 0.7496 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.8521, allocations: 92.91 kB / 0.7497 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.8522, allocations: 34.3 kB / 0.7498 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.8545, allocations: 2.792 MB / 0.7525 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8545, allocations: 1.844 kB / 0.7525 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.8564, allocations: 1.104 MB / 0.7536 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.8567, allocations: 144.4 kB / 0.7537 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.085e-05/0.8568, allocations: 16.31 kB / 0.7537 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.8572, allocations: 33.73 kB / 0.7537 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.8574, allocations: 88.83 kB / 0.7538 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.402e-05/0.8575, allocations: 61.08 kB / 0.7539 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004298/0.8579, allocations: 410.7 kB / 0.7543 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.8579, allocations: 0.75 kB / 0.7543 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009822/0.8589, allocations: 288 kB / 0.7546 GB, free: 9.93 MB / 0.6075 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.0007253/0.8596, allocations: 397.6 kB / 0.7549 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.8613, allocations: 0.9986 MB / 0.7559 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8613, allocations: 0 / 0.7559 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009867/0.8623, allocations: 0.6378 MB / 0.7565 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.8634, allocations: 199.6 kB / 0.7567 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.8661, allocations: 1.575 MB / 0.7583 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.8665, allocations: 334.8 kB / 0.7586 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001105/0.8676, allocations: 0.6705 MB / 0.7592 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.8679, allocations: 128.5 kB / 0.7594 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/0.8679, allocations: 3.938 kB / 0.7594 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of Templates: time 0.02928/0.8972, allocations: 15.81 MB / 0.7748 GB, free: 2.457 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 24.041069873957895]