Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009152/0.0009154, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.3 MB / 213.7 MB, free: 1.684 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008351/0.0008352, allocations: 94.27 kB / 261.7 MB, free: 1.621 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1913/0.1913, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.432e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 58.84 MB / 477.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.826/6.946, allocations: 2.765 GB / 3.231 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/6.946, allocations: 89.92 kB / 3.231 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.975/9.921, allocations: 0.7998 GB / 4.031 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/9.921, allocations: 0 / 4.031 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000166/9.921, allocations: 49.52 kB / 4.031 GB, free: 47.46 MB / 0.5261 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.01077/9.932, allocations: 2.967 MB / 4.033 GB, free: 46.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/9.932, allocations: 14.92 kB / 4.033 GB, free: 46.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006752/9.939, allocations: 0.8484 MB / 4.034 GB, free: 46.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/9.942, allocations: 1.104 MB / 4.035 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003753/9.942, allocations: 409.3 kB / 4.036 GB, free: 45.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005796/9.943, allocations: 99.69 kB / 4.036 GB, free: 45.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003517/9.946, allocations: 1.861 MB / 4.038 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004305/9.95, allocations: 2.375 MB / 4.04 GB, free: 44.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.211e-05/9.951, allocations: 18.16 kB / 4.04 GB, free: 44.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000357/9.951, allocations: 19.42 kB / 4.04 GB, free: 44.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/9.951, allocations: 72.48 kB / 4.04 GB, free: 44.73 MB / 0.5261 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.01601/9.967, allocations: 16.14 MB / 4.056 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/9.968, allocations: 0.7267 MB / 4.057 GB, free: 33.13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/9.969, allocations: 392.1 kB / 4.057 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009975/9.97, allocations: 0.6834 MB / 4.058 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/9.97, allocations: 52.84 kB / 4.058 GB, free: 32.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 2.715e-06/9.97, allocations: 0 / 4.058 GB, free: 32.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=111): time 0.009609/9.98, allocations: 3.476 MB / 4.061 GB, free: 31.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/9.98, allocations: 166.7 kB / 4.061 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/9.981, allocations: 0.988 MB / 4.062 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/9.981, allocations: 27.39 kB / 4.062 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005505/9.982, allocations: 0.9733 MB / 4.063 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/9.982, allocations: 386.8 kB / 4.064 GB, free: 30.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/9.982, allocations: 3.938 kB / 4.064 GB, free: 30.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001638/9.982, allocations: 448.9 kB / 4.064 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/9.983, allocations: 0.5127 MB / 4.064 GB, free: 30.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/9.984, allocations: 1.736 MB / 4.066 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/9.986, allocations: 0.8748 MB / 4.067 GB, free: 28.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-05/9.986, allocations: 10.16 kB / 4.067 GB, free: 28.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.004129/9.99, allocations: 2.29 MB / 4.069 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/9.99, allocations: 27.88 kB / 4.069 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.166e-05/9.99, allocations: 40.47 kB / 4.069 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009948/9.991, allocations: 418.6 kB / 4.07 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/9.993, allocations: 0.5278 MB / 4.07 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/9.995, allocations: 2.796 MB / 4.073 GB, free: 26.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/9.997, allocations: 189.7 kB / 4.073 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/9.997, allocations: 142.4 kB / 4.073 GB, free: 26.4 MB / 0.5261 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.0004625/9.998, allocations: 237 kB / 4.074 GB, free: 26.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/9.998, allocations: 148.1 kB / 4.074 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/10, allocations: 4.205 MB / 4.078 GB, free: 25.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/10, allocations: 37.88 kB / 4.078 GB, free: 25.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/10, allocations: 0 / 4.078 GB, free: 25.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/10, allocations: 7.031 kB / 4.078 GB, free: 25.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007466/10.01, allocations: 6.14 MB / 4.084 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/10.01, allocations: 3.625 kB / 4.084 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007997/10.01, allocations: 236.6 kB / 4.084 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000993/10.01, allocations: 415.8 kB / 4.084 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.32e-05/10.01, allocations: 12.97 kB / 4.084 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/10.01, allocations: 2.892 MB / 4.087 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/10.01, allocations: 5.562 kB / 4.087 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005454/10.02, allocations: 3.617 MB / 4.091 GB, free: 22.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/10.02, allocations: 0.5101 MB / 4.091 GB, free: 21.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008163/10.02, allocations: 14.33 kB / 4.091 GB, free: 21.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/10.02, allocations: 115 kB / 4.091 GB, free: 21.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/10.02, allocations: 110.7 kB / 4.092 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/10.02, allocations: 48.62 kB / 4.092 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002099/10.03, allocations: 0.9411 MB / 4.092 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/10.03, allocations: 1.594 kB / 4.092 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009008/10.04, allocations: 1.398 MB / 4.094 GB, free: 21.56 MB / 0.5261 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.01013/10.05, allocations: 2.249 MB / 4.096 GB, free: 21.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003545/10.05, allocations: 1.837 MB / 4.098 GB, free: 21.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/10.05, allocations: 0.625 kB / 4.098 GB, free: 21.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/10.05, allocations: 1.121 MB / 4.099 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/10.05, allocations: 0.5785 MB / 4.1 GB, free: 21.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/10.06, allocations: 3.454 MB / 4.103 GB, free: 20.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/10.06, allocations: 1.657 MB / 4.105 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002313/10.06, allocations: 1.042 MB / 4.106 GB, free: 19.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/10.06, allocations: 124.4 kB / 4.106 GB, free: 19.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/10.06, allocations: 0 / 4.106 GB, free: 19.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.07322/10.14, allocations: 50.51 MB / 4.155 GB, free: 16.18 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches