Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007889/0.007889, allocations: 166.9 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 221.3 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006859/0.0006858, allocations: 82.36 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6502/0.6502, allocations: 90.6 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 8 kB / 485.3 MB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3178, allocations: 66.28 MB / 0.5386 GB, free: 45.56 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.1784/0.4962, allocations: 183.1 MB / 0.7174 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.009498/0.5058, allocations: 7.726 MB / 0.725 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006692/0.5065, allocations: 7.938 kB / 0.725 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0008206/0.5073, allocations: 334 kB / 0.7253 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003537/0.5109, allocations: 1.355 MB / 0.7266 GB, free: 11 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.5143, allocations: 1.324 MB / 0.7279 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003734/0.518, allocations: 2.668 MB / 0.7305 GB, free: 7.016 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.5184, allocations: 171.6 kB / 0.7307 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.5211, allocations: 1.672 MB / 0.7323 GB, free: 5.164 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008031/0.5219, allocations: 0.6228 MB / 0.7329 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.522, allocations: 32 kB / 0.7329 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003981/0.526, allocations: 1.862 MB / 0.7348 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.5262, allocations: 143.3 kB / 0.7349 GB, free: 2.504 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.5264, allocations: 165.3 kB / 0.735 GB, free: 2.336 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.5286, allocations: 1.532 MB / 0.7365 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5286, allocations: 3.938 kB / 0.7365 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5286, allocations: 0 / 0.7365 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.5286, allocations: 0 / 0.7365 GB, free: 0.7969 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003355/0.532, allocations: 1.489 MB / 0.738 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.532, allocations: 8.031 kB / 0.738 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.5331, allocations: 174.8 kB / 0.7382 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.5338, allocations: 492.4 kB / 0.7386 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.098e-05/0.5339, allocations: 75 kB / 0.7387 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.534, allocations: 64 kB / 0.7388 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.5356, allocations: 0.8364 MB / 0.7396 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.5357, allocations: 4 kB / 0.7396 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.981e-05/0.5358, allocations: 24 kB / 0.7396 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.5358, allocations: 19.98 kB / 0.7396 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.5377, allocations: 0.7634 MB / 0.7404 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004745/0.5424, allocations: 3.631 MB / 0.7439 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.5445, allocations: 0.8041 MB / 0.7447 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009554/0.5455, allocations: 421.9 kB / 0.7451 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002081/0.5476, allocations: 1.674 MB / 0.7468 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/0.5488, allocations: 0.5892 MB / 0.7473 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=76): time 2.905e-06/0.5488, allocations: 0 / 0.7473 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.003916/0.5527, allocations: 1.551 MB / 0.7488 GB, free: 3.395 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.5528, allocations: 101 kB / 0.7489 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.5534, allocations: 458.8 kB / 0.7494 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.189e-05/0.5534, allocations: 45.7 kB / 0.7494 GB, free: 2.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.5537, allocations: 308.5 kB / 0.7497 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.5539, allocations: 256.3 kB / 0.75 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.554, allocations: 12 kB / 0.75 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5541, allocations: 370.8 kB / 0.7503 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009059/0.555, allocations: 365.8 kB / 0.7507 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009828/0.556, allocations: 461.8 kB / 0.7511 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/0.557, allocations: 433.2 kB / 0.7515 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.557, allocations: 7.938 kB / 0.7515 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.1956/0.7527, allocations: 1.134 MB / 0.7526 GB, free: 182.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.7528, allocations: 61.19 kB / 0.7527 GB, free: 182.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.7528, allocations: 16.14 kB / 0.7527 GB, free: 182.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003122/0.7531, allocations: 81.97 kB / 0.7528 GB, free: 182.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.7538, allocations: 201.9 kB / 0.753 GB, free: 182.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.7554, allocations: 2.839 MB / 0.7558 GB, free: 179.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007057/0.7561, allocations: 126.6 kB / 0.7559 GB, free: 179.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.7562, allocations: 92.88 kB / 0.756 GB, free: 179.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002845/0.7565, allocations: 194.7 kB / 0.7562 GB, free: 179.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.7566, allocations: 67.22 kB / 0.7562 GB, free: 179.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/0.7599, allocations: 1.398 MB / 0.7576 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.76, allocations: 8.438 kB / 0.7576 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.76, allocations: 3.781 kB / 0.7576 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.76, allocations: 3.422 kB / 0.7576 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.7633, allocations: 2.157 MB / 0.7597 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.7633, allocations: 7.438 kB / 0.7597 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/0.764, allocations: 191 kB / 0.7599 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002457/0.7643, allocations: 81.23 kB / 0.76 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.909e-05/0.7643, allocations: 51.56 kB / 0.76 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.7659, allocations: 2.842 MB / 0.7628 GB, free: 176.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7659, allocations: 4.375 kB / 0.7628 GB, free: 176.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.7692, allocations: 1.699 MB / 0.7645 GB, free: 176.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.7696, allocations: 250.7 kB / 0.7647 GB, free: 176.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.7697, allocations: 18.5 kB / 0.7647 GB, free: 176.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006428/0.7703, allocations: 89.3 kB / 0.7648 GB, free: 176.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.7706, allocations: 120 kB / 0.7649 GB, free: 176.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.7707, allocations: 94.3 kB / 0.765 GB, free: 176.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003514/0.7711, allocations: 316.8 kB / 0.7653 GB, free: 176.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7711, allocations: 0 / 0.7653 GB, free: 176.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001487/0.7726, allocations: 0.5565 MB / 0.7659 GB, free: 176.1 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.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 (72): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/0.7739, allocations: 0.8148 MB / 0.7666 GB, free: 176 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002447/0.7764, allocations: 1.448 MB / 0.7681 GB, free: 175.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.7764, allocations: 2.688 kB / 0.7681 GB, free: 175.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.7778, allocations: 0.9637 MB / 0.769 GB, free: 174.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.7789, allocations: 204 kB / 0.7692 GB, free: 174.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.7818, allocations: 1.96 MB / 0.7711 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.7821, allocations: 0.9321 MB / 0.772 GB, free: 173.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00132/0.7834, allocations: 279.9 kB / 0.7723 GB, free: 173 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.7839, allocations: 134.3 kB / 0.7724 GB, free: 173 MB / 0.5573 GB Notification: Performance of SimCode: time 1.272e-06/0.7839, allocations: 0 / 0.7724 GB, free: 173 MB / 0.5573 GB Notification: Performance of Templates: time 0.03193/0.8158, allocations: 21.81 MB / 0.7937 GB, free: 167.4 MB / 0.5573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches