Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleStream.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.6 MB / 249.4 MB, free: 3.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.7523/0.7523, allocations: 90.3 MB / 394.8 MB, free: 3.828 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 79.88 kB / 0.5386 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4846, allocations: 70.83 MB / 0.6078 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.8847/1.369, allocations: 286.5 MB / 0.8876 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03716/1.406, allocations: 27.57 MB / 0.9145 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/1.408, allocations: 21.91 kB / 0.9145 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004292/1.413, allocations: 1.445 MB / 0.9159 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01656/1.429, allocations: 4.686 MB / 0.9205 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.009045/1.438, allocations: 2.057 MB / 0.9225 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005824/1.444, allocations: 2.107 MB / 0.9246 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/1.445, allocations: 374 kB / 0.9249 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004684/1.45, allocations: 1.309 MB / 0.9262 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/1.453, allocations: 1.009 MB / 0.9272 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006878/1.454, allocations: 139.9 kB / 0.9273 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02483/1.478, allocations: 9.221 MB / 0.9363 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001252/1.48, allocations: 487 kB / 0.9368 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002714/1.482, allocations: 0.8092 MB / 0.9376 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01915/1.502, allocations: 5.415 MB / 0.9429 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.502, allocations: 0 / 0.9429 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.983e-06/1.502, allocations: 0.875 kB / 0.9429 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.873e-05/1.502, allocations: 0 / 0.9429 GB, free: 0.9766 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.01272/1.514, allocations: 2.643 MB / 0.9454 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 8.697e-05/1.514, allocations: 12.3 kB / 0.9454 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007404/1.515, allocations: 164.5 kB / 0.9456 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/1.517, allocations: 0.784 MB / 0.9464 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.517, allocations: 88.72 kB / 0.9465 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/1.518, allocations: 124.9 kB / 0.9466 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/1.521, allocations: 1.771 MB / 0.9483 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/1.521, allocations: 0 / 0.9483 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.521, allocations: 61.3 kB / 0.9484 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/1.521, allocations: 111.1 kB / 0.9485 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/1.524, allocations: 1.882 MB / 0.9503 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/1.534, allocations: 7.947 MB / 0.9581 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/1.536, allocations: 0.8326 MB / 0.9589 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008734/1.537, allocations: 0.608 MB / 0.9595 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001921/1.539, allocations: 2.352 MB / 0.9618 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/1.539, allocations: 42.88 kB / 0.9618 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=101): time 3.677e-06/1.539, allocations: 0.8438 kB / 0.9618 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103): time 0.006881/1.546, allocations: 3.808 MB / 0.9655 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/1.546, allocations: 65.84 kB / 0.9656 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009333/1.547, allocations: 0.6659 MB / 0.9662 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.058e-05/1.547, allocations: 44.53 kB / 0.9663 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/1.547, allocations: 0.5356 MB / 0.9668 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000312/1.547, allocations: 368.3 kB / 0.9672 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003126/1.548, allocations: 192.9 kB / 0.9673 GB, free: 4.84 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.548, allocations: 340.8 kB / 0.9677 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007157/1.549, allocations: 0.4971 MB / 0.9682 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008406/1.549, allocations: 0.5806 MB / 0.9687 GB, free: 4.352 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system (0.0 = $START.thermalConduction.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/1.551, allocations: 1.235 MB / 0.9699 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.551, allocations: 0 / 0.9699 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002523/1.554, allocations: 1.495 MB / 0.9714 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.554, allocations: 6.938 kB / 0.9714 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.554, allocations: 2.219 kB / 0.9714 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005935/1.554, allocations: 171.4 kB / 0.9716 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/1.555, allocations: 189.1 kB / 0.9717 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/1.558, allocations: 2.705 MB / 0.9744 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/1.559, allocations: 22.98 kB / 0.9744 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/1.559, allocations: 72.98 kB / 0.9745 GB, free: 2.047 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system. 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 90 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001169/1.56, allocations: 327.7 kB / 0.9748 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/1.561, allocations: 96.33 kB / 0.9749 GB, free: 1.852 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005373/1.566, allocations: 2.106 MB / 0.9769 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.179e-05/1.566, allocations: 14.8 kB / 0.9769 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.566, allocations: 7 kB / 0.977 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/1.566, allocations: 7.984 kB / 0.977 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008408/1.575, allocations: 3.312 MB / 0.9802 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/1.575, allocations: 0 / 0.9802 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.576, allocations: 178.3 kB / 0.9804 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009463/1.577, allocations: 178.8 kB / 0.9805 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/1.577, allocations: 44.03 kB / 0.9806 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004714/1.582, allocations: 2.688 MB / 0.9832 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.582, allocations: 0 / 0.9832 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005997/1.588, allocations: 2.341 MB / 0.9855 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000826/1.588, allocations: 164.5 kB / 0.9856 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000499/1.589, allocations: 26.03 kB / 0.9857 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.59, allocations: 23.98 kB / 0.9857 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/1.59, allocations: 84.88 kB / 0.9858 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/1.591, allocations: 71.23 kB / 0.9858 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00144/1.592, allocations: 0.499 MB / 0.9863 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.592, allocations: 0 / 0.9863 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005703/1.598, allocations: 0.9389 MB / 0.9872 GB, free: 9.012 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (thermalConduction.h,heatCapacitor.T,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00591/1.604, allocations: 1.224 MB / 0.9884 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004908/1.609, allocations: 1.447 MB / 0.9899 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.609, allocations: 192 / 0.9899 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002628/1.611, allocations: 0.8613 MB / 0.9907 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/1.615, allocations: 406.2 kB / 0.9911 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008776/1.624, allocations: 2.603 MB / 0.9936 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/1.626, allocations: 1.213 MB / 0.9948 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002854/1.628, allocations: 0.5858 MB / 0.9954 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008109/1.629, allocations: 123.4 kB / 0.9955 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of SimCode: time 2.014e-06/1.629, allocations: 0 / 0.9955 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of Templates: time 0.07505/1.704, allocations: 36.92 MB / 1.032 GB, free: 11.99 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.sim & ./ThermofluidStream_ThermofluidStream.Examples.SimpleStream -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.795453393831849]