Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009815/0.0009815, allocations: 175.2 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.33/1.33, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008302/0.0008307, allocations: 90.94 kB / 266.6 MB, free: 9.273 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.7736/0.7736, allocations: 90.35 MB / 405 MB, free: 8.629 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.319e-05, allocations: 4 kB / 479.2 MB, free: 14.31 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3909, allocations: 66.25 MB / 0.5326 GB, free: 28.65 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.536, allocations: 438.2 MB / 0.9605 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.537, allocations: 81.72 kB / 0.9606 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1445/1.681, allocations: 73.71 MB / 1.033 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/1.681, allocations: 0 / 1.033 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.662e-05/1.681, allocations: 15.98 kB / 1.033 GB, free: 116.5 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001599/1.683, allocations: 0.735 MB / 1.033 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.683, allocations: 8.031 kB / 1.033 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/1.683, allocations: 51.44 kB / 1.033 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/1.684, allocations: 314.2 kB / 1.034 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/1.684, allocations: 28.78 kB / 1.034 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/1.684, allocations: 32 kB / 1.034 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/1.684, allocations: 395.8 kB / 1.034 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/1.684, allocations: 0 / 1.034 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/1.684, allocations: 12 kB / 1.034 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/1.684, allocations: 8 kB / 1.034 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004734/1.685, allocations: 347 kB / 1.034 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/1.687, allocations: 1.869 MB / 1.036 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/1.687, allocations: 404.5 kB / 1.037 GB, free: 112 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/1.688, allocations: 185 kB / 1.037 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/1.689, allocations: 1.318 MB / 1.038 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/1.69, allocations: 221 kB / 1.038 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=41): time 2.405e-06/1.69, allocations: 0 / 1.038 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=41): time 0.0007218/1.69, allocations: 413.5 kB / 1.039 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/1.69, allocations: 55.41 kB / 1.039 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/1.69, allocations: 239.5 kB / 1.039 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/1.691, allocations: 29.7 kB / 1.039 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/1.691, allocations: 196.2 kB / 1.039 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/1.691, allocations: 145.9 kB / 1.039 GB, free: 109 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/1.691, allocations: 4 kB / 1.039 GB, free: 109 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.17e-05/1.691, allocations: 350.8 kB / 1.04 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/1.691, allocations: 128.9 kB / 1.04 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/1.691, allocations: 181.5 kB / 1.04 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/1.691, allocations: 178.8 kB / 1.04 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.691, allocations: 0 / 1.04 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007098/1.692, allocations: 481.3 kB / 1.041 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/1.692, allocations: 33.7 kB / 1.041 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.692, allocations: 0 / 1.041 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/1.692, allocations: 48.98 kB / 1.041 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/1.693, allocations: 79.83 kB / 1.041 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009511/1.694, allocations: 1.425 MB / 1.042 GB, free: 106 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/1.694, allocations: 39.67 kB / 1.042 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/1.694, allocations: 19.98 kB / 1.042 GB, free: 105.9 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.835e-05/1.694, allocations: 136.9 kB / 1.042 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/1.694, allocations: 35.62 kB / 1.042 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008519/1.695, allocations: 0.5049 MB / 1.043 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.695, allocations: 8.125 kB / 1.043 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.695, allocations: 3.953 kB / 1.043 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.695, allocations: 7.984 kB / 1.043 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/1.697, allocations: 1.038 MB / 1.044 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.697, allocations: 7.969 kB / 1.044 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/1.697, allocations: 67.95 kB / 1.044 GB, free: 104 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001575/1.697, allocations: 44.8 kB / 1.044 GB, free: 104 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/1.697, allocations: 11.98 kB / 1.044 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009962/1.698, allocations: 1.413 MB / 1.045 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.698, allocations: 7.969 kB / 1.045 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/1.699, allocations: 0.7243 MB / 1.046 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.571e-05/1.699, allocations: 120.4 kB / 1.046 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/1.699, allocations: 15.98 kB / 1.046 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/1.699, allocations: 19.98 kB / 1.046 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/1.7, allocations: 48 kB / 1.046 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/1.7, allocations: 8 kB / 1.046 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001764/1.7, allocations: 191.1 kB / 1.047 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/1.7, allocations: 0 / 1.047 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006903/1.701, allocations: 187.7 kB / 1.047 GB, free: 101.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (checkValve.rear.m_flow) * 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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006656/1.701, allocations: 339.9 kB / 1.047 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000899/1.702, allocations: 0.5363 MB / 1.048 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.702, allocations: 4 kB / 1.048 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/1.703, allocations: 318.5 kB / 1.048 GB, free: 99.82 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/1.703, allocations: 104.9 kB / 1.048 GB, free: 99.71 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/1.704, allocations: 0.536 MB / 1.048 GB, free: 99.15 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/1.705, allocations: 0.8082 MB / 1.049 GB, free: 98.31 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000269/1.705, allocations: 78.94 kB / 1.049 GB, free: 98.24 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-05/1.705, allocations: 39.42 kB / 1.049 GB, free: 98.2 MB / 0.5886 GB Notification: Performance of SimCode: time 3.31e-07/1.705, allocations: 0 / 1.049 GB, free: 98.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.01351/1.719, allocations: 8.83 MB / 1.058 GB, free: 89.4 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches