Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 198.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 226.5 MB / 244.1 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008297/0.0008296, allocations: 107.5 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4105/0.4105, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003144, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4676, allocations: 62.95 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.074/7.541, allocations: 2.772 GB / 3.288 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/7.542, allocations: 89 kB / 3.289 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.722/10.26, allocations: 0.7734 GB / 4.062 GB, free: 48.6 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.116e-06/10.26, allocations: 0 / 4.062 GB, free: 48.6 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001874/10.26, allocations: 59.72 kB / 4.062 GB, free: 48.59 MB / 0.5573 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.01234/10.28, allocations: 3.084 MB / 4.065 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/10.28, allocations: 11.62 kB / 4.065 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007139/10.28, allocations: 0.8433 MB / 4.066 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/10.29, allocations: 1.139 MB / 4.067 GB, free: 46.56 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005311/10.29, allocations: 460.8 kB / 4.067 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000819/10.29, allocations: 169.7 kB / 4.067 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008914/10.3, allocations: 3.211 MB / 4.071 GB, free: 44.59 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/10.3, allocations: 24.53 kB / 4.071 GB, free: 44.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005829/10.3, allocations: 83.75 kB / 4.071 GB, free: 44.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/10.3, allocations: 80.05 kB / 4.071 GB, free: 44.51 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007297/10.31, allocations: 2.77 MB / 4.074 GB, free: 43.76 MB / 0.5573 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.01773/10.32, allocations: 15.74 MB / 4.089 GB, free: 30.97 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004445/10.33, allocations: 1.448 MB / 4.09 GB, free: 30.59 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/10.33, allocations: 0.5758 MB / 4.091 GB, free: 30.42 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/10.33, allocations: 0.6962 MB / 4.092 GB, free: 29.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/10.33, allocations: 46.97 kB / 4.092 GB, free: 29.78 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=101): time 3.697e-06/10.33, allocations: 0 / 4.092 GB, free: 29.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=117): time 0.01786/10.35, allocations: 5.373 MB / 4.097 GB, free: 28.05 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/10.35, allocations: 170.2 kB / 4.097 GB, free: 27.86 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/10.35, allocations: 1.448 MB / 4.098 GB, free: 27.29 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002163/10.35, allocations: 49.3 kB / 4.098 GB, free: 27.24 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009233/10.35, allocations: 0.9301 MB / 4.099 GB, free: 26.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/10.35, allocations: 422.5 kB / 4.1 GB, free: 26.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/10.35, allocations: 46.62 kB / 4.1 GB, free: 26.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002171/10.35, allocations: 395.8 kB / 4.1 GB, free: 25.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/10.36, allocations: 0.7094 MB / 4.101 GB, free: 25.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/10.36, allocations: 1.944 MB / 4.103 GB, free: 23.76 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004693/10.36, allocations: 2.842 MB / 4.106 GB, free: 21.45 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.842e-05/10.36, allocations: 21.56 kB / 4.106 GB, free: 21.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005994/10.37, allocations: 2.884 MB / 4.108 GB, free: 20.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/10.37, allocations: 24.19 kB / 4.108 GB, free: 20.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.647e-05/10.37, allocations: 48.62 kB / 4.108 GB, free: 20.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/10.37, allocations: 432 kB / 4.109 GB, free: 20.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/10.37, allocations: 0.5262 MB / 4.109 GB, free: 20.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/10.37, allocations: 2.736 MB / 4.112 GB, free: 17.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/10.38, allocations: 225.3 kB / 4.112 GB, free: 17.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/10.38, allocations: 144 kB / 4.112 GB, free: 17.71 MB / 0.5573 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.001232/10.38, allocations: 0.5337 MB / 4.113 GB, free: 17.37 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/10.38, allocations: 176.2 kB / 4.113 GB, free: 17.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006712/10.39, allocations: 5.081 MB / 4.118 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.395e-05/10.39, allocations: 50.59 kB / 4.118 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/10.39, allocations: 3.375 kB / 4.118 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/10.39, allocations: 13.97 kB / 4.118 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009762/10.4, allocations: 7.173 MB / 4.125 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/10.4, allocations: 4 kB / 4.125 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008853/10.4, allocations: 272.7 kB / 4.125 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/10.4, allocations: 441.5 kB / 4.126 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/10.4, allocations: 28 kB / 4.126 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/10.4, allocations: 2.783 MB / 4.129 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/10.4, allocations: 1.562 kB / 4.129 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005912/10.41, allocations: 4.165 MB / 4.133 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/10.41, allocations: 0.5573 MB / 4.133 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006101/10.41, allocations: 24 kB / 4.133 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/10.41, allocations: 153.7 kB / 4.133 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/10.41, allocations: 112.2 kB / 4.133 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/10.41, allocations: 47.75 kB / 4.133 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00239/10.41, allocations: 1.229 MB / 4.135 GB, free: 15.82 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/10.41, allocations: 4 kB / 4.135 GB, free: 15.82 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008121/10.42, allocations: 1.506 MB / 4.136 GB, free: 14.34 MB / 0.573 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.01022/10.43, allocations: 2.078 MB / 4.138 GB, free: 12.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005484/10.44, allocations: 2.293 MB / 4.14 GB, free: 10.78 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/10.44, allocations: 448 / 4.14 GB, free: 10.78 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/10.44, allocations: 1.367 MB / 4.142 GB, free: 9.559 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006001/10.44, allocations: 0.8782 MB / 4.143 GB, free: 8.926 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/10.45, allocations: 5.692 MB / 4.148 GB, free: 3.691 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/10.46, allocations: 1.648 MB / 4.15 GB, free: 2.316 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/10.46, allocations: 155 kB / 4.15 GB, free: 2.172 MB / 0.573 GB Notification: Performance of SimCode: time 1.633e-06/10.46, allocations: 0 / 4.15 GB, free: 2.172 MB / 0.573 GB Notification: Performance of Templates: time 0.4637/10.92, allocations: 83.57 MB / 4.232 GB, free: 53.66 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches