Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") [: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.001761/0.001761, allocations: 183 kB / 7.461 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.8983/0.8983, 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.0007527/0.0007527, allocations: 89.42 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.4598/0.4598, allocations: 90.35 MB / 399.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.392e-06, allocations: 4 kB / 471.7 MB, free: 3.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1983, allocations: 66.26 MB / 0.5253 GB, free: 28.93 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5834/0.7817, allocations: 431 MB / 0.9462 GB, free: 164.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001689/0.7819, allocations: 77.33 kB / 0.9463 GB, free: 164.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.07584/0.8578, allocations: 47.03 MB / 0.9922 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.8578, allocations: 4 kB / 0.9922 GB, free: 154.6 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00057/0.8584, allocations: 0.5112 MB / 0.9927 GB, free: 154 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.8584, allocations: 12.03 kB / 0.9927 GB, free: 154 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.8585, allocations: 19.72 kB / 0.9927 GB, free: 154 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.8587, allocations: 222.3 kB / 0.993 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.8587, allocations: 4 kB / 0.993 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.8587, allocations: 8 kB / 0.993 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001259/0.8589, allocations: 58.98 kB / 0.993 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.859, allocations: 129.7 kB / 0.9932 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.859, allocations: 3.984 kB / 0.9932 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.859, allocations: 11.8 kB / 0.9932 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.8591, allocations: 0 / 0.9932 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.8596, allocations: 0.7529 MB / 0.9939 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.779e-05/0.8597, allocations: 45.09 kB / 0.9939 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.8598, allocations: 32.28 kB / 0.994 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.968e-05/0.8599, allocations: 81.11 kB / 0.9941 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.065e-05/0.86, allocations: 74.45 kB / 0.9941 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.86, allocations: 0 / 0.9941 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0001811/0.8601, allocations: 96.42 kB / 0.9942 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.356e-05/0.8602, allocations: 51.41 kB / 0.9943 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.8603, allocations: 161.2 kB / 0.9944 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.8603, allocations: 29.64 kB / 0.9944 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.8603, allocations: 127.1 kB / 0.9946 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.8603, allocations: 23.56 kB / 0.9946 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.8604, allocations: 4 kB / 0.9946 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.636e-05/0.8604, allocations: 334.4 kB / 0.9949 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.003e-05/0.8605, allocations: 31.38 kB / 0.9949 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.8605, allocations: 71.45 kB / 0.995 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.373e-05/0.8606, allocations: 42.8 kB / 0.9951 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8606, allocations: 0 / 0.9951 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001899/0.8608, allocations: 134.7 kB / 0.9952 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.8608, allocations: 7.906 kB / 0.9952 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.8608, allocations: 0 / 0.9952 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.8608, allocations: 4 kB / 0.9952 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.861, allocations: 40.06 kB / 0.9952 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.861, allocations: 4 kB / 0.9952 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.8612, allocations: 25.2 kB / 0.9953 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.8612, allocations: 4 kB / 0.9953 GB, free: 151.5 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.8612, allocations: 120.8 kB / 0.9954 GB, free: 151.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.8613, allocations: 15.81 kB / 0.9954 GB, free: 151.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.8614, allocations: 93.75 kB / 0.9955 GB, free: 151.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.8615, allocations: 8 kB / 0.9955 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.8615, allocations: 3.938 kB / 0.9955 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8615, allocations: 7.891 kB / 0.9955 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.8616, allocations: 192.5 kB / 0.9957 GB, free: 151 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8616, allocations: 0 / 0.9957 GB, free: 151 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.8617, allocations: 27.92 kB / 0.9957 GB, free: 151 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.8617, allocations: 3.938 kB / 0.9957 GB, free: 151 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.8617, allocations: 4 kB / 0.9957 GB, free: 151 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8617, allocations: 0 / 0.9957 GB, free: 151 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8617, allocations: 3.906 kB / 0.9957 GB, free: 151 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001905/0.8619, allocations: 160 kB / 0.9959 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.862, allocations: 96.97 kB / 0.996 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.862, allocations: 0 / 0.996 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.8621, allocations: 11.98 kB / 0.996 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.8622, allocations: 15.55 kB / 0.996 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.8622, allocations: 3.984 kB / 0.996 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.398e-05/0.8623, allocations: 125.5 kB / 0.9961 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002239/0.8625, allocations: 58.91 kB / 0.9962 GB, free: 150.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * 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 (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.8627, allocations: 214.9 kB / 0.9964 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.8628, allocations: 113.4 kB / 0.9965 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8628, allocations: 4.312 kB / 0.9965 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.113e-05/0.8629, allocations: 31.25 kB / 0.9965 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.8631, allocations: 28.36 kB / 0.9965 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.8636, allocations: 249.5 kB / 0.9968 GB, free: 150 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.8637, allocations: 0.7352 MB / 0.9975 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/0.8638, allocations: 0 / 0.9975 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.004399/0.8682, allocations: 2.709 MB / 1 GB, free: 146.5 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches