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.001024/0.001024, allocations: 196.2 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007696/0.0007696, allocations: 98.58 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1842/0.1842, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.246e-05/1.25e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09248, allocations: 63.24 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.417/6.509, allocations: 2.771 GB / 3.275 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/6.51, allocations: 83.06 kB / 3.276 GB, free: 142 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.247/9.756, allocations: 0.8085 GB / 4.084 GB, free: 48.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.424e-06/9.757, allocations: 0 / 4.084 GB, free: 48.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001763/9.757, allocations: 52.56 kB / 4.084 GB, free: 48.27 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.0117/9.768, allocations: 2.976 MB / 4.087 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/9.768, allocations: 11.88 kB / 4.087 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007076/9.776, allocations: 0.8483 MB / 4.088 GB, free: 46.95 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/9.779, allocations: 1.104 MB / 4.089 GB, free: 46.62 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005023/9.78, allocations: 400.6 kB / 4.089 GB, free: 46.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007787/9.78, allocations: 101.2 kB / 4.089 GB, free: 46.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004231/9.785, allocations: 1.86 MB / 4.091 GB, free: 46.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004816/9.789, allocations: 2.382 MB / 4.093 GB, free: 45.54 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.826e-05/9.79, allocations: 11.88 kB / 4.093 GB, free: 45.54 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003549/9.79, allocations: 20.89 kB / 4.094 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/9.79, allocations: 86.38 kB / 4.094 GB, free: 45.53 MB / 0.5573 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.01543/9.805, allocations: 16.14 MB / 4.109 GB, free: 33.96 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/9.807, allocations: 0.7141 MB / 4.11 GB, free: 33.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/9.807, allocations: 385.8 kB / 4.11 GB, free: 33.92 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008758/9.808, allocations: 0.7032 MB / 4.111 GB, free: 33.35 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/9.808, allocations: 42.41 kB / 4.111 GB, free: 33.31 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=95): time 2.224e-06/9.808, allocations: 3.25 kB / 4.111 GB, free: 33.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=111): time 0.01024/9.818, allocations: 3.473 MB / 4.115 GB, free: 32.63 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/9.818, allocations: 168.4 kB / 4.115 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/9.82, allocations: 0.9869 MB / 4.116 GB, free: 32.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/9.82, allocations: 27.14 kB / 4.116 GB, free: 32.22 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/9.82, allocations: 0.9718 MB / 4.117 GB, free: 31.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/9.821, allocations: 387.5 kB / 4.117 GB, free: 31.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/9.821, allocations: 0 / 4.117 GB, free: 31.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001583/9.821, allocations: 453.2 kB / 4.117 GB, free: 31.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/9.822, allocations: 0.5077 MB / 4.118 GB, free: 31.08 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/9.823, allocations: 1.74 MB / 4.12 GB, free: 29.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/9.824, allocations: 0.8888 MB / 4.121 GB, free: 29.49 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/9.824, allocations: 10.88 kB / 4.121 GB, free: 29.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.003846/9.828, allocations: 2.285 MB / 4.123 GB, free: 29.33 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/9.828, allocations: 22.94 kB / 4.123 GB, free: 29.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/9.828, allocations: 43.75 kB / 4.123 GB, free: 29.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000991/9.829, allocations: 425.2 kB / 4.123 GB, free: 29.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/9.831, allocations: 0.5244 MB / 4.124 GB, free: 29.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/9.833, allocations: 2.791 MB / 4.126 GB, free: 27.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/9.835, allocations: 196 kB / 4.127 GB, free: 27.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/9.835, allocations: 139.2 kB / 4.127 GB, free: 27.2 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (source2.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],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,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 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003992/9.835, allocations: 237.8 kB / 4.127 GB, free: 27.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/9.836, allocations: 144 kB / 4.127 GB, free: 27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004401/9.84, allocations: 4.208 MB / 4.131 GB, free: 26.49 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/9.84, allocations: 42.25 kB / 4.131 GB, free: 26.49 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/9.84, allocations: 0 / 4.131 GB, free: 26.49 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/9.84, allocations: 7.172 kB / 4.131 GB, free: 26.49 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006995/9.847, allocations: 6.126 MB / 4.137 GB, free: 25.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/9.847, allocations: 7.25 kB / 4.137 GB, free: 25.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/9.848, allocations: 231.6 kB / 4.138 GB, free: 25.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000925/9.849, allocations: 416 kB / 4.138 GB, free: 25.83 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/9.849, allocations: 11.42 kB / 4.138 GB, free: 25.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/9.851, allocations: 2.89 MB / 4.141 GB, free: 23.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/9.851, allocations: 6.312 kB / 4.141 GB, free: 23.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/9.854, allocations: 3.612 MB / 4.144 GB, free: 22.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008634/9.855, allocations: 0.5184 MB / 4.145 GB, free: 22.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/9.856, allocations: 8.938 kB / 4.145 GB, free: 22.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/9.857, allocations: 125.1 kB / 4.145 GB, free: 22.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/9.857, allocations: 111.3 kB / 4.145 GB, free: 22.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/9.857, allocations: 46.75 kB / 4.145 GB, free: 22.65 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001214/9.858, allocations: 0.9443 MB / 4.146 GB, free: 22.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/9.858, allocations: 0 / 4.146 GB, free: 22.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008772/9.867, allocations: 1.404 MB / 4.147 GB, free: 22.36 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.009288/9.876, allocations: 2.259 MB / 4.15 GB, free: 21.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003376/9.88, allocations: 1.838 MB / 4.151 GB, free: 21.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/9.88, allocations: 0.625 kB / 4.151 GB, free: 21.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/9.881, allocations: 1.118 MB / 4.152 GB, free: 21.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/9.885, allocations: 0.5735 MB / 4.153 GB, free: 21.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00522/9.89, allocations: 3.458 MB / 4.156 GB, free: 21.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009721/9.891, allocations: 1.662 MB / 4.158 GB, free: 20.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002115/9.893, allocations: 1.037 MB / 4.159 GB, free: 20.28 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/9.893, allocations: 133.1 kB / 4.159 GB, free: 20.27 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/9.893, allocations: 0 / 4.159 GB, free: 20.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.07079/9.964, allocations: 50.59 MB / 4.209 GB, free: 17.18 MB / 0.5573 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