Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 177.1 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 97.34 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4647/0.4647, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 11.98 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4745, allocations: 61.9 MB / 0.5096 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.072/7.547, allocations: 2.771 GB / 3.28 GB, free: 88.06 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/7.547, allocations: 87.95 kB / 3.28 GB, free: 87.98 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.863/10.41, allocations: 0.8183 GB / 4.099 GB, free: 38.17 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.234e-06/10.41, allocations: 0 / 4.099 GB, free: 38.17 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001658/10.41, allocations: 52.97 kB / 4.099 GB, free: 38.16 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01079/10.42, allocations: 3.098 MB / 4.102 GB, free: 36.67 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/10.42, allocations: 11.12 kB / 4.102 GB, free: 36.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006745/10.43, allocations: 0.848 MB / 4.103 GB, free: 36.57 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/10.43, allocations: 1.112 MB / 4.104 GB, free: 36.19 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004112/10.43, allocations: 454.7 kB / 4.104 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006863/10.43, allocations: 168.4 kB / 4.104 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007283/10.44, allocations: 3.195 MB / 4.107 GB, free: 34.86 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.44e-05/10.44, allocations: 15.72 kB / 4.107 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004025/10.44, allocations: 85.8 kB / 4.108 GB, free: 34.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.415e-05/10.44, allocations: 81.69 kB / 4.108 GB, free: 34.78 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006104/10.45, allocations: 2.772 MB / 4.11 GB, free: 34.03 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/10.46, allocations: 15.73 MB / 4.126 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/10.46, allocations: 1.449 MB / 4.127 GB, free: 20.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008654/10.46, allocations: 0.691 MB / 4.128 GB, free: 20.26 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/10.46, allocations: 50.44 kB / 4.128 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=101): time 2.494e-06/10.46, allocations: 0 / 4.128 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=117): time 0.01439/10.48, allocations: 5.377 MB / 4.133 GB, free: 18.47 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/10.48, allocations: 169 kB / 4.133 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/10.48, allocations: 1.272 MB / 4.134 GB, free: 17.79 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/10.48, allocations: 51.55 kB / 4.134 GB, free: 17.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/10.48, allocations: 0.9381 MB / 4.135 GB, free: 16.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000267/10.48, allocations: 416.1 kB / 4.136 GB, free: 16.68 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/10.48, allocations: 50.72 kB / 4.136 GB, free: 16.65 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001128/10.48, allocations: 396.4 kB / 4.136 GB, free: 16.31 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/10.48, allocations: 0.7 MB / 4.137 GB, free: 16.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/10.49, allocations: 1.947 MB / 4.139 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/10.49, allocations: 1.036 MB / 4.14 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.934e-05/10.49, allocations: 10.94 kB / 4.14 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.004809/10.49, allocations: 2.894 MB / 4.143 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.487e-05/10.49, allocations: 22.34 kB / 4.143 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.155e-05/10.49, allocations: 47.25 kB / 4.143 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/10.49, allocations: 434.5 kB / 4.143 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/10.49, allocations: 0.5287 MB / 4.144 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/10.5, allocations: 2.735 MB / 4.146 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/10.5, allocations: 229.9 kB / 4.147 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/10.5, allocations: 140.7 kB / 4.147 GB, free: 10.17 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008927/10.5, allocations: 0.5436 MB / 4.147 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/10.5, allocations: 175.9 kB / 4.147 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005654/10.5, allocations: 5.076 MB / 4.152 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/10.5, allocations: 50.86 kB / 4.152 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.701e-05/10.51, allocations: 0 / 4.152 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/10.51, allocations: 5.953 kB / 4.152 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009049/10.51, allocations: 7.168 MB / 4.159 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/10.51, allocations: 4 kB / 4.159 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000867/10.51, allocations: 283.1 kB / 4.16 GB, free: 3.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/10.52, allocations: 438.7 kB / 4.16 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/10.52, allocations: 31.69 kB / 4.16 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/10.52, allocations: 2.78 MB / 4.163 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/10.52, allocations: 4 kB / 4.163 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00792/10.53, allocations: 4.488 MB / 4.167 GB, free: 13 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/10.53, allocations: 0.5521 MB / 4.168 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005062/10.53, allocations: 28 kB / 4.168 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/10.53, allocations: 149.3 kB / 4.168 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/10.53, allocations: 109.6 kB / 4.168 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/10.53, allocations: 51.27 kB / 4.168 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002239/10.53, allocations: 1.212 MB / 4.169 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/10.53, allocations: 0 / 4.169 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007268/10.54, allocations: 1.504 MB / 4.171 GB, free: 9.754 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.009285/10.55, allocations: 2.054 MB / 4.173 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005861/10.55, allocations: 2.291 MB / 4.175 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/10.55, allocations: 0.625 kB / 4.175 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/10.56, allocations: 1.374 MB / 4.176 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/10.56, allocations: 0.8763 MB / 4.177 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009036/10.57, allocations: 5.597 MB / 4.183 GB, free: 15.21 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/10.57, allocations: 1.705 MB / 4.184 GB, free: 13.83 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002566/10.58, allocations: 0.9651 MB / 4.185 GB, free: 13.23 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/10.58, allocations: 142.2 kB / 4.185 GB, free: 13.1 MB / 0.573 GB Notification: Performance of SimCode: time 8.12e-07/10.58, allocations: 0 / 4.185 GB, free: 13.1 MB / 0.573 GB Notification: Performance of Templates: time 0.4767/11.05, allocations: 65.74 MB / 4.25 GB, free: 63.11 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches