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.001543/0.001543, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001685/0.001685, allocations: 177 kB / 23.36 MB, free: 1.129 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.013/1.013, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7624/0.7624, allocations: 118.6 MB / 378.9 MB, free: 1.324 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.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.823e-06/1.823e-06, allocations: 0 / 430.8 MB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.607e-05, allocations: 5.547 kB / 430.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.331/0.331, allocations: 145.6 MB / 0.5629 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003444/0.3344, allocations: 2.008 MB / 0.5649 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006089/0.3351, allocations: 55.5 kB / 0.5649 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004443/0.3355, allocations: 173 kB / 0.5651 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.3378, allocations: 0.9965 MB / 0.5661 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.3385, allocations: 347 kB / 0.5664 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002606/0.3412, allocations: 2.469 MB / 0.5688 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.3414, allocations: 150.5 kB / 0.569 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.3432, allocations: 1.634 MB / 0.5706 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.3438, allocations: 0.5026 MB / 0.571 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3439, allocations: 56 kB / 0.5711 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.3451, allocations: 0.6006 MB / 0.5717 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.3453, allocations: 159.2 kB / 0.5718 GB, free: 480 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.3455, allocations: 295.2 kB / 0.5721 GB, free: 184 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.3472, allocations: 1.129 MB / 0.5732 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3472, allocations: 0 / 0.5732 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3472, allocations: 0 / 0.5732 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.3472, allocations: 0 / 0.5732 GB, free: 15.05 MB / 0.5261 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.002011/0.3492, allocations: 1.317 MB / 0.5745 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3492, allocations: 8.031 kB / 0.5745 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.3503, allocations: 256.3 kB / 0.5748 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.3513, allocations: 0.6241 MB / 0.5754 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.3513, allocations: 40.94 kB / 0.5754 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.3514, allocations: 55.95 kB / 0.5755 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.352, allocations: 464 kB / 0.5759 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.3521, allocations: 3.984 kB / 0.5759 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/0.3521, allocations: 20 kB / 0.5759 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.3521, allocations: 12 kB / 0.5759 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.3525, allocations: 188.4 kB / 0.5761 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.3546, allocations: 1.473 MB / 0.5776 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.3551, allocations: 286.2 kB / 0.5778 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.3552, allocations: 98.22 kB / 0.5779 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.3554, allocations: 48.61 kB / 0.578 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003713/0.3558, allocations: 276.3 kB / 0.5782 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=54): time 2.675e-06/0.3558, allocations: 0 / 0.5782 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54): time 0.0009905/0.3568, allocations: 456 kB / 0.5787 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.3568, allocations: 89.05 kB / 0.5787 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.3573, allocations: 0.5818 MB / 0.5793 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.3574, allocations: 41.7 kB / 0.5794 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.3575, allocations: 271 kB / 0.5796 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.3577, allocations: 190.3 kB / 0.5798 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.3578, allocations: 126.2 kB / 0.5799 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.3579, allocations: 337.8 kB / 0.5802 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.3581, allocations: 116.7 kB / 0.5804 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3583, allocations: 203.3 kB / 0.5805 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.3587, allocations: 298.8 kB / 0.5808 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3587, allocations: 8 kB / 0.5808 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006199/0.3593, allocations: 473.6 kB / 0.5813 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.3593, allocations: 63.39 kB / 0.5814 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.3594, allocations: 11.98 kB / 0.5814 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/0.3597, allocations: 85.75 kB / 0.5814 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.36, allocations: 127.9 kB / 0.5816 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.3616, allocations: 2.464 MB / 0.584 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.3619, allocations: 69.34 kB / 0.584 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.393e-05/0.362, allocations: 51.98 kB / 0.5841 GB, free: 3.367 MB / 0.5261 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 (sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1,sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2) * 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.0002024/0.3622, allocations: 152.5 kB / 0.5842 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3623, allocations: 64.12 kB / 0.5843 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.3637, allocations: 0.9488 MB / 0.5852 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3637, allocations: 4 kB / 0.5852 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3637, allocations: 4 kB / 0.5852 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-06/0.3637, allocations: 3.984 kB / 0.5852 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.3649, allocations: 0.8617 MB / 0.5861 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/0.3649, allocations: 11.98 kB / 0.5861 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.3652, allocations: 111.9 kB / 0.5862 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/0.3655, allocations: 77.62 kB / 0.5863 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.438e-05/0.3655, allocations: 31.97 kB / 0.5863 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.367, allocations: 2.465 MB / 0.5887 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.367, allocations: 3.938 kB / 0.5887 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.3677, allocations: 0.6126 MB / 0.5893 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.3679, allocations: 123.2 kB / 0.5894 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.368, allocations: 12 kB / 0.5894 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.3683, allocations: 31.91 kB / 0.5895 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.3685, allocations: 88.55 kB / 0.5895 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/0.3686, allocations: 51.97 kB / 0.5896 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002767/0.3688, allocations: 284.5 kB / 0.5899 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3688, allocations: 0 / 0.5899 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007712/0.3696, allocations: 279.5 kB / 0.5901 GB, free: 12.91 MB / 0.5417 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.0004352/0.37, allocations: 237.1 kB / 0.5904 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008286/0.3709, allocations: 0.7698 MB / 0.5911 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.3709, allocations: 12.12 kB / 0.5911 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.3713, allocations: 0.5217 MB / 0.5916 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.3724, allocations: 337.6 kB / 0.592 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.3747, allocations: 1.332 MB / 0.5933 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3748, allocations: 160 kB / 0.5934 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00104/0.3759, allocations: 0.681 MB / 0.5941 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008448/0.3767, allocations: 381 kB / 0.5944 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of SimCode: time 1.122e-06/0.3767, allocations: 0 / 0.5944 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of Templates: time 0.02564/0.4024, allocations: 17.58 MB / 0.6116 GB, free: 7.133 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.337770132813603]