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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002427/0.002427, allocations: 179.9 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.001/1.001, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0009048/0.0009048, allocations: 93.41 kB / 261.1 MB, free: 13.53 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.5248/0.5248, allocations: 90.35 MB / 399.4 MB, free: 12.26 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.37e-06, allocations: 0 / 471.7 MB, free: 3.789 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.262, allocations: 66.25 MB / 0.5253 GB, free: 28.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6929/0.955, allocations: 437.4 MB / 0.9525 GB, free: 162 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.9552, allocations: 80.14 kB / 0.9525 GB, free: 162 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.1263/1.082, allocations: 73.54 MB / 1.024 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.329e-05/1.082, allocations: 23.92 kB / 1.024 GB, free: 127.3 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.001188/1.083, allocations: 0.7272 MB / 1.025 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/1.083, allocations: 12.02 kB / 1.025 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/1.083, allocations: 43.44 kB / 1.025 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/1.083, allocations: 317.8 kB / 1.025 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/1.083, allocations: 12 kB / 1.025 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/1.083, allocations: 20 kB / 1.025 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004168/1.084, allocations: 329.2 kB / 1.026 GB, free: 125.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/1.084, allocations: 345.4 kB / 1.026 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/1.084, allocations: 0 / 1.026 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/1.084, allocations: 0 / 1.026 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.084, allocations: 15.94 kB / 1.026 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/1.086, allocations: 1.808 MB / 1.028 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/1.086, allocations: 339.1 kB / 1.028 GB, free: 123.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/1.086, allocations: 169.2 kB / 1.028 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/1.088, allocations: 1.303 MB / 1.03 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/1.088, allocations: 210 kB / 1.03 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/1.088, allocations: 0 / 1.03 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=41): time 0.0009662/1.089, allocations: 433.3 kB / 1.03 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/1.089, allocations: 55.41 kB / 1.03 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/1.089, allocations: 215.5 kB / 1.031 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/1.089, allocations: 29.7 kB / 1.031 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/1.089, allocations: 164.5 kB / 1.031 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/1.089, allocations: 134 kB / 1.031 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/1.089, allocations: 4 kB / 1.031 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/1.089, allocations: 338.8 kB / 1.031 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/1.09, allocations: 120.9 kB / 1.031 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/1.09, allocations: 176.9 kB / 1.031 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/1.09, allocations: 205 kB / 1.032 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.09, allocations: 4 kB / 1.032 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009018/1.091, allocations: 463.8 kB / 1.032 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.091, allocations: 12.08 kB / 1.032 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.091, allocations: 4 kB / 1.032 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/1.091, allocations: 36.84 kB / 1.032 GB, free: 118.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/1.092, allocations: 83.88 kB / 1.032 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008213/1.093, allocations: 1.354 MB / 1.034 GB, free: 117.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/1.093, allocations: 43.72 kB / 1.034 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/1.093, allocations: 15.98 kB / 1.034 GB, free: 117.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 (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 8.457e-05/1.093, allocations: 110.3 kB / 1.034 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/1.093, allocations: 35.67 kB / 1.034 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/1.094, allocations: 0.5667 MB / 1.034 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.094, allocations: 8 kB / 1.034 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.094, allocations: 0 / 1.034 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.094, allocations: 0 / 1.034 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/1.096, allocations: 1.019 MB / 1.035 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.096, allocations: 4 kB / 1.035 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/1.096, allocations: 71.92 kB / 1.035 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/1.096, allocations: 40.83 kB / 1.035 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/1.096, allocations: 11.98 kB / 1.035 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007179/1.097, allocations: 1.338 MB / 1.037 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.097, allocations: 7.891 kB / 1.037 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001084/1.098, allocations: 0.7517 MB / 1.037 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/1.098, allocations: 108.6 kB / 1.038 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/1.098, allocations: 11.89 kB / 1.038 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/1.098, allocations: 20.05 kB / 1.038 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/1.098, allocations: 31.95 kB / 1.038 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/1.098, allocations: 15.98 kB / 1.038 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.95e-05/1.099, allocations: 167.1 kB / 1.038 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005259/1.099, allocations: 187.6 kB / 1.038 GB, free: 112.5 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.0004017/1.099, allocations: 325.1 kB / 1.038 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006099/1.1, allocations: 475.6 kB / 1.039 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.1, allocations: 0 / 1.039 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/1.1, allocations: 313.6 kB / 1.039 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/1.101, allocations: 92.83 kB / 1.039 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/1.102, allocations: 0.5335 MB / 1.04 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/1.102, allocations: 0.846 MB / 1.04 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of SimCode: time 2e-07/1.102, allocations: 0 / 1.04 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.01072/1.113, allocations: 8.032 MB / 1.048 GB, free: 101.9 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