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.0008999/0.0008999, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009011/0.0009011, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 0.8772/0.8772, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.6632/0.6632, allocations: 118.6 MB / 378.9 MB, free: 1.328 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 2.906e-06/2.906e-06, allocations: 0 / 484 MB, free: 8.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.898e-05, allocations: 2.312 kB / 484 MB, free: 8.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.1364/0.1364, allocations: 143.4 MB / 0.6128 GB, free: 492 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003391/0.1398, allocations: 1.935 MB / 0.6147 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/0.1402, allocations: 55.5 kB / 0.6147 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.1406, allocations: 154.5 kB / 0.6149 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.1427, allocations: 1.041 MB / 0.6159 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.1434, allocations: 343.1 kB / 0.6162 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002839/0.1463, allocations: 2.55 MB / 0.6187 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.1465, allocations: 128.6 kB / 0.6188 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.1484, allocations: 1.743 MB / 0.6205 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.149, allocations: 0.526 MB / 0.6211 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 9.208e-05/0.1491, allocations: 56 kB / 0.6211 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008751/0.15, allocations: 0.5615 MB / 0.6217 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.1503, allocations: 163.2 kB / 0.6218 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.1506, allocations: 291.2 kB / 0.6221 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.1517, allocations: 1.121 MB / 0.6232 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1517, allocations: 0 / 0.6232 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1517, allocations: 0 / 0.6232 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1517, allocations: 0 / 0.6232 GB, free: 5.797 MB / 0.5417 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.0016/0.1533, allocations: 1.458 MB / 0.6246 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1533, allocations: 12.03 kB / 0.6246 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006471/0.154, allocations: 279.7 kB / 0.6249 GB, free: 4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.1547, allocations: 0.6921 MB / 0.6256 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.1547, allocations: 37 kB / 0.6256 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.1548, allocations: 51.98 kB / 0.6256 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.1553, allocations: 486.2 kB / 0.6261 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.1553, allocations: 7.891 kB / 0.6261 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.1554, allocations: 16 kB / 0.6261 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1554, allocations: 12 kB / 0.6261 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.1557, allocations: 206.8 kB / 0.6263 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.1575, allocations: 2.038 MB / 0.6283 GB, free: 344 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006723/0.1582, allocations: 334 kB / 0.6287 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1583, allocations: 124.5 kB / 0.6288 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.1584, allocations: 37.56 kB / 0.6288 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.1587, allocations: 291.7 kB / 0.6291 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=54): time 1.763e-06/0.1587, allocations: 4 kB / 0.6291 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54): time 0.0009218/0.1596, allocations: 0.6115 MB / 0.6297 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.1597, allocations: 89.08 kB / 0.6298 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.1601, allocations: 0.6397 MB / 0.6304 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.1601, allocations: 37.7 kB / 0.6304 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.1604, allocations: 435.7 kB / 0.6308 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.1605, allocations: 198.3 kB / 0.631 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.1606, allocations: 143.9 kB / 0.6312 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1608, allocations: 0.5082 MB / 0.6317 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1609, allocations: 132.6 kB / 0.6318 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.1611, allocations: 235.3 kB / 0.632 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.1614, allocations: 337.4 kB / 0.6323 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1614, allocations: 0 / 0.6323 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006447/0.162, allocations: 0.6394 MB / 0.633 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.009e-05/0.1621, allocations: 63.39 kB / 0.633 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.1621, allocations: 11.98 kB / 0.633 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.1624, allocations: 91.47 kB / 0.6331 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.1626, allocations: 127.8 kB / 0.6332 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.1644, allocations: 3.583 MB / 0.6367 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.1646, allocations: 59.61 kB / 0.6368 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.1647, allocations: 63.97 kB / 0.6369 GB, free: 7.09 MB / 0.5573 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.0001854/0.1649, allocations: 192.4 kB / 0.637 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.165, allocations: 99.44 kB / 0.6371 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.1662, allocations: 1.081 MB / 0.6382 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.1662, allocations: 11.98 kB / 0.6382 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1662, allocations: 4 kB / 0.6382 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.1662, allocations: 0 / 0.6382 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.1673, allocations: 1.183 MB / 0.6394 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.1673, allocations: 15.98 kB / 0.6394 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.1675, allocations: 99.89 kB / 0.6395 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.1677, allocations: 99.31 kB / 0.6396 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.1678, allocations: 31.98 kB / 0.6396 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.1695, allocations: 3.591 MB / 0.6431 GB, free: 380 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1695, allocations: 0 / 0.6431 GB, free: 380 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2263/0.3957, allocations: 0.8746 MB / 0.644 GB, free: 40.94 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.396, allocations: 151.6 kB / 0.6441 GB, free: 40.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.576e-05/0.3961, allocations: 13.25 kB / 0.6441 GB, free: 40.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.3964, allocations: 29.75 kB / 0.6442 GB, free: 40.94 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.3967, allocations: 98.12 kB / 0.6442 GB, free: 40.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.3968, allocations: 56.62 kB / 0.6443 GB, free: 40.94 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000557/0.3973, allocations: 410.1 kB / 0.6447 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3973, allocations: 0 / 0.6447 GB, free: 40.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001159/0.3985, allocations: 271.6 kB / 0.6449 GB, free: 40.8 MB / 0.5573 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.0006567/0.3992, allocations: 254.6 kB / 0.6452 GB, free: 40.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.4004, allocations: 0.9201 MB / 0.6461 GB, free: 40.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4004, allocations: 0.7812 kB / 0.6461 GB, free: 40.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.4011, allocations: 0.6512 MB / 0.6467 GB, free: 39.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4022, allocations: 353.1 kB / 0.6471 GB, free: 39.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.4048, allocations: 1.401 MB / 0.6484 GB, free: 38.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.4049, allocations: 162.5 kB / 0.6486 GB, free: 38.84 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001204/0.4061, allocations: 0.6811 MB / 0.6493 GB, free: 38.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000728/0.4068, allocations: 435.2 kB / 0.6497 GB, free: 38.73 MB / 0.5573 GB Notification: Performance of SimCode: time 1.613e-06/0.4068, allocations: 0 / 0.6497 GB, free: 38.73 MB / 0.5573 GB Notification: Performance of Templates: time 0.02515/0.432, allocations: 17.87 MB / 0.6671 GB, free: 37.03 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 -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.338582936208695]