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.001598/0.001598, allocations: 180 kB / 14.15 MB, free: 1.176 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.333/1.333, allocations: 221.3 MB / 236 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008887, allocations: 88.09 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1791/0.1791, allocations: 44.14 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.522e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.451/6.563, allocations: 2.771 GB / 3.272 GB, free: 95.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/6.563, allocations: 84.61 kB / 3.272 GB, free: 95.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.125/9.688, allocations: 0.816 GB / 4.088 GB, free: 41.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.773e-06/9.688, allocations: 1.75 kB / 4.088 GB, free: 41.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001908/9.689, allocations: 49.97 kB / 4.088 GB, free: 41.62 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.01239/9.701, allocations: 2.976 MB / 4.091 GB, free: 40.24 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/9.701, allocations: 9.875 kB / 4.091 GB, free: 40.24 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006976/9.708, allocations: 0.8494 MB / 4.092 GB, free: 40.15 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003548/9.712, allocations: 1.112 MB / 4.093 GB, free: 39.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004691/9.712, allocations: 457.9 kB / 4.094 GB, free: 39.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007949/9.713, allocations: 169.7 kB / 4.094 GB, free: 39.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008407/9.721, allocations: 3.134 MB / 4.097 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/9.722, allocations: 14.03 kB / 4.097 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000642/9.722, allocations: 77.31 kB / 4.097 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/9.722, allocations: 83.38 kB / 4.097 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006173/9.728, allocations: 2.558 MB / 4.1 GB, free: 38.68 MB / 0.5417 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.01812/9.747, allocations: 15.74 MB / 4.115 GB, free: 27.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/9.75, allocations: 1.344 MB / 4.116 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006743/9.751, allocations: 440.3 kB / 4.117 GB, free: 27.63 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009866/9.752, allocations: 0.6987 MB / 4.117 GB, free: 27.06 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/9.752, allocations: 52.42 kB / 4.117 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=101): time 2.775e-06/9.752, allocations: 3.156 kB / 4.117 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=117): time 0.01319/9.765, allocations: 4.535 MB / 4.122 GB, free: 26.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/9.765, allocations: 169.1 kB / 4.122 GB, free: 26.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/9.768, allocations: 1.262 MB / 4.123 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/9.768, allocations: 52.52 kB / 4.123 GB, free: 25.86 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006628/9.768, allocations: 0.9329 MB / 4.124 GB, free: 25.37 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003839/9.769, allocations: 419.3 kB / 4.125 GB, free: 25.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/9.769, allocations: 46.59 kB / 4.125 GB, free: 25.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001456/9.769, allocations: 402.1 kB / 4.125 GB, free: 24.81 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009559/9.77, allocations: 0.5531 MB / 4.126 GB, free: 24.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/9.772, allocations: 1.796 MB / 4.127 GB, free: 22.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/9.773, allocations: 0.888 MB / 4.128 GB, free: 22.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.547e-05/9.773, allocations: 13.72 kB / 4.128 GB, free: 22.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.004459/9.778, allocations: 2.583 MB / 4.131 GB, free: 21.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/9.778, allocations: 25.38 kB / 4.131 GB, free: 21.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.561e-05/9.778, allocations: 45.25 kB / 4.131 GB, free: 21.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/9.779, allocations: 439.6 kB / 4.131 GB, free: 21.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/9.781, allocations: 0.5181 MB / 4.132 GB, free: 21.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/9.782, allocations: 2.734 MB / 4.134 GB, free: 19.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/9.785, allocations: 226 kB / 4.135 GB, free: 19.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/9.785, allocations: 141.9 kB / 4.135 GB, free: 18.99 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 () * 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.000556/9.785, allocations: 305.2 kB / 4.135 GB, free: 18.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004479/9.786, allocations: 169.5 kB / 4.135 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005472/9.791, allocations: 4.798 MB / 4.14 GB, free: 16.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.924e-05/9.791, allocations: 49.94 kB / 4.14 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/9.792, allocations: 0 / 4.14 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/9.792, allocations: 3.938 kB / 4.14 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009106/9.801, allocations: 6.894 MB / 4.147 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/9.801, allocations: 3.719 kB / 4.147 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009666/9.802, allocations: 270.6 kB / 4.147 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/9.803, allocations: 438.5 kB / 4.147 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/9.803, allocations: 35.53 kB / 4.147 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/9.805, allocations: 2.769 MB / 4.15 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/9.805, allocations: 3.656 kB / 4.15 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004698/9.81, allocations: 3.901 MB / 4.154 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/9.811, allocations: 0.5532 MB / 4.155 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006866/9.812, allocations: 34.95 kB / 4.155 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/9.814, allocations: 143.5 kB / 4.155 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/9.814, allocations: 113.1 kB / 4.155 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/9.814, allocations: 48.06 kB / 4.155 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002274/9.817, allocations: 1.191 MB / 4.156 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.8e-07/9.817, allocations: 0 / 4.156 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008145/9.825, allocations: 1.496 MB / 4.157 GB, free: 7.371 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.01073/9.836, allocations: 2.062 MB / 4.159 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003948/9.84, allocations: 1.999 MB / 4.161 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/9.84, allocations: 4.688 kB / 4.161 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/9.842, allocations: 1.231 MB / 4.163 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004987/9.847, allocations: 0.8728 MB / 4.163 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006834/9.853, allocations: 3.705 MB / 4.167 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/9.855, allocations: 1.707 MB / 4.169 GB, free: 1.273 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00265/9.858, allocations: 0.9665 MB / 4.17 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/9.858, allocations: 139.1 kB / 4.17 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of SimCode: time 1.293e-06/9.858, allocations: 4 kB / 4.17 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of Templates: time 0.4817/10.34, allocations: 68.94 MB / 4.237 GB, free: 53.03 MB / 0.5573 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/jenkins/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