Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002394/0.002393, allocations: 181.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001104/0.001104, allocations: 90.81 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2585/0.2585, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.15, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.872/8.022, allocations: 2.765 GB / 3.244 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/8.022, allocations: 88.14 kB / 3.244 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.166/11.19, allocations: 0.81 GB / 4.054 GB, free: 41.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.345e-06/11.19, allocations: 0 / 4.054 GB, free: 41.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001911/11.19, allocations: 52.36 kB / 4.054 GB, free: 41.42 MB / 0.5261 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.01336/11.2, allocations: 3.106 MB / 4.057 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/11.2, allocations: 7.781 kB / 4.057 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007068/11.21, allocations: 0.843 MB / 4.058 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/11.21, allocations: 1.11 MB / 4.059 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004498/11.21, allocations: 458.1 kB / 4.06 GB, free: 39.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007219/11.21, allocations: 180.4 kB / 4.06 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00836/11.22, allocations: 3.194 MB / 4.063 GB, free: 38.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.693e-05/11.22, allocations: 18.59 kB / 4.063 GB, free: 38.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004605/11.22, allocations: 82.7 kB / 4.063 GB, free: 38.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.807e-05/11.22, allocations: 85.05 kB / 4.063 GB, free: 38.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006674/11.23, allocations: 2.77 MB / 4.066 GB, free: 37.86 MB / 0.5261 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.01703/11.25, allocations: 15.73 MB / 4.081 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/11.25, allocations: 1.446 MB / 4.083 GB, free: 24.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009308/11.25, allocations: 0.6929 MB / 4.083 GB, free: 24.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/11.25, allocations: 48.41 kB / 4.083 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=101): time 3.156e-06/11.25, allocations: 0 / 4.083 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117): time 0.01574/11.27, allocations: 5.389 MB / 4.089 GB, free: 22.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/11.27, allocations: 166.6 kB / 4.089 GB, free: 22.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/11.27, allocations: 1.265 MB / 4.09 GB, free: 21.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/11.27, allocations: 52.77 kB / 4.09 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005993/11.27, allocations: 0.9388 MB / 4.091 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/11.27, allocations: 428.1 kB / 4.091 GB, free: 20.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/11.27, allocations: 43.81 kB / 4.091 GB, free: 20.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001244/11.27, allocations: 394.8 kB / 4.092 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/11.27, allocations: 0.713 MB / 4.092 GB, free: 19.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/11.27, allocations: 1.934 MB / 4.094 GB, free: 18.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/11.28, allocations: 1.034 MB / 4.095 GB, free: 17.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.999e-05/11.28, allocations: 12 kB / 4.095 GB, free: 17.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005373/11.28, allocations: 2.901 MB / 4.098 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/11.28, allocations: 23.91 kB / 4.098 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.997e-05/11.28, allocations: 41.09 kB / 4.098 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/11.28, allocations: 439.7 kB / 4.099 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/11.28, allocations: 0.5223 MB / 4.099 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/11.29, allocations: 2.728 MB / 4.102 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/11.29, allocations: 236.4 kB / 4.102 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/11.29, allocations: 135.4 kB / 4.102 GB, free: 14.02 MB / 0.5261 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.001251/11.29, allocations: 0.54 MB / 4.103 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/11.29, allocations: 172.4 kB / 4.103 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006528/11.3, allocations: 5.08 MB / 4.108 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/11.3, allocations: 46.2 kB / 4.108 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/11.3, allocations: 0 / 4.108 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/11.3, allocations: 8.453 kB / 4.108 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009863/11.31, allocations: 7.175 MB / 4.115 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/11.31, allocations: 8.266 kB / 4.115 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000917/11.31, allocations: 277.3 kB / 4.115 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/11.31, allocations: 433.1 kB / 4.116 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/11.31, allocations: 31.94 kB / 4.116 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/11.31, allocations: 2.785 MB / 4.118 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/11.31, allocations: 8 kB / 4.118 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009939/11.32, allocations: 4.674 MB / 4.123 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/11.32, allocations: 0.5603 MB / 4.123 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/11.32, allocations: 24 kB / 4.124 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/11.33, allocations: 146.9 kB / 4.124 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/11.33, allocations: 110.7 kB / 4.124 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/11.33, allocations: 54.75 kB / 4.124 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003072/11.33, allocations: 1.215 MB / 4.125 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.91e-07/11.33, allocations: 4 kB / 4.125 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007986/11.34, allocations: 1.492 MB / 4.126 GB, free: 12.7 MB / 0.5417 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.008602/11.35, allocations: 2.064 MB / 4.128 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005245/11.35, allocations: 2.294 MB / 4.131 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/11.35, allocations: 0.625 kB / 4.131 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002443/11.35, allocations: 1.365 MB / 4.132 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004392/11.36, allocations: 0.8633 MB / 4.133 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009605/11.37, allocations: 5.609 MB / 4.138 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/11.37, allocations: 1.703 MB / 4.14 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002901/11.37, allocations: 0.9647 MB / 4.141 GB, free: 172 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/11.37, allocations: 138.4 kB / 4.141 GB, free: 40 kB / 0.5417 GB Notification: Performance of SimCode: time 1.433e-06/11.37, allocations: 0 / 4.141 GB, free: 40 kB / 0.5417 GB Notification: Performance of Templates: time 0.4234/11.8, allocations: 65.84 MB / 4.205 GB, free: 50.56 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches