Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001861/0.001861, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.633/1.633, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008827/0.0008827, allocations: 96.78 kB / 266.6 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8669/0.8669, allocations: 90.34 MB / 405 MB, free: 8.633 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.901e-05, allocations: 7.938 kB / 479.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4129, allocations: 66.26 MB / 0.5326 GB, free: 28.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.168/1.581, allocations: 431.7 MB / 0.9542 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.581, allocations: 74.33 kB / 0.9543 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.09514/1.676, allocations: 47.24 MB / 1 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/1.676, allocations: 0 / 1 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.788e-05/1.676, allocations: 4 kB / 1 GB, free: 145.6 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008916/1.677, allocations: 0.5063 MB / 1.001 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.677, allocations: 16.03 kB / 1.001 GB, free: 145 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/1.677, allocations: 19.72 kB / 1.001 GB, free: 145 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/1.678, allocations: 214.4 kB / 1.001 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/1.678, allocations: 7.984 kB / 1.001 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/1.678, allocations: 15.75 kB / 1.001 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/1.678, allocations: 148.2 kB / 1.001 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.678, allocations: 0 / 1.001 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/1.678, allocations: 7.438 kB / 1.001 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/1.678, allocations: 0 / 1.001 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/1.678, allocations: 79 kB / 1.001 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009081/1.679, allocations: 0.7895 MB / 1.002 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/1.679, allocations: 81.19 kB / 1.002 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/1.679, allocations: 31.8 kB / 1.002 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/1.679, allocations: 85.06 kB / 1.002 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/1.68, allocations: 85.69 kB / 1.002 GB, free: 143.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.013e-06/1.68, allocations: 0 / 1.002 GB, free: 143.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002407/1.68, allocations: 110.4 kB / 1.003 GB, free: 143.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/1.68, allocations: 51.41 kB / 1.003 GB, free: 143.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/1.68, allocations: 167.8 kB / 1.003 GB, free: 143.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/1.68, allocations: 25.7 kB / 1.003 GB, free: 143.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/1.68, allocations: 153.2 kB / 1.003 GB, free: 143 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/1.68, allocations: 22.83 kB / 1.003 GB, free: 143 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/1.68, allocations: 3.312 kB / 1.003 GB, free: 143 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.338e-05/1.68, allocations: 325.7 kB / 1.003 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/1.68, allocations: 30.81 kB / 1.003 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/1.68, allocations: 80.88 kB / 1.003 GB, free: 142.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.479e-05/1.681, allocations: 60.44 kB / 1.003 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.681, allocations: 8 kB / 1.003 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002524/1.681, allocations: 192.2 kB / 1.004 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.681, allocations: 33.7 kB / 1.004 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.681, allocations: 0 / 1.004 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.681, allocations: 7.938 kB / 1.004 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/1.681, allocations: 31.97 kB / 1.004 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.681, allocations: 8.062 kB / 1.004 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/1.681, allocations: 35.36 kB / 1.004 GB, free: 142.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/1.681, allocations: 4 kB / 1.004 GB, free: 142.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/1.681, allocations: 120.4 kB / 1.004 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/1.681, allocations: 19.77 kB / 1.004 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/1.682, allocations: 115.5 kB / 1.004 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.682, allocations: 0 / 1.004 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.682, allocations: 0 / 1.004 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.682, allocations: 7.984 kB / 1.004 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/1.682, allocations: 230.9 kB / 1.004 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.682, allocations: 0 / 1.004 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/1.682, allocations: 19.98 kB / 1.004 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.682, allocations: 3.953 kB / 1.004 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/1.682, allocations: 0 / 1.004 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.682, allocations: 4 kB / 1.004 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.682, allocations: 4 kB / 1.004 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/1.682, allocations: 169.5 kB / 1.004 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/1.682, allocations: 89.03 kB / 1.005 GB, free: 141.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/1.682, allocations: 3.953 kB / 1.005 GB, free: 141.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/1.682, allocations: 19.89 kB / 1.005 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/1.682, allocations: 11.48 kB / 1.005 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/1.682, allocations: 0 / 1.005 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.639e-05/1.683, allocations: 145.6 kB / 1.005 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.4e-07/1.683, allocations: 4.062 kB / 1.005 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002999/1.683, allocations: 54.12 kB / 1.005 GB, free: 141.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002921/1.683, allocations: 208.1 kB / 1.005 GB, free: 141.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000236/1.683, allocations: 148.1 kB / 1.005 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.683, allocations: 0 / 1.005 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/1.684, allocations: 31.62 kB / 1.005 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/1.684, allocations: 35.2 kB / 1.005 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/1.684, allocations: 257 kB / 1.005 GB, free: 140.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/1.685, allocations: 0.7165 MB / 1.006 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.35e-05/1.685, allocations: 25.12 kB / 1.006 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/1.685, allocations: 15.44 kB / 1.006 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/1.685, allocations: 0 / 1.006 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.006595/1.691, allocations: 3.494 MB / 1.01 GB, free: 136.4 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches