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.001406/0.001406, allocations: 179.4 kB / 18.09 MB, free: 3.746 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.518/1.518, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0008824/0.0008822, allocations: 102.1 kB / 293.3 MB, free: 10.8 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.3994/0.3994, allocations: 44.16 MB / 388.5 MB, free: 39.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004527, allocations: 16 kB / 461.1 MB, free: 1.582 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.404, allocations: 61.88 MB / 0.5107 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.512/5.916, allocations: 2.771 GB / 3.282 GB, free: 86.93 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/5.916, allocations: 93.61 kB / 3.282 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.865/8.782, allocations: 0.773 GB / 4.055 GB, free: 40.42 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.096e-06/8.782, allocations: 0 / 4.055 GB, free: 40.42 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000202/8.782, allocations: 50.66 kB / 4.055 GB, free: 40.41 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.01425/8.796, allocations: 3.083 MB / 4.058 GB, free: 38.92 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/8.796, allocations: 11.09 kB / 4.058 GB, free: 38.92 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007125/8.803, allocations: 0.8421 MB / 4.059 GB, free: 38.82 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/8.807, allocations: 1.148 MB / 4.06 GB, free: 38.45 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005621/8.808, allocations: 459.9 kB / 4.06 GB, free: 38.14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00095/8.809, allocations: 171.8 kB / 4.061 GB, free: 38.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009834/8.819, allocations: 3.208 MB / 4.064 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001442/8.819, allocations: 23.03 kB / 4.064 GB, free: 37.37 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008141/8.82, allocations: 83.02 kB / 4.064 GB, free: 37.37 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/8.82, allocations: 80.41 kB / 4.064 GB, free: 37.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007923/8.828, allocations: 2.769 MB / 4.067 GB, free: 37.35 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.0194/8.847, allocations: 15.75 MB / 4.082 GB, free: 26.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004142/8.851, allocations: 1.442 MB / 4.083 GB, free: 26.39 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/8.853, allocations: 0.5774 MB / 4.084 GB, free: 26.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009756/8.854, allocations: 0.6862 MB / 4.085 GB, free: 25.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/8.854, allocations: 44.94 kB / 4.085 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=101): time 3.667e-06/8.854, allocations: 0 / 4.085 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=117): time 0.01665/8.87, allocations: 5.372 MB / 4.09 GB, free: 25.08 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/8.871, allocations: 173.6 kB / 4.09 GB, free: 24.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/8.873, allocations: 1.438 MB / 4.091 GB, free: 24.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000214/8.873, allocations: 53.17 kB / 4.091 GB, free: 24.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000706/8.874, allocations: 0.938 MB / 4.092 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/8.875, allocations: 418.2 kB / 4.093 GB, free: 23.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/8.875, allocations: 44.97 kB / 4.093 GB, free: 23.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001622/8.875, allocations: 397 kB / 4.093 GB, free: 23.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/8.876, allocations: 0.7083 MB / 4.094 GB, free: 23.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/8.879, allocations: 1.945 MB / 4.096 GB, free: 22 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/8.882, allocations: 2.842 MB / 4.099 GB, free: 20.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.594e-05/8.883, allocations: 21.72 kB / 4.099 GB, free: 20.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00589/8.888, allocations: 2.887 MB / 4.101 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/8.888, allocations: 24.72 kB / 4.101 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.478e-05/8.889, allocations: 44.88 kB / 4.102 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/8.89, allocations: 433.5 kB / 4.102 GB, free: 19.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/8.891, allocations: 0.5243 MB / 4.102 GB, free: 19.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/8.893, allocations: 2.738 MB / 4.105 GB, free: 17.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/8.896, allocations: 230.5 kB / 4.105 GB, free: 17.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/8.896, allocations: 145.1 kB / 4.105 GB, free: 17.67 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.001343/8.897, allocations: 0.5403 MB / 4.106 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005041/8.898, allocations: 178.8 kB / 4.106 GB, free: 17.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006963/8.905, allocations: 5.066 MB / 4.111 GB, free: 16.83 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.385e-05/8.905, allocations: 55.06 kB / 4.111 GB, free: 16.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/8.905, allocations: 6.156 kB / 4.111 GB, free: 16.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/8.905, allocations: 7.781 kB / 4.111 GB, free: 16.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/8.916, allocations: 7.173 MB / 4.118 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/8.916, allocations: 3.844 kB / 4.118 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009357/8.917, allocations: 281.9 kB / 4.118 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/8.918, allocations: 434.8 kB / 4.119 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/8.918, allocations: 29.75 kB / 4.119 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/8.92, allocations: 2.777 MB / 4.122 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/8.92, allocations: 3.812 kB / 4.122 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006392/8.926, allocations: 4.164 MB / 4.126 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/8.928, allocations: 0.5559 MB / 4.126 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006311/8.928, allocations: 27.36 kB / 4.126 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/8.93, allocations: 147.7 kB / 4.126 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/8.93, allocations: 107.9 kB / 4.126 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/8.931, allocations: 51.06 kB / 4.127 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00251/8.933, allocations: 1.212 MB / 4.128 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.01e-07/8.933, allocations: 0 / 4.128 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008144/8.941, allocations: 1.499 MB / 4.129 GB, free: 8.875 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.009983/8.951, allocations: 2.073 MB / 4.131 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0051/8.956, allocations: 2.285 MB / 4.133 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/8.957, allocations: 4.219 kB / 4.133 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002359/8.959, allocations: 1.369 MB / 4.135 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005884/8.965, allocations: 0.8856 MB / 4.136 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008929/8.974, allocations: 5.619 MB / 4.141 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/8.976, allocations: 1.65 MB / 4.143 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003338/8.979, allocations: 0.9755 MB / 4.144 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006097/8.98, allocations: 141.7 kB / 4.144 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of SimCode: time 1.582e-06/8.98, allocations: 3.938 kB / 4.144 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.4817/9.461, allocations: 68.12 MB / 4.21 GB, free: 69.51 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/jenkins1/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