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.001225/0.001225, allocations: 202.2 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.2 MB / 245 MB, free: 7.543 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009732/0.000973, allocations: 105.4 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3066/0.3066, allocations: 45.23 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002757, allocations: 11.98 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3395, allocations: 63.24 MB / 0.5192 GB, free: 43.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.61/5.95, allocations: 2.772 GB / 3.291 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/5.95, allocations: 90.67 kB / 3.291 GB, free: 136.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.286/9.236, allocations: 0.8186 GB / 4.11 GB, free: 39.61 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.615e-06/9.236, allocations: 0.9688 kB / 4.11 GB, free: 39.61 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002864/9.236, allocations: 52.55 kB / 4.11 GB, free: 39.61 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.01464/9.251, allocations: 3.107 MB / 4.113 GB, free: 38.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/9.251, allocations: 11.91 kB / 4.113 GB, free: 38.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007143/9.258, allocations: 0.8472 MB / 4.114 GB, free: 38.19 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/9.262, allocations: 1.109 MB / 4.115 GB, free: 37.86 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/9.262, allocations: 461 kB / 4.115 GB, free: 37.54 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/9.262, allocations: 165.3 kB / 4.115 GB, free: 37.54 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006669/9.269, allocations: 3.204 MB / 4.118 GB, free: 36.78 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/9.269, allocations: 19.42 kB / 4.118 GB, free: 36.78 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/9.269, allocations: 84.19 kB / 4.118 GB, free: 36.78 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.544e-05/9.269, allocations: 84.25 kB / 4.119 GB, free: 36.77 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0065/9.276, allocations: 2.77 MB / 4.121 GB, free: 36.75 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.01775/9.294, allocations: 15.73 MB / 4.137 GB, free: 25.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/9.298, allocations: 1.448 MB / 4.138 GB, free: 25.81 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/9.299, allocations: 0.69 MB / 4.139 GB, free: 25.25 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/9.299, allocations: 52.59 kB / 4.139 GB, free: 25.21 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=101): time 3.457e-06/9.299, allocations: 0.9375 kB / 4.139 GB, free: 25.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=117): time 0.01588/9.315, allocations: 5.362 MB / 4.144 GB, free: 24.51 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/9.315, allocations: 171.5 kB / 4.144 GB, free: 24.32 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/9.317, allocations: 1.278 MB / 4.145 GB, free: 24.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/9.317, allocations: 49.11 kB / 4.145 GB, free: 24.08 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006106/9.318, allocations: 0.9413 MB / 4.146 GB, free: 23.58 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/9.318, allocations: 414.2 kB / 4.147 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.931e-05/9.318, allocations: 46.72 kB / 4.147 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001606/9.319, allocations: 400.7 kB / 4.147 GB, free: 23.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/9.32, allocations: 0.7033 MB / 4.148 GB, free: 23.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/9.322, allocations: 1.941 MB / 4.15 GB, free: 21.44 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/9.324, allocations: 1.033 MB / 4.151 GB, free: 21.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/9.324, allocations: 12.97 kB / 4.151 GB, free: 21.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005377/9.329, allocations: 2.897 MB / 4.154 GB, free: 21.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/9.329, allocations: 27.66 kB / 4.154 GB, free: 21.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.102e-05/9.329, allocations: 43.97 kB / 4.154 GB, free: 21.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/9.331, allocations: 448.1 kB / 4.154 GB, free: 21.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/9.332, allocations: 0.5222 MB / 4.155 GB, free: 21.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/9.334, allocations: 2.732 MB / 4.157 GB, free: 19.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/9.336, allocations: 231.6 kB / 4.158 GB, free: 19.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/9.336, allocations: 137.6 kB / 4.158 GB, free: 19.12 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.0008961/9.337, allocations: 0.5397 MB / 4.158 GB, free: 18.98 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/9.337, allocations: 172.3 kB / 4.158 GB, free: 18.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005961/9.343, allocations: 5.083 MB / 4.163 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/9.343, allocations: 48.47 kB / 4.163 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/9.343, allocations: 0 / 4.163 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/9.343, allocations: 6.891 kB / 4.163 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008841/9.352, allocations: 7.175 MB / 4.17 GB, free: 17.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/9.352, allocations: 3.312 kB / 4.17 GB, free: 17.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008709/9.353, allocations: 280.4 kB / 4.171 GB, free: 17.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/9.354, allocations: 444.4 kB / 4.171 GB, free: 17.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/9.354, allocations: 31.62 kB / 4.171 GB, free: 17.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/9.356, allocations: 2.768 MB / 4.174 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/9.356, allocations: 6.719 kB / 4.174 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/9.362, allocations: 4.336 MB / 4.178 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/9.363, allocations: 0.5585 MB / 4.179 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/9.363, allocations: 26.97 kB / 4.179 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/9.364, allocations: 141.5 kB / 4.179 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/9.365, allocations: 110 kB / 4.179 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.533e-05/9.365, allocations: 49.81 kB / 4.179 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001729/9.366, allocations: 1.223 MB / 4.18 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/9.366, allocations: 0 / 4.18 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007442/9.374, allocations: 1.506 MB / 4.182 GB, free: 14.19 MB / 0.5573 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.006893/9.381, allocations: 2.079 MB / 4.184 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004464/9.385, allocations: 2.283 MB / 4.186 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/9.385, allocations: 1.656 kB / 4.186 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002077/9.387, allocations: 1.378 MB / 4.187 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/9.392, allocations: 0.8617 MB / 4.188 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007375/9.399, allocations: 5.616 MB / 4.194 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/9.4, allocations: 1.7 MB / 4.195 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002247/9.403, allocations: 0.9642 MB / 4.196 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/9.403, allocations: 135.8 kB / 4.196 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.502e-06/9.403, allocations: 0 / 4.196 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.1021/9.505, allocations: 65.8 MB / 4.261 GB, free: 15.21 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/jenkins/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