Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.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.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") [: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.002004/0.002004, allocations: 173.3 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9894/0.9894, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0007966/0.0007966, allocations: 89.86 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.5103/0.5103, allocations: 90.35 MB / 399.4 MB, free: 12.27 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.32e-06/5.661e-06, allocations: 0 / 471.7 MB, free: 3.797 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2527, allocations: 66.25 MB / 0.5253 GB, free: 28.9 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7048/0.9576, allocations: 441.2 MB / 0.9562 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.9579, allocations: 85.92 kB / 0.9563 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.6335/1.591, allocations: 248 MB / 1.198 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001106/1.592, allocations: 35.25 kB / 1.198 GB, free: 129.8 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004034/1.596, allocations: 1.684 MB / 1.2 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/1.596, allocations: 11.59 kB / 1.2 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004146/1.596, allocations: 152.4 kB / 1.2 GB, free: 129 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/1.597, allocations: 0.7411 MB / 1.201 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/1.597, allocations: 39.12 kB / 1.201 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/1.598, allocations: 75.56 kB / 1.201 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002131/1.6, allocations: 1.564 MB / 1.203 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/1.601, allocations: 1.213 MB / 1.204 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/1.601, allocations: 0 / 1.204 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/1.602, allocations: 3.906 kB / 1.204 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/1.602, allocations: 33.03 kB / 1.204 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005707/1.607, allocations: 6.208 MB / 1.21 GB, free: 125.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/1.609, allocations: 0.8109 MB / 1.211 GB, free: 125 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/1.609, allocations: 0.6956 MB / 1.211 GB, free: 125 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003949/1.613, allocations: 3.63 MB / 1.215 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008831/1.614, allocations: 0.7242 MB / 1.216 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=136): time 2.735e-06/1.614, allocations: 0 / 1.216 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=137): time 0.01215/1.626, allocations: 4.332 MB / 1.22 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/1.626, allocations: 69.86 kB / 1.22 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/1.627, allocations: 423.2 kB / 1.22 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/1.627, allocations: 25.7 kB / 1.22 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/1.627, allocations: 361.9 kB / 1.221 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/1.627, allocations: 442.2 kB / 1.221 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/1.627, allocations: 3.281 kB / 1.221 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/1.627, allocations: 399.6 kB / 1.221 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006721/1.628, allocations: 0.5327 MB / 1.222 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/1.629, allocations: 0.6132 MB / 1.223 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/1.632, allocations: 0.9952 MB / 1.224 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.632, allocations: 0 / 1.224 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004503/1.636, allocations: 1.953 MB / 1.225 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.636, allocations: 7.219 kB / 1.225 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.637, allocations: 0 / 1.225 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/1.637, allocations: 166.9 kB / 1.226 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/1.638, allocations: 245.5 kB / 1.226 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/1.641, allocations: 2.594 MB / 1.228 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/1.642, allocations: 75.02 kB / 1.228 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.642, allocations: 53.38 kB / 1.229 GB, free: 120.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 3 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001732/1.642, allocations: 117.3 kB / 1.229 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/1.642, allocations: 96.12 kB / 1.229 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005133/1.647, allocations: 2.511 MB / 1.231 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/1.647, allocations: 21.78 kB / 1.231 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.647, allocations: 0 / 1.231 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/1.647, allocations: 10.42 kB / 1.231 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006033/1.654, allocations: 3.693 MB / 1.235 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.654, allocations: 0 / 1.235 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009532/1.654, allocations: 288.4 kB / 1.235 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003779/1.655, allocations: 141.8 kB / 1.235 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/1.655, allocations: 37.67 kB / 1.235 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/1.657, allocations: 2.219 MB / 1.237 GB, free: 118 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.657, allocations: 0 / 1.237 GB, free: 118 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005196/1.662, allocations: 2.964 MB / 1.24 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/1.662, allocations: 164.4 kB / 1.24 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/1.663, allocations: 11.12 kB / 1.241 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/1.663, allocations: 75.77 kB / 1.241 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/1.663, allocations: 103.5 kB / 1.241 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-05/1.663, allocations: 56.52 kB / 1.241 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0003141/1.664, allocations: 324.8 kB / 1.241 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001581/1.665, allocations: 0.5319 MB / 1.242 GB, free: 116.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (junctionRFF2_1.junctionMN.rears[1].m_flow,junctionRFF2_1.junctionMN.fores[1].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 (154): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/1.667, allocations: 0.9027 MB / 1.242 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002024/1.669, allocations: 1.623 MB / 1.244 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.669, allocations: 0 / 1.244 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/1.67, allocations: 0.9917 MB / 1.245 GB, free: 115 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.671, allocations: 276.1 kB / 1.245 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/1.674, allocations: 1.886 MB / 1.247 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009317/1.675, allocations: 1.316 MB / 1.248 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of SimCode: time 2.5e-07/1.675, allocations: 0 / 1.248 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.03482/1.71, allocations: 26.85 MB / 1.275 GB, free: 105.2 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.TanValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches