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.002162/0.002161, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 89.73 kB / 270.9 MB, free: 8.367 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.5117/0.5117, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004833, allocations: 12 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1268, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.296/8.423, allocations: 2.765 GB / 3.244 GB, free: 47.08 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/8.424, allocations: 87.73 kB / 3.244 GB, free: 47.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.128/12.55, allocations: 0.81 GB / 4.054 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.595e-06/12.55, allocations: 0 / 4.054 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001516/12.55, allocations: 50.45 kB / 4.054 GB, free: 31.7 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.01386/12.57, allocations: 3.098 MB / 4.057 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/12.57, allocations: 13.03 kB / 4.057 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009977/12.58, allocations: 0.8374 MB / 4.058 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003842/12.58, allocations: 1.117 MB / 4.059 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004711/12.58, allocations: 459.1 kB / 4.06 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006228/12.58, allocations: 171.4 kB / 4.06 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/12.59, allocations: 3.189 MB / 4.063 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.813e-05/12.59, allocations: 19.16 kB / 4.063 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003977/12.59, allocations: 85.83 kB / 4.063 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/12.59, allocations: 82.39 kB / 4.063 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/12.6, allocations: 2.773 MB / 4.066 GB, free: 26.02 MB / 0.5261 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.02457/12.63, allocations: 15.74 MB / 4.081 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006808/12.64, allocations: 1.448 MB / 4.083 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/12.64, allocations: 0.6866 MB / 4.083 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/12.64, allocations: 51.56 kB / 4.083 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=101): time 3.286e-06/12.64, allocations: 0 / 4.083 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117): time 0.02809/12.67, allocations: 5.381 MB / 4.089 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/12.67, allocations: 167.2 kB / 4.089 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/12.67, allocations: 1.276 MB / 4.09 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003291/12.67, allocations: 53.69 kB / 4.09 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000633/12.67, allocations: 0.9189 MB / 4.091 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/12.67, allocations: 425.9 kB / 4.091 GB, free: 180 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/12.67, allocations: 44 kB / 4.091 GB, free: 136 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002599/12.67, allocations: 399.4 kB / 4.092 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003184/12.67, allocations: 0.7032 MB / 4.092 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004469/12.68, allocations: 1.938 MB / 4.094 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00402/12.68, allocations: 1.033 MB / 4.095 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.565e-05/12.68, allocations: 12 kB / 4.095 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01087/12.69, allocations: 2.819 MB / 4.098 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.331e-05/12.69, allocations: 27.94 kB / 4.098 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.495e-05/12.69, allocations: 44 kB / 4.098 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/12.7, allocations: 446.3 kB / 4.099 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/12.7, allocations: 0.5186 MB / 4.099 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/12.7, allocations: 2.734 MB / 4.102 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003583/12.71, allocations: 239.7 kB / 4.102 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004207/12.71, allocations: 140 kB / 4.102 GB, free: 4.359 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 () * 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.001482/12.71, allocations: 0.5385 MB / 4.103 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004941/12.71, allocations: 170 kB / 4.103 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4376/13.15, allocations: 5.074 MB / 4.108 GB, free: 51.58 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-05/13.15, allocations: 49.41 kB / 4.108 GB, free: 51.58 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/13.15, allocations: 3.281 kB / 4.108 GB, free: 51.58 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.631e-05/13.15, allocations: 6.875 kB / 4.108 GB, free: 51.58 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/13.16, allocations: 7.172 MB / 4.115 GB, free: 51.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/13.16, allocations: 3.406 kB / 4.115 GB, free: 51.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/13.17, allocations: 279.9 kB / 4.115 GB, free: 51.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/13.17, allocations: 438.3 kB / 4.116 GB, free: 51.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/13.17, allocations: 27.66 kB / 4.116 GB, free: 51.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002754/13.17, allocations: 2.783 MB / 4.118 GB, free: 48.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/13.17, allocations: 2.969 kB / 4.118 GB, free: 48.95 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/13.18, allocations: 4.336 MB / 4.123 GB, free: 48.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/13.18, allocations: 0.558 MB / 4.123 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/13.18, allocations: 29.75 kB / 4.123 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/13.19, allocations: 146.7 kB / 4.123 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003734/13.19, allocations: 115.9 kB / 4.123 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/13.19, allocations: 47.47 kB / 4.123 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00253/13.19, allocations: 1.216 MB / 4.125 GB, free: 48.06 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.91e-07/13.19, allocations: 0 / 4.125 GB, free: 48.06 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008075/13.2, allocations: 1.497 MB / 4.126 GB, free: 48.06 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 () * 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.01123/13.21, allocations: 2.06 MB / 4.128 GB, free: 47.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007471/13.22, allocations: 2.284 MB / 4.13 GB, free: 47.85 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/13.22, allocations: 0.625 kB / 4.13 GB, free: 47.85 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004053/13.22, allocations: 1.365 MB / 4.132 GB, free: 47.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007824/13.23, allocations: 0.8684 MB / 4.132 GB, free: 47.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/13.24, allocations: 5.673 MB / 4.138 GB, free: 45.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/13.24, allocations: 1.688 MB / 4.14 GB, free: 44.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007519/13.24, allocations: 155.5 kB / 4.14 GB, free: 44.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.392e-06/13.24, allocations: 0 / 4.14 GB, free: 44.77 MB / 0.5417 GB Notification: Performance of Templates: time 0.151/13.39, allocations: 83.38 MB / 4.221 GB, free: 41.05 MB / 0.5417 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