Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001609/0.001609, allocations: 110.5 kB / 17.6 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.002007/0.002007, allocations: 186.8 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.505/1.505, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7796/0.7796, allocations: 94.58 MB / 399.1 MB, free: 15.82 MB / 334.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-main/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_dev_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_dev_ThermofluidStream.Examples.SimpleStream") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 79.88 kB / 0.5448 GB, free: 12.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.5827, allocations: 71.84 MB / 0.615 GB, free: 4.113 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.9896/1.572, allocations: 286.7 MB / 0.8949 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03558/1.608, allocations: 27.64 MB / 0.9219 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/1.61, allocations: 47.78 kB / 0.922 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00454/1.615, allocations: 1.456 MB / 0.9234 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01984/1.635, allocations: 4.752 MB / 0.928 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008023/1.643, allocations: 2.06 MB / 0.9301 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004955/1.648, allocations: 2.255 MB / 0.9323 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/1.649, allocations: 390.4 kB / 0.9326 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004138/1.653, allocations: 1.386 MB / 0.934 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/1.655, allocations: 1.036 MB / 0.935 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003225/1.656, allocations: 137.1 kB / 0.9351 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02332/1.679, allocations: 9.217 MB / 0.9441 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001799/1.681, allocations: 0.4891 MB / 0.9446 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002458/1.683, allocations: 0.8409 MB / 0.9454 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02289/1.706, allocations: 5.561 MB / 0.9509 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.706, allocations: 7.469 kB / 0.9509 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.034e-06/1.706, allocations: 2.625 kB / 0.9509 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.454e-05/1.706, allocations: 1.031 kB / 0.9509 GB, free: 0.5977 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.01021/1.716, allocations: 2.801 MB / 0.9536 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 8.249e-05/1.717, allocations: 11.5 kB / 0.9536 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006855/1.717, allocations: 186.8 kB / 0.9538 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/1.72, allocations: 1.024 MB / 0.9548 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.406e-05/1.72, allocations: 92.05 kB / 0.9549 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/1.72, allocations: 115.9 kB / 0.955 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/1.723, allocations: 1.773 MB / 0.9567 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/1.723, allocations: 2.656 kB / 0.9567 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/1.723, allocations: 47.69 kB / 0.9568 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/1.723, allocations: 115.5 kB / 0.9569 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/1.726, allocations: 1.886 MB / 0.9587 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/1.737, allocations: 7.979 MB / 0.9665 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/1.739, allocations: 0.8396 MB / 0.9673 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009085/1.74, allocations: 0.6097 MB / 0.9679 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002278/1.742, allocations: 2.356 MB / 0.9702 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/1.742, allocations: 46.5 kB / 0.9703 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=101): time 4.418e-06/1.742, allocations: 0 / 0.9703 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103): time 0.00757/1.749, allocations: 3.843 MB / 0.974 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/1.749, allocations: 64.12 kB / 0.9741 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/1.751, allocations: 0.8091 MB / 0.9749 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.882e-05/1.751, allocations: 47.23 kB / 0.9749 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/1.751, allocations: 0.6156 MB / 0.9755 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/1.752, allocations: 365.9 kB / 0.9759 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/1.752, allocations: 187.8 kB / 0.976 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.752, allocations: 342.6 kB / 0.9764 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000725/1.753, allocations: 0.4933 MB / 0.9769 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/1.754, allocations: 0.5771 MB / 0.9774 GB, free: 2.816 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.001859/1.756, allocations: 1.234 MB / 0.9786 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.756, allocations: 0 / 0.9786 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002669/1.758, allocations: 1.494 MB / 0.9801 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/1.758, allocations: 8.281 kB / 0.9801 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.758, allocations: 1.812 kB / 0.9801 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/1.759, allocations: 171.6 kB / 0.9803 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/1.76, allocations: 191.6 kB / 0.9804 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/1.763, allocations: 2.695 MB / 0.9831 GB, free: 112 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008259/1.764, allocations: 24.84 kB / 0.9831 GB, free: 104 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/1.764, allocations: 70.83 kB / 0.9832 GB, free: 44 kB / 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 (95): * Single equations (assignments): 89 * 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.0008795/1.765, allocations: 339.2 kB / 0.9835 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/1.765, allocations: 123.2 kB / 0.9836 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/1.769, allocations: 2.13 MB / 0.9857 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/1.769, allocations: 12 kB / 0.9857 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.769, allocations: 4 kB / 0.9857 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/1.769, allocations: 3.984 kB / 0.9857 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006333/1.776, allocations: 3.349 MB / 0.989 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.776, allocations: 3.984 kB / 0.989 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/1.776, allocations: 183.5 kB / 0.9892 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006476/1.777, allocations: 173.1 kB / 0.9893 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.777, allocations: 55.11 kB / 0.9894 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003661/1.781, allocations: 2.695 MB / 0.992 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.781, allocations: 6.469 kB / 0.992 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/1.785, allocations: 2.346 MB / 0.9943 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/1.785, allocations: 196.2 kB / 0.9945 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/1.786, allocations: 20 kB / 0.9945 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/1.786, allocations: 27.34 kB / 0.9945 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/1.786, allocations: 84.88 kB / 0.9946 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.786, allocations: 59.97 kB / 0.9947 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001009/1.787, allocations: 0.5971 MB / 0.9953 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.787, allocations: 0 / 0.9953 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004054/1.791, allocations: 0.9429 MB / 0.9962 GB, free: 3.566 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.004123/1.796, allocations: 1.213 MB / 0.9974 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003156/1.799, allocations: 1.437 MB / 0.9988 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.799, allocations: 0 / 0.9988 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.8, allocations: 0.8577 MB / 0.9996 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/1.803, allocations: 430.6 kB / 1 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/1.808, allocations: 2.783 MB / 1.003 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.809, allocations: 1.264 MB / 1.004 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001687/1.811, allocations: 0.6049 MB / 1.005 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/1.811, allocations: 135.4 kB / 1.005 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of SimCode: time 1.944e-06/1.811, allocations: 0 / 1.005 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.0695/1.881, allocations: 37.29 MB / 1.041 GB, free: 5.918 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.sim & ./ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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.989368066191673]