Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002093/0.002093, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 84.33 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2917/0.2917, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/2.001e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3951, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.008/8.404, allocations: 2.765 GB / 3.231 GB, free: 24.36 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/8.404, allocations: 86.52 kB / 3.231 GB, free: 24.32 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 4.081/12.48, allocations: 0.7998 GB / 4.03 GB, free: 10.95 MB / 0.5265 GB Notification: Performance of FrontEnd: time 1.813e-06/12.48, allocations: 0 / 4.03 GB, free: 10.95 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0001475/12.48, allocations: 55.77 kB / 4.031 GB, free: 10.89 MB / 0.5265 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.01284/12.5, allocations: 2.968 MB / 4.033 GB, free: 7.883 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/12.5, allocations: 12.02 kB / 4.033 GB, free: 7.871 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009716/12.51, allocations: 0.844 MB / 4.034 GB, free: 7.027 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/12.51, allocations: 1.114 MB / 4.035 GB, free: 5.891 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004962/12.51, allocations: 396.4 kB / 4.036 GB, free: 5.441 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004089/12.51, allocations: 103.9 kB / 4.036 GB, free: 5.34 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005297/12.52, allocations: 1.861 MB / 4.038 GB, free: 3.477 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005601/12.52, allocations: 2.373 MB / 4.04 GB, free: 0.8281 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.236e-05/12.52, allocations: 15.83 kB / 4.04 GB, free: 0.8125 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/12.52, allocations: 12 kB / 4.04 GB, free: 0.8008 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/12.52, allocations: 86.7 kB / 4.04 GB, free: 0.7148 MB / 0.5265 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.4271/12.95, allocations: 16.14 MB / 4.056 GB, free: 31.17 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/12.95, allocations: 0.7176 MB / 4.057 GB, free: 31.14 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000903/12.95, allocations: 389.6 kB / 4.057 GB, free: 31.13 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/12.96, allocations: 0.6859 MB / 4.058 GB, free: 30.57 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/12.96, allocations: 50.83 kB / 4.058 GB, free: 30.53 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=95): time 3.196e-06/12.96, allocations: 0 / 4.058 GB, free: 30.53 MB / 0.5265 GB Notification: Performance of matching and sorting (n=111): time 0.01555/12.97, allocations: 3.473 MB / 4.061 GB, free: 29.92 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/12.97, allocations: 167.1 kB / 4.061 GB, free: 29.73 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/12.97, allocations: 0.9853 MB / 4.062 GB, free: 29.56 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0002217/12.97, allocations: 28.36 kB / 4.062 GB, free: 29.53 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007551/12.97, allocations: 0.9863 MB / 4.063 GB, free: 29 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/12.97, allocations: 387 kB / 4.064 GB, free: 28.82 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/12.97, allocations: 0 / 4.064 GB, free: 28.82 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001751/12.97, allocations: 402.7 kB / 4.064 GB, free: 28.5 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/12.98, allocations: 0.5096 MB / 4.064 GB, free: 28.5 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/12.98, allocations: 1.733 MB / 4.066 GB, free: 26.93 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/12.98, allocations: 0.8733 MB / 4.067 GB, free: 26.91 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.27e-05/12.98, allocations: 18.8 kB / 4.067 GB, free: 26.91 MB / 0.5265 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.007064/12.99, allocations: 2.244 MB / 4.069 GB, free: 26.78 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/12.99, allocations: 23.09 kB / 4.069 GB, free: 26.78 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.564e-05/12.99, allocations: 42.8 kB / 4.069 GB, free: 26.78 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/12.99, allocations: 425 kB / 4.07 GB, free: 26.75 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/12.99, allocations: 0.5265 MB / 4.07 GB, free: 26.75 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/13, allocations: 2.797 MB / 4.073 GB, free: 24.66 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/13, allocations: 199.9 kB / 4.073 GB, free: 24.65 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003201/13, allocations: 139.4 kB / 4.073 GB, free: 24.65 MB / 0.5265 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.0006316/13, allocations: 233.7 kB / 4.073 GB, free: 24.52 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/13, allocations: 143.4 kB / 4.074 GB, free: 24.45 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007953/13.01, allocations: 4.209 MB / 4.078 GB, free: 23.95 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.882e-05/13.01, allocations: 39.28 kB / 4.078 GB, free: 23.95 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/13.01, allocations: 3.969 kB / 4.078 GB, free: 23.95 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/13.01, allocations: 7.359 kB / 4.078 GB, free: 23.95 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/13.02, allocations: 6.133 MB / 4.084 GB, free: 23.32 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/13.02, allocations: 3.594 kB / 4.084 GB, free: 23.32 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/13.02, allocations: 233.2 kB / 4.084 GB, free: 23.32 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/13.02, allocations: 421.2 kB / 4.084 GB, free: 23.28 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-05/13.02, allocations: 8.188 kB / 4.084 GB, free: 23.28 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/13.03, allocations: 2.892 MB / 4.087 GB, free: 21.19 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/13.03, allocations: 7.344 kB / 4.087 GB, free: 21.19 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006173/13.03, allocations: 3.615 MB / 4.091 GB, free: 20.37 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/13.03, allocations: 0.5138 MB / 4.091 GB, free: 20.12 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/13.03, allocations: 9.969 kB / 4.091 GB, free: 20.12 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/13.04, allocations: 126.7 kB / 4.091 GB, free: 20.11 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/13.04, allocations: 106.5 kB / 4.091 GB, free: 20.11 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/13.04, allocations: 46.02 kB / 4.091 GB, free: 20.11 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.001638/13.04, allocations: 0.9409 MB / 4.092 GB, free: 19.99 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.71e-07/13.04, allocations: 0 / 4.092 GB, free: 19.99 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.007651/13.05, allocations: 1.398 MB / 4.094 GB, free: 19.94 MB / 0.5265 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.009235/13.06, allocations: 2.231 MB / 4.096 GB, free: 19.68 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.004626/13.06, allocations: 1.832 MB / 4.098 GB, free: 19.64 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/13.06, allocations: 5.688 kB / 4.098 GB, free: 19.64 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.002527/13.06, allocations: 1.116 MB / 4.099 GB, free: 19.64 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004845/13.07, allocations: 0.5802 MB / 4.099 GB, free: 19.62 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007249/13.07, allocations: 3.525 MB / 4.103 GB, free: 18.73 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/13.08, allocations: 1.648 MB / 4.104 GB, free: 18 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006225/13.08, allocations: 140 kB / 4.105 GB, free: 17.99 MB / 0.5265 GB Notification: Performance of SimCode: time 9.42e-07/13.08, allocations: 0 / 4.105 GB, free: 17.99 MB / 0.5265 GB Notification: Performance of Templates: time 0.126/13.2, allocations: 79.42 MB / 4.182 GB, free: 14.38 MB / 0.5265 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches