Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 201.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009558/0.0009558, allocations: 92.75 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4484/0.4484, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003253, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.5092, allocations: 62.96 MB / 0.5184 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.318/8.827, allocations: 2.772 GB / 3.29 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/8.827, allocations: 90.78 kB / 3.29 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.82/11.65, allocations: 0.7734 GB / 4.064 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.525e-06/11.65, allocations: 0 / 4.064 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002083/11.65, allocations: 46.89 kB / 4.064 GB, free: 48.48 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.01285/11.66, allocations: 3.089 MB / 4.067 GB, free: 46.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/11.66, allocations: 14.06 kB / 4.067 GB, free: 46.95 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00704/11.67, allocations: 0.8462 MB / 4.068 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/11.67, allocations: 1.135 MB / 4.069 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/11.67, allocations: 458.8 kB / 4.069 GB, free: 46.13 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008176/11.67, allocations: 168.1 kB / 4.069 GB, free: 46.13 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009127/11.68, allocations: 3.211 MB / 4.073 GB, free: 44.87 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/11.68, allocations: 22.47 kB / 4.073 GB, free: 44.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006313/11.68, allocations: 84.59 kB / 4.073 GB, free: 44.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/11.68, allocations: 78.97 kB / 4.073 GB, free: 44.79 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007175/11.69, allocations: 2.769 MB / 4.075 GB, free: 44.04 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.01716/11.71, allocations: 15.75 MB / 4.091 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00403/11.71, allocations: 1.453 MB / 4.092 GB, free: 30.86 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/11.71, allocations: 0.5701 MB / 4.093 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/11.71, allocations: 0.6919 MB / 4.093 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/11.71, allocations: 51.03 kB / 4.094 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=101): time 3.216e-06/11.71, allocations: 2.781 kB / 4.094 GB, free: 30.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=117): time 0.01667/11.73, allocations: 5.373 MB / 4.099 GB, free: 28.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/11.73, allocations: 171.1 kB / 4.099 GB, free: 28.13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002726/11.73, allocations: 1.441 MB / 4.1 GB, free: 27.57 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/11.73, allocations: 52.52 kB / 4.1 GB, free: 27.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007028/11.73, allocations: 0.9327 MB / 4.101 GB, free: 26.78 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/11.73, allocations: 415 kB / 4.102 GB, free: 26.47 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/11.73, allocations: 51.72 kB / 4.102 GB, free: 26.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001613/11.73, allocations: 397.4 kB / 4.102 GB, free: 26.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/11.74, allocations: 0.7023 MB / 4.103 GB, free: 25.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/11.74, allocations: 1.952 MB / 4.105 GB, free: 24.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004029/11.74, allocations: 2.834 MB / 4.107 GB, free: 21.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-05/11.74, allocations: 19.09 kB / 4.108 GB, free: 21.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006456/11.75, allocations: 2.888 MB / 4.11 GB, free: 20.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/11.75, allocations: 28.19 kB / 4.11 GB, free: 20.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.351e-05/11.75, allocations: 45.02 kB / 4.11 GB, free: 20.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/11.75, allocations: 429.8 kB / 4.111 GB, free: 20.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/11.75, allocations: 0.5226 MB / 4.111 GB, free: 20.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/11.75, allocations: 2.748 MB / 4.114 GB, free: 18.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/11.76, allocations: 227.8 kB / 4.114 GB, free: 18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/11.76, allocations: 142.2 kB / 4.114 GB, free: 17.97 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.001221/11.76, allocations: 0.5442 MB / 4.115 GB, free: 17.63 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004382/11.76, allocations: 171 kB / 4.115 GB, free: 17.55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006504/11.76, allocations: 5.085 MB / 4.12 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.65e-05/11.76, allocations: 50.41 kB / 4.12 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/11.76, allocations: 0 / 4.12 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/11.76, allocations: 7.688 kB / 4.12 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/11.77, allocations: 7.17 MB / 4.127 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/11.77, allocations: 4 kB / 4.127 GB, free: 9.227 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008883/11.78, allocations: 276.9 kB / 4.127 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/11.78, allocations: 438.4 kB / 4.128 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/11.78, allocations: 28.56 kB / 4.128 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/11.78, allocations: 2.783 MB / 4.131 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/11.78, allocations: 4 kB / 4.131 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006609/11.79, allocations: 4.164 MB / 4.135 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/11.79, allocations: 0.5621 MB / 4.135 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008898/11.79, allocations: 28 kB / 4.135 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/11.79, allocations: 142.8 kB / 4.135 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/11.79, allocations: 114.2 kB / 4.135 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/11.79, allocations: 52.11 kB / 4.135 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00271/11.79, allocations: 1.216 MB / 4.137 GB, free: 264 kB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/11.79, allocations: 0 / 4.137 GB, free: 264 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01101/11.8, allocations: 1.504 MB / 4.138 GB, free: 14.79 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.01211/11.82, allocations: 2.077 MB / 4.14 GB, free: 13.24 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006219/11.82, allocations: 2.289 MB / 4.142 GB, free: 11.23 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/11.82, allocations: 448 / 4.142 GB, free: 11.22 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00286/11.83, allocations: 1.368 MB / 4.144 GB, free: 10 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006479/11.83, allocations: 0.8856 MB / 4.145 GB, free: 9.367 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/11.84, allocations: 5.614 MB / 4.15 GB, free: 4.211 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/11.85, allocations: 1.653 MB / 4.152 GB, free: 2.832 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003246/11.85, allocations: 0.9689 MB / 4.153 GB, free: 2.23 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/11.85, allocations: 139 kB / 4.153 GB, free: 2.102 MB / 0.573 GB Notification: Performance of SimCode: time 1.392e-06/11.85, allocations: 0 / 4.153 GB, free: 2.102 MB / 0.573 GB Notification: Performance of Templates: time 0.4503/12.3, allocations: 68.08 MB / 4.219 GB, free: 57.9 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches