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.002139/0.002138, allocations: 182.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001558/0.001557, allocations: 93.94 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2876/0.2876, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.372e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 58.86 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.317/8.428, allocations: 2.765 GB / 3.238 GB, free: 80.41 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/8.429, allocations: 89.48 kB / 3.238 GB, free: 80.37 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.922/12.35, allocations: 0.8077 GB / 4.046 GB, free: 42.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.375e-06/12.35, allocations: 0 / 4.046 GB, free: 42.88 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001598/12.35, allocations: 59.14 kB / 4.046 GB, free: 42.87 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.01261/12.36, allocations: 2.96 MB / 4.049 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/12.36, allocations: 10.41 kB / 4.049 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009349/12.37, allocations: 0.8472 MB / 4.05 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00374/12.38, allocations: 1.114 MB / 4.051 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004411/12.38, allocations: 462.6 kB / 4.051 GB, free: 40.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005484/12.38, allocations: 167.9 kB / 4.051 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009613/12.39, allocations: 3.127 MB / 4.054 GB, free: 39.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.28e-05/12.39, allocations: 12.94 kB / 4.054 GB, free: 39.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003859/12.39, allocations: 89.52 kB / 4.054 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/12.39, allocations: 88.81 kB / 4.055 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008886/12.4, allocations: 2.549 MB / 4.057 GB, free: 39.76 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.02435/12.42, allocations: 15.74 MB / 4.072 GB, free: 27.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005097/12.43, allocations: 1.343 MB / 4.074 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/12.43, allocations: 435.6 kB / 4.074 GB, free: 26.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/12.43, allocations: 0.7006 MB / 4.075 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/12.43, allocations: 49.38 kB / 4.075 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=101): time 3.998e-06/12.43, allocations: 3.047 kB / 4.075 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117): time 0.01959/12.45, allocations: 4.548 MB / 4.079 GB, free: 24.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/12.45, allocations: 171 kB / 4.08 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/12.45, allocations: 1.252 MB / 4.081 GB, free: 23.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002407/12.45, allocations: 51.05 kB / 4.081 GB, free: 23.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006319/12.45, allocations: 0.9318 MB / 4.082 GB, free: 23.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004433/12.45, allocations: 411.6 kB / 4.082 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/12.45, allocations: 48.69 kB / 4.082 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001486/12.45, allocations: 399.4 kB / 4.083 GB, free: 22.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/12.45, allocations: 0.5622 MB / 4.083 GB, free: 22.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/12.46, allocations: 1.789 MB / 4.085 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0037/12.46, allocations: 0.8913 MB / 4.086 GB, free: 20.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.766e-05/12.46, allocations: 18.52 kB / 4.086 GB, free: 20.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.009698/12.47, allocations: 2.51 MB / 4.088 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/12.47, allocations: 29.12 kB / 4.088 GB, free: 19.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.542e-05/12.47, allocations: 42.34 kB / 4.088 GB, free: 19.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/12.47, allocations: 438.9 kB / 4.089 GB, free: 19.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/12.48, allocations: 0.5233 MB / 4.089 GB, free: 18.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/12.48, allocations: 2.721 MB / 4.092 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/12.48, allocations: 234.1 kB / 4.092 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004353/12.48, allocations: 136.7 kB / 4.092 GB, free: 16.55 MB / 0.5261 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 () * 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.0005943/12.48, allocations: 295.2 kB / 4.092 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004315/12.48, allocations: 171.6 kB / 4.093 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007751/12.49, allocations: 4.803 MB / 4.097 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.626e-05/12.49, allocations: 44.67 kB / 4.097 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/12.49, allocations: 6.938 kB / 4.097 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/12.49, allocations: 7.078 kB / 4.097 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/12.5, allocations: 6.9 MB / 4.104 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/12.5, allocations: 0 / 4.104 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/12.51, allocations: 276.2 kB / 4.104 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/12.51, allocations: 431 kB / 4.105 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/12.51, allocations: 34.34 kB / 4.105 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/12.51, allocations: 2.769 MB / 4.107 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/12.51, allocations: 3.281 kB / 4.107 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006649/12.52, allocations: 3.903 MB / 4.111 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/12.52, allocations: 0.5585 MB / 4.112 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004216/12.52, allocations: 24 kB / 4.112 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/12.52, allocations: 147.1 kB / 4.112 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/12.52, allocations: 119.6 kB / 4.112 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/12.52, allocations: 51.41 kB / 4.112 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002307/12.52, allocations: 1.189 MB / 4.113 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/12.52, allocations: 0 / 4.113 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007251/12.53, allocations: 1.492 MB / 4.115 GB, free: 1.535 MB / 0.5261 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 () * 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.01023/12.54, allocations: 2.081 MB / 4.117 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005572/12.55, allocations: 1.999 MB / 4.119 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/12.55, allocations: 4.625 kB / 4.119 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003159/12.55, allocations: 1.222 MB / 4.12 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007869/12.56, allocations: 0.8647 MB / 4.121 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009736/12.57, allocations: 3.775 MB / 4.125 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001849/12.57, allocations: 1.69 MB / 4.126 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007709/12.57, allocations: 159.3 kB / 4.126 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/12.57, allocations: 3.938 kB / 4.126 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of Templates: time 0.5654/13.14, allocations: 83.13 MB / 4.207 GB, free: 49.58 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