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.001428/0.001428, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001741/0.001741, allocations: 189.2 kB / 22.23 MB, free: 5.133 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.529/1.529, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8208/0.8208, allocations: 94.6 MB / 400.9 MB, free: 15.25 MB / 318.1 MB
"
[Timeout remaining time 179]
Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.00249/0.00249, allocations: 78.38 kB / 0.5471 GB, free: 42.56 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1452, allocations: 71.89 MB / 0.6173 GB, free: 8.137 MB / 462.1 MB
Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.7547/0.8999, allocations: 286.8 MB / 0.8974 GB, free: 12.38 MB / 0.6387 GB
Notification: Performance of NFInst.instExpressions: time 0.03749/0.9374, allocations: 27.65 MB / 0.9244 GB, free: 0.6367 MB / 0.6544 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.9394, allocations: 67.44 kB / 0.9245 GB, free: 0.5703 MB / 0.6544 GB
Notification: Performance of NFTyping.typeComponents: time 0.004223/0.9436, allocations: 1.442 MB / 0.9259 GB, free: 15.12 MB / 0.67 GB
Notification: Performance of NFTyping.typeBindings: time 0.01481/0.9584, allocations: 4.789 MB / 0.9305 GB, free: 10.32 MB / 0.67 GB
Notification: Performance of NFTyping.typeClassSections: time 0.006586/0.965, allocations: 2.102 MB / 0.9326 GB, free: 8.207 MB / 0.67 GB
Notification: Performance of NFFlatten.flatten: time 0.005644/0.9706, allocations: 2.268 MB / 0.9348 GB, free: 5.93 MB / 0.67 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.9717, allocations: 388.3 kB / 0.9352 GB, free: 5.516 MB / 0.67 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004226/0.9759, allocations: 1.421 MB / 0.9366 GB, free: 4.09 MB / 0.67 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.9777, allocations: 1.039 MB / 0.9376 GB, free: 3.047 MB / 0.67 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.978, allocations: 136 kB / 0.9377 GB, free: 2.914 MB / 0.67 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.02108/0.9991, allocations: 9.299 MB / 0.9468 GB, free: 9.598 MB / 0.6856 GB
Notification: Performance of NFScalarize.scalarize: time 0.00115/1, allocations: 498.4 kB / 0.9473 GB, free: 9.109 MB / 0.6856 GB
Notification: Performance of NFVerifyModel.verify: time 0.001522/1.002, allocations: 0.8396 MB / 0.9481 GB, free: 8.266 MB / 0.6856 GB
Notification: Performance of NFConvertDAE.convert: time 0.01776/1.019, allocations: 5.569 MB / 0.9535 GB, free: 2.68 MB / 0.6856 GB
Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.019, allocations: 0 / 0.9535 GB, free: 2.68 MB / 0.6856 GB
Notification: Performance of FrontEnd: time 2.675e-06/1.019, allocations: 0 / 0.9535 GB, free: 2.68 MB / 0.6856 GB
Notification: Performance of Transformations before backend: time 3.709e-05/1.02, allocations: 0 / 0.9535 GB, free: 2.68 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.007305/1.027, allocations: 2.722 MB / 0.9562 GB, free: 15.91 MB / 0.7012 GB
Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.027, allocations: 12.03 kB / 0.9562 GB, free: 15.9 MB / 0.7012 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/1.027, allocations: 187.4 kB / 0.9564 GB, free: 15.71 MB / 0.7012 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/1.029, allocations: 0.9335 MB / 0.9573 GB, free: 14.74 MB / 0.7012 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/1.029, allocations: 90.33 kB / 0.9574 GB, free: 14.65 MB / 0.7012 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/1.029, allocations: 127.9 kB / 0.9575 GB, free: 14.53 MB / 0.7012 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/1.032, allocations: 1.797 MB / 0.9593 GB, free: 12.69 MB / 0.7012 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/1.033, allocations: 0 / 0.9593 GB, free: 12.69 MB / 0.7012 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.033, allocations: 51.88 kB / 0.9593 GB, free: 12.64 MB / 0.7012 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/1.033, allocations: 110.4 kB / 0.9594 GB, free: 12.53 MB / 0.7012 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/1.036, allocations: 1.935 MB / 0.9613 GB, free: 10.59 MB / 0.7012 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/1.046, allocations: 7.924 MB / 0.969 GB, free: 1.828 MB / 0.7012 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001553/1.048, allocations: 0.7647 MB / 0.9698 GB, free: 1.055 MB / 0.7012 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/1.049, allocations: 0.6129 MB / 0.9704 GB, free: 452 kB / 0.7012 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007133/1.05, allocations: 272.7 kB / 0.9706 GB, free: 180 kB / 0.7012 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/1.05, allocations: 43.56 kB / 0.9707 GB, free: 124 kB / 0.7012 GB
Notification: Performance of pre-optimization done (n=101): time 4.428e-06/1.05, allocations: 0 / 0.9707 GB, free: 124 kB / 0.7012 GB
Notification: Performance of matching and sorting (n=103): time 0.007273/1.057, allocations: 3.632 MB / 0.9742 GB, free: 12.46 MB / 0.7169 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/1.057, allocations: 64.41 kB / 0.9743 GB, free: 12.38 MB / 0.7169 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/1.058, allocations: 0.7974 MB / 0.9751 GB, free: 11.56 MB / 0.7169 GB
Notification: Performance of collectPreVariables (initialization): time 9.666e-05/1.058, allocations: 41.7 kB / 0.9751 GB, free: 11.52 MB / 0.7169 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000565/1.059, allocations: 0.6104 MB / 0.9757 GB, free: 10.9 MB / 0.7169 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0004268/1.059, allocations: 380.8 kB / 0.9761 GB, free: 10.52 MB / 0.7169 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/1.06, allocations: 186.6 kB / 0.9762 GB, free: 10.33 MB / 0.7169 GB
Notification: Performance of setup shared object (initialization): time 0.0002065/1.06, allocations: 341.9 kB / 0.9766 GB, free: 9.992 MB / 0.7169 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008571/1.061, allocations: 0.5017 MB / 0.9771 GB, free: 9.492 MB / 0.7169 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.062, allocations: 0.5763 MB / 0.9776 GB, free: 8.906 MB / 0.7169 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.002113/1.064, allocations: 1.171 MB / 0.9788 GB, free: 7.727 MB / 0.7169 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.064, allocations: 0 / 0.9788 GB, free: 7.727 MB / 0.7169 GB
Notification: Performance of matching and sorting (n=111) (initialization): time 0.00293/1.067, allocations: 1.501 MB / 0.9802 GB, free: 6.219 MB / 0.7169 GB
Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/1.067, allocations: 8 kB / 0.9802 GB, free: 6.211 MB / 0.7169 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.067, allocations: 0 / 0.9802 GB, free: 6.211 MB / 0.7169 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006917/1.068, allocations: 174.3 kB / 0.9804 GB, free: 6.039 MB / 0.7169 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/1.068, allocations: 183.8 kB / 0.9806 GB, free: 5.859 MB / 0.7169 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/1.072, allocations: 2.601 MB / 0.9831 GB, free: 3.145 MB / 0.7169 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006865/1.073, allocations: 27.95 kB / 0.9831 GB, free: 3.117 MB / 0.7169 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/1.073, allocations: 67.95 kB / 0.9832 GB, free: 3.051 MB / 0.7169 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.0007555/1.074, allocations: 325.7 kB / 0.9835 GB, free: 2.723 MB / 0.7169 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/1.074, allocations: 123.2 kB / 0.9836 GB, free: 2.602 MB / 0.7169 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/1.078, allocations: 2.115 MB / 0.9857 GB, free: 484 kB / 0.7169 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/1.078, allocations: 15.94 kB / 0.9857 GB, free: 468 kB / 0.7169 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.078, allocations: 8 kB / 0.9857 GB, free: 460 kB / 0.7169 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.078, allocations: 7.922 kB / 0.9857 GB, free: 452 kB / 0.7169 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00648/1.085, allocations: 3.326 MB / 0.989 GB, free: 13.03 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.085, allocations: 0 / 0.989 GB, free: 13.03 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007334/1.086, allocations: 183.8 kB / 0.9892 GB, free: 12.85 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006505/1.086, allocations: 168.8 kB / 0.9893 GB, free: 12.68 MB / 0.7325 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/1.086, allocations: 43.91 kB / 0.9894 GB, free: 12.64 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003607/1.09, allocations: 2.589 MB / 0.9919 GB, free: 9.938 MB / 0.7325 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.09, allocations: 4.031 kB / 0.9919 GB, free: 9.934 MB / 0.7325 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004341/1.094, allocations: 2.352 MB / 0.9942 GB, free: 7.559 MB / 0.7325 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/1.095, allocations: 115.2 kB / 0.9943 GB, free: 7.445 MB / 0.7325 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/1.095, allocations: 23.98 kB / 0.9943 GB, free: 7.422 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/1.096, allocations: 31.92 kB / 0.9944 GB, free: 7.391 MB / 0.7325 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/1.096, allocations: 84.94 kB / 0.9944 GB, free: 7.309 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/1.096, allocations: 67.94 kB / 0.9945 GB, free: 7.242 MB / 0.7325 GB
Notification: Performance of sorting global known variables: time 0.0009276/1.097, allocations: 0.583 MB / 0.9951 GB, free: 6.648 MB / 0.7325 GB
Notification: Performance of sort global known variables: time 9.1e-08/1.097, allocations: 4 kB / 0.9951 GB, free: 6.645 MB / 0.7325 GB
Notification: Performance of remove unused functions: time 0.00295/1.1, allocations: 0.9428 MB / 0.996 GB, free: 5.699 MB / 0.7325 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.003616/1.103, allocations: 1.219 MB / 0.9972 GB, free: 4.48 MB / 0.7325 GB
Notification: Performance of simCode: created initialization part: time 0.003213/1.107, allocations: 1.448 MB / 0.9986 GB, free: 3.02 MB / 0.7325 GB
Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.107, allocations: 0 / 0.9986 GB, free: 3.02 MB / 0.7325 GB
Notification: Performance of simCode: created simulation system equations: time 0.001771/1.108, allocations: 0.8515 MB / 0.9994 GB, free: 2.152 MB / 0.7325 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/1.111, allocations: 425.8 kB / 0.9998 GB, free: 1.746 MB / 0.7325 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005794/1.117, allocations: 2.803 MB / 1.003 GB, free: 14.9 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/1.118, allocations: 1.26 MB / 1.004 GB, free: 13.61 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.001651/1.119, allocations: 0.6006 MB / 1.004 GB, free: 13.01 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004767/1.12, allocations: 147.3 kB / 1.005 GB, free: 12.87 MB / 0.7481 GB
Notification: Performance of SimCode: time 1.453e-06/1.12, allocations: 0 / 1.005 GB, free: 12.87 MB / 0.7481 GB
Notification: Performance of Templates: time 0.07166/1.192, allocations: 37.55 MB / 1.041 GB, free: 7.504 MB / 0.7794 GB
"
[Timeout remaining time 659]
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.9973039990291]