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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.001756/0.001757, allocations: 180.1 kB / 16.12 MB, free: 5.562 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.518/1.518, allocations: 205.4 MB / 222.3 MB, free: 9.012 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.0007814/0.0007814, allocations: 82.42 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.7216/0.7216, allocations: 89.62 MB / 408.5 MB, free: 4.453 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 12 kB / 485.2 MB, free: 7.594 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3469, allocations: 66 MB / 0.5383 GB, free: 34.4 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.381, allocations: 438.1 MB / 0.9662 GB, free: 188.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.381, allocations: 84.88 kB / 0.9663 GB, free: 188.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1357/1.517, allocations: 73.38 MB / 1.038 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.284e-06/1.517, allocations: 4 kB / 1.038 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.557e-05/1.517, allocations: 8 kB / 1.038 GB, free: 114.7 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.001571/1.519, allocations: 0.759 MB / 1.039 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.519, allocations: 12.03 kB / 1.039 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/1.519, allocations: 48.38 kB / 1.039 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/1.519, allocations: 331.3 kB / 1.039 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/1.519, allocations: 21.03 kB / 1.039 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/1.52, allocations: 36.38 kB / 1.039 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/1.52, allocations: 424.5 kB / 1.04 GB, free: 113 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.52, allocations: 0 / 1.04 GB, free: 113 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/1.52, allocations: 12 kB / 1.04 GB, free: 113 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/1.52, allocations: 16 kB / 1.04 GB, free: 113 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/1.521, allocations: 386.3 kB / 1.04 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/1.523, allocations: 1.851 MB / 1.042 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007481/1.523, allocations: 451.7 kB / 1.042 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/1.524, allocations: 208.9 kB / 1.042 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/1.525, allocations: 1.262 MB / 1.044 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003934/1.526, allocations: 256.2 kB / 1.044 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=41): time 2.485e-06/1.526, allocations: 0 / 1.044 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=41): time 0.001311/1.527, allocations: 0.6911 MB / 1.044 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/1.527, allocations: 55.41 kB / 1.045 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/1.527, allocations: 278.9 kB / 1.045 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/1.527, allocations: 33.7 kB / 1.045 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/1.527, allocations: 196.2 kB / 1.045 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/1.527, allocations: 134.1 kB / 1.045 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/1.527, allocations: 4 kB / 1.045 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.576e-05/1.528, allocations: 346.8 kB / 1.045 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/1.528, allocations: 152.8 kB / 1.046 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/1.528, allocations: 209.4 kB / 1.046 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/1.529, allocations: 400.5 kB / 1.046 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.529, allocations: 3.938 kB / 1.046 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008703/1.53, allocations: 0.5244 MB / 1.047 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/1.53, allocations: 37.7 kB / 1.047 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.53, allocations: 3.938 kB / 1.047 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/1.53, allocations: 40.83 kB / 1.047 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/1.53, allocations: 75.89 kB / 1.047 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009325/1.531, allocations: 1.432 MB / 1.048 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/1.531, allocations: 47.77 kB / 1.048 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/1.531, allocations: 19.98 kB / 1.048 GB, free: 103.3 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 () * Number of clocked 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 0.0001605/1.532, allocations: 153.8 kB / 1.048 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.532, allocations: 39.56 kB / 1.049 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009805/1.533, allocations: 0.5521 MB / 1.049 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.533, allocations: 4 kB / 1.049 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.533, allocations: 7.938 kB / 1.049 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.533, allocations: 3.984 kB / 1.049 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/1.534, allocations: 1.077 MB / 1.05 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.534, allocations: 4 kB / 1.05 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/1.534, allocations: 67.91 kB / 1.05 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/1.535, allocations: 44.95 kB / 1.05 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/1.535, allocations: 16.02 kB / 1.05 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007858/1.535, allocations: 1.421 MB / 1.052 GB, free: 99.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.535, allocations: 4.062 kB / 1.052 GB, free: 99.71 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/1.536, allocations: 0.7773 MB / 1.052 GB, free: 98.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/1.537, allocations: 116.5 kB / 1.053 GB, free: 98.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/1.537, allocations: 8 kB / 1.053 GB, free: 98.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/1.537, allocations: 27.92 kB / 1.053 GB, free: 98.74 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/1.537, allocations: 44 kB / 1.053 GB, free: 98.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/1.537, allocations: 15.98 kB / 1.053 GB, free: 98.68 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001519/1.537, allocations: 190 kB / 1.053 GB, free: 98.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/1.537, allocations: 0 / 1.053 GB, free: 98.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006145/1.538, allocations: 187.7 kB / 1.053 GB, free: 98.32 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) * Number of clocked states: 0 () * 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.0005492/1.538, allocations: 334.7 kB / 1.053 GB, free: 97.99 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009471/1.539, allocations: 0.5756 MB / 1.054 GB, free: 97.39 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.539, allocations: 0 / 1.054 GB, free: 97.39 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004747/1.54, allocations: 354.5 kB / 1.054 GB, free: 97.03 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/1.541, allocations: 117.9 kB / 1.054 GB, free: 96.92 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/1.542, allocations: 0.9328 MB / 1.055 GB, free: 95.95 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/1.542, allocations: 0.7966 MB / 1.056 GB, free: 95.13 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000272/1.543, allocations: 71.02 kB / 1.056 GB, free: 95.06 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/1.543, allocations: 43.42 kB / 1.056 GB, free: 95.02 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/1.543, allocations: 0 / 1.056 GB, free: 95.02 MB / 0.5886 GB Notification: Performance of Templates: time 0.014/1.557, allocations: 8.68 MB / 1.065 GB, free: 86.41 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