Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.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.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink") [: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.00186/0.00186, allocations: 181.6 kB / 7.456 MB, free: 2.523 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.9069/0.9069, 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.0007474/0.0007474, allocations: 98.41 kB / 261.1 MB, free: 13.55 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.4637/0.4637, allocations: 90.35 MB / 399.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.508e-06/4.518e-06, allocations: 0 / 471.7 MB, free: 3.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1934, allocations: 66.26 MB / 0.5253 GB, free: 29.02 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5807/0.7742, allocations: 429.9 MB / 0.9451 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.7744, allocations: 74.8 kB / 0.9452 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.0872/0.8616, allocations: 55.85 MB / 0.9997 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.8616, allocations: 8 kB / 0.9997 GB, free: 151.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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004709/0.8621, allocations: 468.4 kB / 1 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.8622, allocations: 8.031 kB / 1 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.8622, allocations: 27.2 kB / 1 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.8624, allocations: 237.3 kB / 1 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.8624, allocations: 4 kB / 1 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.8624, allocations: 4 kB / 1 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001157/0.8626, allocations: 69.53 kB / 1.001 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.8627, allocations: 121.9 kB / 1.001 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8627, allocations: 7.875 kB / 1.001 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.8627, allocations: 3.906 kB / 1.001 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.8628, allocations: 4 kB / 1.001 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.8633, allocations: 0.719 MB / 1.001 GB, free: 150 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.8634, allocations: 113.8 kB / 1.001 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.8635, allocations: 52.66 kB / 1.001 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.8635, allocations: 7.984 kB / 1.002 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.019e-05/0.8636, allocations: 34.06 kB / 1.002 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.8636, allocations: 4 kB / 1.002 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0003402/0.8639, allocations: 150.8 kB / 1.002 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.8639, allocations: 85.09 kB / 1.002 GB, free: 149.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.864, allocations: 136.1 kB / 1.002 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.864, allocations: 25.7 kB / 1.002 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.018e-05/0.8641, allocations: 115.2 kB / 1.002 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.8641, allocations: 42.7 kB / 1.002 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.8641, allocations: 0 / 1.002 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.8641, allocations: 322.1 kB / 1.002 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.8642, allocations: 34.88 kB / 1.002 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.757e-05/0.8642, allocations: 58.42 kB / 1.002 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.8643, allocations: 39.08 kB / 1.003 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8643, allocations: 0 / 1.003 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002482/0.8646, allocations: 159.4 kB / 1.003 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.8646, allocations: 11.98 kB / 1.003 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8646, allocations: 0 / 1.003 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.8648, allocations: 37.08 kB / 1.003 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.8648, allocations: 11.75 kB / 1.003 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009988/0.8658, allocations: 2.448 MB / 1.005 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.8659, allocations: 7.844 kB / 1.005 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.8659, allocations: 4.031 kB / 1.005 GB, free: 146 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.866, allocations: 112.8 kB / 1.005 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.866, allocations: 15.81 kB / 1.005 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.8663, allocations: 161.1 kB / 1.005 GB, free: 145.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.8663, allocations: 4 kB / 1.005 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.8663, allocations: 0 / 1.005 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8663, allocations: 0 / 1.005 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.8665, allocations: 215.6 kB / 1.006 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8665, allocations: 0 / 1.006 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.8666, allocations: 8 kB / 1.006 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.379e-05/0.8667, allocations: 41.38 kB / 1.006 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.8667, allocations: 3.562 kB / 1.006 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009005/0.8676, allocations: 2.454 MB / 1.008 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8676, allocations: 4.031 kB / 1.008 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002964/0.8679, allocations: 387.5 kB / 1.008 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.868, allocations: 88.92 kB / 1.009 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.868, allocations: 3.938 kB / 1.009 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.8681, allocations: 0 / 1.009 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.8681, allocations: 7.984 kB / 1.009 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.8681, allocations: 4 kB / 1.009 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.433e-05/0.8682, allocations: 117.6 kB / 1.009 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003037/0.8685, allocations: 59.7 kB / 1.009 GB, free: 142.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (source.outlet.m_flow,source1.outlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002077/0.8687, allocations: 231.5 kB / 1.009 GB, free: 142 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.869, allocations: 347.6 kB / 1.009 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8691, allocations: 4.125 kB / 1.009 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.8693, allocations: 311.9 kB / 1.01 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.8696, allocations: 45.69 kB / 1.01 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.87, allocations: 315.9 kB / 1.01 GB, free: 141 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.8702, allocations: 0.7549 MB / 1.011 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/0.8702, allocations: 0 / 1.011 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.004811/0.875, allocations: 3.267 MB / 1.014 GB, free: 137 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches