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.0009992/0.0009995, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.365/1.365, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007583/0.0007583, allocations: 92.3 kB / 271.9 MB, free: 8.258 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.3333/0.3333, allocations: 43.56 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003492, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1117, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.971/5.083, allocations: 2.766 GB / 3.246 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/5.083, allocations: 85.95 kB / 3.246 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.676/7.759, allocations: 0.7647 GB / 4.011 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/7.759, allocations: 0 / 4.011 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001107/7.759, allocations: 49.2 kB / 4.011 GB, free: 39.51 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.01075/7.77, allocations: 3.083 MB / 4.014 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/7.77, allocations: 6.906 kB / 4.014 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006738/7.776, allocations: 0.8476 MB / 4.014 GB, free: 37.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/7.779, allocations: 1.137 MB / 4.016 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/7.78, allocations: 465.7 kB / 4.016 GB, free: 37.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/7.78, allocations: 171.1 kB / 4.016 GB, free: 37.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006755/7.787, allocations: 3.209 MB / 4.019 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-05/7.787, allocations: 22 kB / 4.019 GB, free: 36.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/7.787, allocations: 79.47 kB / 4.019 GB, free: 36.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.848e-05/7.787, allocations: 80.48 kB / 4.019 GB, free: 36.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00621/7.793, allocations: 2.777 MB / 4.022 GB, free: 36.51 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.01583/7.809, allocations: 15.75 MB / 4.038 GB, free: 25.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/7.813, allocations: 1.446 MB / 4.039 GB, free: 25.56 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/7.815, allocations: 0.5651 MB / 4.039 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000898/7.815, allocations: 0.6911 MB / 4.04 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/7.815, allocations: 49.56 kB / 4.04 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=101): time 3.056e-06/7.815, allocations: 0 / 4.04 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117): time 0.01704/7.833, allocations: 5.373 MB / 4.045 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/7.833, allocations: 175.8 kB / 4.046 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/7.835, allocations: 1.446 MB / 4.047 GB, free: 23.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/7.836, allocations: 49.17 kB / 4.047 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006987/7.836, allocations: 0.9328 MB / 4.048 GB, free: 23.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/7.837, allocations: 419.7 kB / 4.048 GB, free: 23.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/7.837, allocations: 46.28 kB / 4.048 GB, free: 23.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001513/7.837, allocations: 397.3 kB / 4.049 GB, free: 22.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/7.839, allocations: 0.7059 MB / 4.05 GB, free: 22.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/7.841, allocations: 1.949 MB / 4.051 GB, free: 21.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/7.845, allocations: 2.838 MB / 4.054 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-05/7.845, allocations: 14.94 kB / 4.054 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005563/7.85, allocations: 2.887 MB / 4.057 GB, free: 19.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/7.85, allocations: 22.75 kB / 4.057 GB, free: 19.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.099e-05/7.85, allocations: 46.02 kB / 4.057 GB, free: 19.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/7.852, allocations: 433.8 kB / 4.057 GB, free: 19.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/7.853, allocations: 0.5235 MB / 4.058 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/7.855, allocations: 2.742 MB / 4.061 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/7.857, allocations: 233.2 kB / 4.061 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/7.857, allocations: 139 kB / 4.061 GB, free: 17.04 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 () * 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.0009476/7.858, allocations: 0.5422 MB / 4.062 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/7.858, allocations: 174.4 kB / 4.062 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006019/7.864, allocations: 5.078 MB / 4.067 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.685e-05/7.864, allocations: 50.78 kB / 4.067 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/7.864, allocations: 3.5 kB / 4.067 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/7.864, allocations: 5.203 kB / 4.067 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009272/7.874, allocations: 7.171 MB / 4.074 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/7.874, allocations: 3.375 kB / 4.074 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008766/7.875, allocations: 276 kB / 4.074 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/7.876, allocations: 441.3 kB / 4.074 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.222e-05/7.876, allocations: 33.88 kB / 4.074 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/7.878, allocations: 2.784 MB / 4.077 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/7.878, allocations: 7.531 kB / 4.077 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00624/7.884, allocations: 4.158 MB / 4.081 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/7.885, allocations: 0.5574 MB / 4.082 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/7.885, allocations: 29.25 kB / 4.082 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/7.887, allocations: 140.4 kB / 4.082 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/7.887, allocations: 112.7 kB / 4.082 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/7.887, allocations: 50.7 kB / 4.082 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001618/7.889, allocations: 1.213 MB / 4.083 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/7.889, allocations: 0 / 4.083 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00695/7.895, allocations: 1.495 MB / 4.085 GB, free: 11.55 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 () * 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.008423/7.904, allocations: 2.068 MB / 4.087 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004645/7.909, allocations: 2.292 MB / 4.089 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/7.909, allocations: 7.094 kB / 4.089 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/7.911, allocations: 1.354 MB / 4.09 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00502/7.916, allocations: 0.8869 MB / 4.091 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007386/7.923, allocations: 5.692 MB / 4.097 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009785/7.924, allocations: 1.647 MB / 4.098 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/7.925, allocations: 152.7 kB / 4.099 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/7.925, allocations: 0 / 4.099 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of Templates: time 0.4417/8.366, allocations: 83.43 MB / 4.18 GB, free: 51.48 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