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.001079/0.001079, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.304/1.304, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008897/0.0008896, allocations: 87.44 kB / 267 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3496/0.3496, allocations: 43.47 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.036e-05, allocations: 4 kB / 425.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 58.86 MB / 484.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.823/5.934, allocations: 2.765 GB / 3.238 GB, free: 58.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/5.934, allocations: 81.33 kB / 3.238 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.625/8.559, allocations: 0.8077 GB / 4.046 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/8.559, allocations: 1.562 kB / 4.046 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001004/8.559, allocations: 48.34 kB / 4.046 GB, free: 37.69 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.009022/8.568, allocations: 2.974 MB / 4.049 GB, free: 36.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/8.568, allocations: 9.625 kB / 4.049 GB, free: 36.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006002/8.574, allocations: 0.8524 MB / 4.05 GB, free: 35.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/8.577, allocations: 1.111 MB / 4.051 GB, free: 35.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/8.577, allocations: 460.1 kB / 4.051 GB, free: 34.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/8.577, allocations: 167.4 kB / 4.051 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005278/8.582, allocations: 3.123 MB / 4.054 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.582e-05/8.582, allocations: 17.16 kB / 4.054 GB, free: 33.33 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/8.583, allocations: 83.17 kB / 4.055 GB, free: 33.28 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.456e-05/8.583, allocations: 83.44 kB / 4.055 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004481/8.587, allocations: 2.563 MB / 4.057 GB, free: 32.49 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.01295/8.6, allocations: 15.74 MB / 4.072 GB, free: 19.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/8.603, allocations: 1.333 MB / 4.074 GB, free: 18.74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/8.604, allocations: 436.1 kB / 4.074 GB, free: 18.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009203/8.605, allocations: 0.696 MB / 4.075 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/8.605, allocations: 55.44 kB / 4.075 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=101): time 3.036e-06/8.605, allocations: 0 / 4.075 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117): time 0.01153/8.616, allocations: 4.542 MB / 4.079 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/8.616, allocations: 171.1 kB / 4.08 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/8.618, allocations: 1.258 MB / 4.081 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/8.618, allocations: 49.7 kB / 4.081 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/8.618, allocations: 0.9398 MB / 4.082 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/8.619, allocations: 423.8 kB / 4.082 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/8.619, allocations: 44 kB / 4.082 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001006/8.619, allocations: 392.6 kB / 4.083 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/8.62, allocations: 0.5563 MB / 4.083 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/8.621, allocations: 1.789 MB / 4.085 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009971/8.622, allocations: 0.8987 MB / 4.086 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/8.622, allocations: 15.95 kB / 4.086 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.003402/8.625, allocations: 2.584 MB / 4.088 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/8.625, allocations: 24 kB / 4.088 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/8.625, allocations: 40 kB / 4.088 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/8.626, allocations: 439.2 kB / 4.089 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/8.628, allocations: 0.5253 MB / 4.089 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/8.629, allocations: 2.723 MB / 4.092 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/8.631, allocations: 242.2 kB / 4.092 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/8.631, allocations: 135.4 kB / 4.092 GB, free: 0.7734 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 () * 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.0003282/8.632, allocations: 294.8 kB / 4.093 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/8.632, allocations: 173.9 kB / 4.093 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005233/8.637, allocations: 4.797 MB / 4.097 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.295e-05/8.637, allocations: 49.25 kB / 4.097 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/8.637, allocations: 0 / 4.097 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/8.637, allocations: 7.078 kB / 4.097 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008424/8.646, allocations: 6.892 MB / 4.104 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/8.646, allocations: 7.938 kB / 4.104 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/8.647, allocations: 279.9 kB / 4.104 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/8.648, allocations: 437.7 kB / 4.105 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.09e-05/8.648, allocations: 31.98 kB / 4.105 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/8.65, allocations: 2.76 MB / 4.108 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/8.65, allocations: 7.938 kB / 4.108 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3459/8.996, allocations: 3.902 MB / 4.111 GB, free: 55.17 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/8.997, allocations: 0.5559 MB / 4.112 GB, free: 55.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/8.998, allocations: 25.31 kB / 4.112 GB, free: 55.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/8.999, allocations: 152.2 kB / 4.112 GB, free: 55.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/8.999, allocations: 106.6 kB / 4.112 GB, free: 55.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.109e-05/8.999, allocations: 48.97 kB / 4.112 GB, free: 55.08 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001728/9.001, allocations: 1.192 MB / 4.113 GB, free: 54.92 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.91e-07/9.001, allocations: 0 / 4.113 GB, free: 54.92 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006278/9.007, allocations: 1.493 MB / 4.115 GB, free: 54.92 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 () * 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.006478/9.014, allocations: 2.065 MB / 4.117 GB, free: 54.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003232/9.017, allocations: 1.995 MB / 4.119 GB, free: 54.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/9.017, allocations: 3.125 kB / 4.119 GB, free: 54.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/9.019, allocations: 1.229 MB / 4.12 GB, free: 54.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/9.023, allocations: 0.8615 MB / 4.121 GB, free: 54.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/9.028, allocations: 3.709 MB / 4.125 GB, free: 53.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009259/9.029, allocations: 1.697 MB / 4.126 GB, free: 53.15 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002173/9.031, allocations: 0.9664 MB / 4.127 GB, free: 53.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/9.031, allocations: 137.9 kB / 4.127 GB, free: 53.12 MB / 0.5417 GB Notification: Performance of SimCode: time 8.72e-07/9.031, allocations: 0 / 4.127 GB, free: 53.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.09419/9.125, allocations: 68.83 MB / 4.194 GB, free: 49.93 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