Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.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.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") [: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.002053/0.002053, allocations: 184.6 kB / 7.463 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 0.9736/0.9736, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0007818/0.0007819, allocations: 92.41 kB / 261.1 MB, free: 13.61 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.5068/0.5068, allocations: 90.34 MB / 399.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.919e-06/4.94e-06, allocations: 0 / 471.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2424, allocations: 66.25 MB / 0.5253 GB, free: 28.95 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.418/0.6605, allocations: 284.4 MB / 0.803 GB, free: 32.06 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.6607, allocations: 85.83 kB / 0.8031 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.555/3.215, allocations: 1.02 GB / 1.823 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.444e-05/3.215, allocations: 51.86 kB / 1.823 GB, free: 10.64 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.0117/3.227, allocations: 4.365 MB / 1.827 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/3.227, allocations: 8.031 kB / 1.827 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/3.229, allocations: 357.3 kB / 1.828 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/3.231, allocations: 0.9384 MB / 1.828 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/3.231, allocations: 55.94 kB / 1.829 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/3.231, allocations: 95.91 kB / 1.829 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001456/3.232, allocations: 0.9042 MB / 1.83 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/3.234, allocations: 1.282 MB / 1.831 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/3.234, allocations: 4 kB / 1.831 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.64e-05/3.234, allocations: 0 / 1.831 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/3.234, allocations: 44 kB / 1.831 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007291/3.242, allocations: 7.361 MB / 1.838 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/3.243, allocations: 0.9326 MB / 1.839 GB, free: 9.555 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006008/3.243, allocations: 443.5 kB / 1.839 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001974/3.245, allocations: 2.294 MB / 1.842 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/3.245, allocations: 47.81 kB / 1.842 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=141): time 3.747e-06/3.245, allocations: 3.938 kB / 1.842 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.219/3.464, allocations: 6.486 MB / 1.848 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/3.464, allocations: 65.59 kB / 1.848 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007077/3.465, allocations: 0.6824 MB / 1.849 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/3.465, allocations: 25.7 kB / 1.849 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/3.466, allocations: 0.5485 MB / 1.849 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/3.466, allocations: 0.4927 MB / 1.85 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/3.466, allocations: 0 / 1.85 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/3.466, allocations: 365.7 kB / 1.85 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005999/3.467, allocations: 421.4 kB / 1.85 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/3.467, allocations: 0.6956 MB / 1.851 GB, free: 112.1 MB / 0.6042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement5.deltaE_system = 0.0 ($START.conductionElement5.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement3.deltaE_system = 0.0 ($START.conductionElement3.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement1.deltaE_system = 0.0 ($START.conductionElement1.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = 0.0 ($START.conductionElement.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.004624/3.472, allocations: 1.562 MB / 1.853 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/3.472, allocations: 2.375 kB / 1.853 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005806/3.478, allocations: 2.248 MB / 1.855 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/3.478, allocations: 2.812 kB / 1.855 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/3.478, allocations: 8.156 kB / 1.855 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/3.478, allocations: 187.5 kB / 1.855 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/3.479, allocations: 348.7 kB / 1.855 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/3.483, allocations: 7.691 MB / 1.863 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009113/3.484, allocations: 72.72 kB / 1.863 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/3.484, allocations: 100.5 kB / 1.863 GB, free: 104.3 MB / 0.6042 GB Warning: Assuming redundant initial conditions for the following 4 initial equations: conductionElement5.deltaE_system = 0.0 conductionElement3.deltaE_system = 0.0 conductionElement1.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002157/3.484, allocations: 142.6 kB / 1.863 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/3.485, allocations: 134.5 kB / 1.863 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008415/3.493, allocations: 3.815 MB / 1.867 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005223/3.498, allocations: 2.036 MB / 1.869 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/3.498, allocations: 3.562 kB / 1.869 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/3.498, allocations: 9.344 kB / 1.869 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008172/3.506, allocations: 3.995 MB / 1.873 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/3.506, allocations: 2 kB / 1.873 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/3.507, allocations: 280.2 kB / 1.873 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/3.508, allocations: 186.7 kB / 1.873 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/3.508, allocations: 53.06 kB / 1.873 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003575/3.512, allocations: 7.697 MB / 1.881 GB, free: 96.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/3.512, allocations: 1.406 kB / 1.881 GB, free: 96.16 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006432/3.518, allocations: 3.148 MB / 1.884 GB, free: 95.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/3.518, allocations: 215.2 kB / 1.884 GB, free: 95.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/3.519, allocations: 11.53 kB / 1.884 GB, free: 95.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007454/3.519, allocations: 61.33 kB / 1.884 GB, free: 95.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/3.52, allocations: 123.2 kB / 1.884 GB, free: 95.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/3.52, allocations: 85.98 kB / 1.885 GB, free: 95.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004955/3.52, allocations: 0.4988 MB / 1.885 GB, free: 95.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005186/3.525, allocations: 2.073 MB / 1.887 GB, free: 95.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 110 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0046/3.53, allocations: 2.689 MB / 1.89 GB, free: 95.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002441/3.532, allocations: 2.317 MB / 1.892 GB, free: 94.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/3.532, allocations: 3.594 kB / 1.892 GB, free: 94.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/3.534, allocations: 1.743 MB / 1.894 GB, free: 93.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/3.535, allocations: 259.3 kB / 1.894 GB, free: 93.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1658/3.701, allocations: 85.17 MB / 1.977 GB, free: 91.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001617/3.703, allocations: 1.556 MB / 1.979 GB, free: 90.68 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/3.703, allocations: 0 / 1.979 GB, free: 90.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.06797/3.771, allocations: 48.13 MB / 2.026 GB, free: 85.85 MB / 0.6042 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.ConductionElement_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches